OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimRectangleCutFilter.h
Go to the documentation of this file.
1 //*******************************************************************
2 // Copyright (C) 2000 ImageLinks Inc.
3 //
4 // License: MIT
5 //
6 // See LICENSE.txt file in the top level directory for more details.
7 //
8 // Author: Garrett Potts
9 //
10 //*************************************************************************
11 // $Id: ossimRectangleCutFilter.h 9094 2006-06-13 19:12:40Z dburken $
12 #ifndef ossimRectangleCutFilter_HEADER
13 #define ossimRectangleCutFilter_HEADER
15 
17 {
18 public:
20  {
21  OSSIM_RECTANGLE_NULL_INSIDE = 0,
22  OSSIM_RECTANGLE_NULL_OUTSIDE = 1
23  };
24 
26  ossimImageSource* inputSource=NULL);
27  ossimRectangleCutFilter(ossimImageSource* inputSource=NULL);
28 
29  void setRectangle(const ossimIrect& rect);
30 
31  const ossimIrect& getRectangle()const;
32  ossimRectangleCutType getCutType()const;
33  void setCutType(ossimRectangleCutType cutType);
34 
35  ossimIrect getBoundingRect(ossim_uint32 resLevel=0)const;
36  virtual void getValidImageVertices(vector<ossimIpt>& validVertices,
38  ossim_uint32 resLevel=0)const;
39 
41  ossim_uint32 resLevel=0);
42 
43  virtual void initialize();
44 
45  virtual bool saveState(ossimKeywordlist& kwl,
46  const char* prefix=NULL)const;
47  virtual bool loadState(const ossimKeywordlist& kwl,
48  const char* prefix=NULL);
49 
50 protected:
53  vector<ossimDpt> theDecimationList;
55 };
56 
57 #endif /* #ifndef ossimRectangleCutFilter_HEADER */
ossimRectangleCutType theCutType
vector< ossimDpt > theDecimationList
virtual ossimIrect getBoundingRect(ossim_uint32 resLevel=0) const
This will return the bounding rect of the source.
Represents serializable keyword/value map.
ossimVertexOrdering
#define TYPE_DATA
Definition: ossimRtti.h:339
virtual void getValidImageVertices(std::vector< ossimIpt > &validVertices, ossimVertexOrdering ordering=OSSIM_CLOCKWISE_ORDER, ossim_uint32 resLevel=0) const
ordering specifies how the vertices should be arranged.
unsigned int ossim_uint32
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
#define OSSIM_DLL
virtual ossimRefPtr< ossimImageData > getTile(const ossimIpt &origin, ossim_uint32 resLevel=0)