Advertisement
vipulraheja

ossimImageWriter.i

Jul 8th, 2011
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.92 KB | None | 0 0
  1. /*-----------------------------------------------------------------------------
  2.  * Filename        : ossimImageWriter.i
  3.  * Author          : Vipul Raheja
  4.  * License         : See top level LICENSE.txt file.
  5.  * Description     : Contains SWIG-Python of class ossimImageWriter
  6.  * -----------------------------------------------------------------------------*/
  7.  
  8. %module pyossim
  9.  
  10. %{
  11.  
  12. #include <ossim/base/ossimConstants.h>
  13. #include <ossim/base/ossimOutputSource.h>
  14. #include <ossim/base/ossimCommon.h>
  15. #include <ossim/base/ossimIrect.h>
  16.  
  17. #include <ossim/imaging/ossimImageSourceSequencer.h>
  18. #include <ossim/imaging/ossimImageWriter.h>
  19. #include <ossim/base/ossimOutputSource.h>
  20.  
  21. %}
  22.  
  23. %import "ossim/base/ossimConstants.h"
  24.  
  25. /* Wrapping class ossimImageWriter */
  26. class ossimImageWriter : public ossimOutputSource
  27. {
  28.         public:
  29.                 ossimImageWriter(ossimObject* owner=NULL);
  30.  
  31.                 ossimImageWriter(ossimObject* owner,
  32.                                 ossim_uint32 numberOfInputs,
  33.                                 ossim_uint32 numberOfOutputs,
  34.                                 bool inputListIsFixed,
  35.                                 bool outputListIsFixed);
  36.  
  37.                 virtual ~ossimImageWriter();
  38.  
  39.                 virtual bool setViewingRect(const ossimIrect &aRect);
  40.  
  41.                 virtual ossimIrect getAreaOfInterest() const;
  42.  
  43.                 virtual void setAreaOfInterest(const ossimIrect& inputAreaOfInterest);
  44.  
  45.                 virtual bool saveState(ossimKeywordlist& kwl,
  46.                                 const char* prefix=0)const;
  47.                 virtual bool loadState(const ossimKeywordlist& kwl,
  48.                                 const char* prefix=0);
  49.  
  50.         protected:
  51.  
  52.                 ossimIrect theAreaOfInterest;
  53.  
  54.                 /* Ignored due to unclean parsing of MACROS     */                
  55.                 /* TYPE_DATA                                    */
  56. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement