OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimImageRectangleEvent.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: Garrett Potts
6 //
7 //*************************************************************************
8 // $Id: ossimImageRectangleEvent.h 9968 2006-11-29 14:01:53Z gpotts $
9 #ifndef ossimImageRectangleEvent_HEADER
10 #define ossimImageRectangleEvent_HEADER
11 #include <ossim/base/ossimEvent.h>
13 #include <ossim/base/ossimIrect.h>
14 
16 {
17 public:
19  ossimObject* obj=NULL)
21  theRectangle(rect)
22  {
23  }
24  virtual ossimObject* dup()const
25  {
26  return new ossimImageRectangleEvent(*this);
27  }
28 
29  const ossimIrect& getRectangle()const
30  {
31  return theRectangle;
32  }
33  void setRectangle(const ossimIrect& rect)
34  {
35  theRectangle = rect;
36  }
37 
38 protected:
40 
41 };
42 
43 #endif
#define OSSIMDLLEXPORT
ossimImageRectangleEvent(const ossimIrect &rect, ossimObject *obj=NULL)
virtual ossimObject * dup() const
void setRectangle(const ossimIrect &rect)
#define OSSIM_EVENT_AOI_RECTANGLE_ID
Definition: ossimEventIds.h:35
const ossimIrect & getRectangle() const