OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | Protected Attributes | List of all members
ossimImageRectangleEvent Class Reference

#include <ossimImageRectangleEvent.h>

Inheritance diagram for ossimImageRectangleEvent:
ossimEvent ossimObject ossimReferenced

Public Member Functions

 ossimImageRectangleEvent (const ossimIrect &rect, ossimObject *obj=NULL)
 
virtual ossimObjectdup () const
 
const ossimIrectgetRectangle () const
 
void setRectangle (const ossimIrect &rect)
 
- Public Member Functions inherited from ossimEvent
 ossimEvent (ossimObject *object=NULL, long id=OSSIM_EVENT_NULL_ID)
 
 ossimEvent (const ossimEvent &rhs)
 
long getId () const
 
void setId (long id)
 
bool isConsumed () const
 
void setConsumedFlag (bool flag=true)
 
void consume ()
 
const ossimObjectgetObject () const
 This is the originating object that originally produced the event. More...
 
ossimObjectgetObject ()
 
const ossimObjectgetCurrentObject () const
 
ossimObjectgetCurrentObject ()
 
void setObject (ossimObject *object)
 
void setCurrentObject (ossimObject *object)
 
void setPropagationType (PropagationType type)
 
bool isPropagatingToOutputs () const
 
bool isPropagatingToInputs () const
 
- Public Member Functions inherited from ossimObject
 ossimObject ()
 
virtual ~ossimObject ()
 
virtual ossimString getShortName () const
 
virtual ossimString getLongName () const
 
virtual ossimString getDescription () const
 
virtual ossimString getClassName () const
 
virtual RTTItypeid getType () const
 
virtual bool canCastTo (ossimObject *obj) const
 
virtual bool canCastTo (const RTTItypeid &id) const
 
virtual bool canCastTo (const ossimString &parentClassName) const
 
virtual bool saveState (ossimKeywordlist &kwl, const char *prefix=0) const
 
virtual bool loadState (const ossimKeywordlist &kwl, const char *prefix=0)
 
virtual std::ostream & print (std::ostream &out) const
 Generic print method. More...
 
virtual bool isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const
 
virtual void accept (ossimVisitor &visitor)
 
- Public Member Functions inherited from ossimReferenced
 ossimReferenced ()
 
 ossimReferenced (const ossimReferenced &)
 
ossimReferencedoperator= (const ossimReferenced &)
 
void ref () const
 increment the reference count by one, indicating that this object has another pointer which is referencing it. More...
 
void unref () const
 decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
void unref_nodelete () const
 decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
int referenceCount () const
 

Protected Attributes

ossimIrect theRectangle
 
- Protected Attributes inherited from ossimEvent
ossimObjecttheObject
 
ossimObjecttheCurrentObject
 
long theId
 
bool theIsConsumedFlag
 
PropagationType thePropagationType
 

Additional Inherited Members

- Public Types inherited from ossimEvent
enum  PropagationType { PROPAGATION_NONE = 0, PROPAGATION_INPUT = 1, PROPAGATION_OUTPUT = 2 }
 
- Protected Member Functions inherited from ossimReferenced
virtual ~ossimReferenced ()
 

Detailed Description

Definition at line 15 of file ossimImageRectangleEvent.h.

Constructor & Destructor Documentation

◆ ossimImageRectangleEvent()

ossimImageRectangleEvent::ossimImageRectangleEvent ( const ossimIrect rect,
ossimObject obj = NULL 
)
inline

Definition at line 18 of file ossimImageRectangleEvent.h.

21  theRectangle(rect)
22  {
23  }
ossimEvent(ossimObject *object=NULL, long id=OSSIM_EVENT_NULL_ID)
Definition: ossimEvent.cpp:16
#define OSSIM_EVENT_AOI_RECTANGLE_ID
Definition: ossimEventIds.h:35

Member Function Documentation

◆ dup()

virtual ossimObject* ossimImageRectangleEvent::dup ( ) const
inlinevirtual

Reimplemented from ossimObject.

Definition at line 24 of file ossimImageRectangleEvent.h.

25  {
26  return new ossimImageRectangleEvent(*this);
27  }
ossimImageRectangleEvent(const ossimIrect &rect, ossimObject *obj=NULL)

◆ getRectangle()

const ossimIrect& ossimImageRectangleEvent::getRectangle ( ) const
inline

Definition at line 29 of file ossimImageRectangleEvent.h.

30  {
31  return theRectangle;
32  }

◆ setRectangle()

void ossimImageRectangleEvent::setRectangle ( const ossimIrect rect)
inline

Definition at line 33 of file ossimImageRectangleEvent.h.

34  {
35  theRectangle = rect;
36  }

Member Data Documentation

◆ theRectangle

ossimIrect ossimImageRectangleEvent::theRectangle
protected

Definition at line 39 of file ossimImageRectangleEvent.h.


The documentation for this class was generated from the following file: