OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimGeoAnnotationMultiEllipseObject.h>
Public Member Functions | |
ossimGeoAnnotationMultiEllipseObject () | |
virtual | ~ossimGeoAnnotationMultiEllipseObject () |
ossimGeoAnnotationMultiEllipseObject (const std::vector< ossimGpt > ¢erPoints, const ossimDpt &widthHeight, bool enableFill=false, unsigned char r=255, unsigned char g=255, unsigned char b=255, long thickness=1) | |
ossimGeoAnnotationMultiEllipseObject (const ossimDpt &widthHeight, bool enableFill=false, unsigned char r=255, unsigned char g=255, unsigned char b=255, long thickness=1) | |
ossimGeoAnnotationMultiEllipseObject (const ossimGeoAnnotationMultiEllipseObject &rhs) | |
virtual ossimObject * | dup () const |
virtual ossimAnnotationObject * | getNewClippedObject (const ossimDrect &rect) const |
virtual void | transform (ossimImageGeometry *projection) |
virtual void | applyScale (double x, double y) |
virtual void | draw (ossimRgbImage &anImage) const |
virtual bool | intersects (const ossimDrect &rect) const |
virtual void | addPoint (const ossimGpt &point) |
virtual void | setColor (unsigned char r, unsigned char g, unsigned char b) |
virtual void | setThickness (ossim_uint8 thickness) |
virtual void | setPoint (int i, const ossimGpt &point) |
virtual void | setWidthHeight (const ossimDpt &widthHeight) |
virtual void | resize (ossim_uint32 newSize) |
virtual void | setFillFlag (bool fillFlag) |
virtual std::ostream & | print (std::ostream &out) const |
Generic print method. More... | |
virtual void | getBoundingRect (ossimDrect &rect) const |
virtual void | computeBoundingRect () |
![]() | |
ossimGeoAnnotationObject (unsigned char r=255, unsigned char g=255, unsigned char b=255, long thickness=1) | |
ossimGeoAnnotationObject (const ossimGeoAnnotationObject &rhs) | |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
Saves the current state of this object. More... | |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
Method to the load (recreate) the state of an object from a keyword list. More... | |
![]() | |
virtual | ~ossimAnnotationObject () |
ossimAnnotationObject (ossim_uint8 r=255, ossim_uint8 g=255, ossim_uint8 b=255, ossim_uint8 thickness=1) | |
virtual void | applyScale (const ossimDpt &scale) |
virtual ossimDrect | getBoundingRect () const |
void | getColor (ossim_uint8 &r, ossim_uint8 &g, ossim_uint8 &b) const |
ossim_uint8 | getThickness () const |
virtual bool | isPointWithin (const ossimDpt &imagePoint) const |
virtual ossimString | getName () const |
virtual void | setName (const ossimString &name) |
ossim_uint32 | getId () const |
virtual ossim_uint32 | setId () |
![]() | |
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 | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
virtual void | accept (ossimVisitor &visitor) |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (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 | |
ossimAnnotationMultiEllipseObject * | theProjectedObject |
std::vector< ossimGpt > | thePointList |
ossimDpt | theWidthHeight |
bool | theFillFlag |
![]() | |
ossim_uint8 | theRed |
ossim_uint8 | theGreen |
ossim_uint8 | theBlue |
ossim_uint8 | theThickness |
ossimString | theName |
ossim_uint32 | theId |
Additional Inherited Members | |
![]() | |
static ossim_uint32 | getNextId () |
static void | restIdCounter () |
![]() | |
virtual | ~ossimGeoAnnotationObject () |
![]() | |
virtual | ~ossimReferenced () |
![]() | |
static ossim_uint32 | theIdCounter = 0 |
Definition at line 14 of file ossimGeoAnnotationMultiEllipseObject.h.
ossimGeoAnnotationMultiEllipseObject::ossimGeoAnnotationMultiEllipseObject | ( | ) |
Definition at line 16 of file ossimGeoAnnotationMultiEllipseObject.cpp.
References ossimAnnotationMultiEllipseObject::setFillFlag(), and theProjectedObject.
Referenced by dup().
|
virtual |
Definition at line 24 of file ossimGeoAnnotationMultiEllipseObject.cpp.
References theProjectedObject.
ossimGeoAnnotationMultiEllipseObject::ossimGeoAnnotationMultiEllipseObject | ( | const std::vector< ossimGpt > & | centerPoints, |
const ossimDpt & | widthHeight, | ||
bool | enableFill = false , |
||
unsigned char | r = 255 , |
||
unsigned char | g = 255 , |
||
unsigned char | b = 255 , |
||
long | thickness = 1 |
||
) |
Definition at line 32 of file ossimGeoAnnotationMultiEllipseObject.cpp.
ossimGeoAnnotationMultiEllipseObject::ossimGeoAnnotationMultiEllipseObject | ( | const ossimDpt & | widthHeight, |
bool | enableFill = false , |
||
unsigned char | r = 255 , |
||
unsigned char | g = 255 , |
||
unsigned char | b = 255 , |
||
long | thickness = 1 |
||
) |
Definition at line 48 of file ossimGeoAnnotationMultiEllipseObject.cpp.
ossimGeoAnnotationMultiEllipseObject::ossimGeoAnnotationMultiEllipseObject | ( | const ossimGeoAnnotationMultiEllipseObject & | rhs | ) |
Definition at line 61 of file ossimGeoAnnotationMultiEllipseObject.cpp.
|
virtual |
Definition at line 164 of file ossimGeoAnnotationMultiEllipseObject.cpp.
References thePointList.
Referenced by ossimGdalOgrVectorAnnotation::loadMultiPoint().
|
virtual |
Implements ossimAnnotationObject.
Definition at line 110 of file ossimGeoAnnotationMultiEllipseObject.cpp.
References ossimNotify(), and ossimNotifyLevel_NOTICE.
|
virtual |
Implements ossimAnnotationObject.
Definition at line 145 of file ossimGeoAnnotationMultiEllipseObject.cpp.
References ossimAnnotationMultiEllipseObject::computeBoundingRect(), and theProjectedObject.
Referenced by transform().
|
virtual |
Implements ossimAnnotationObject.
Definition at line 118 of file ossimGeoAnnotationMultiEllipseObject.cpp.
References ossimAnnotationMultiEllipseObject::draw(), and theProjectedObject.
|
virtual |
Reimplemented from ossimObject.
Definition at line 150 of file ossimGeoAnnotationMultiEllipseObject.cpp.
References ossimGeoAnnotationMultiEllipseObject().
Referenced by getNewClippedObject().
|
virtual |
Implements ossimAnnotationObject.
Definition at line 140 of file ossimGeoAnnotationMultiEllipseObject.cpp.
References ossimAnnotationMultiEllipseObject::getBoundingRect(), and theProjectedObject.
|
virtual |
Will allocate a new object that is clipped to the passed. in rect. Look at derived classes to see if the object is actually clipped or not. A new object is returned if it clips to the rect else NULL should be returned it doesn't clip.
Implements ossimAnnotationObject.
Definition at line 155 of file ossimGeoAnnotationMultiEllipseObject.cpp.
References dup(), ossimNotify(), and ossimNotifyLevel_NOTICE.
|
virtual |
Implements ossimAnnotationObject.
Definition at line 123 of file ossimGeoAnnotationMultiEllipseObject.cpp.
References ossimAnnotationMultiEllipseObject::intersects(), and theProjectedObject.
|
virtual |
Generic print method.
Derived classes should re-implement as they see fit.
Reimplemented from ossimAnnotationObject.
Definition at line 134 of file ossimGeoAnnotationMultiEllipseObject.cpp.
References ossimAnnotationMultiEllipseObject::print(), and theProjectedObject.
|
virtual |
Definition at line 175 of file ossimGeoAnnotationMultiEllipseObject.cpp.
References thePointList.
|
virtual |
Reimplemented from ossimAnnotationObject.
Definition at line 89 of file ossimGeoAnnotationMultiEllipseObject.cpp.
References ossimAnnotationObject::setColor(), and theProjectedObject.
Referenced by ossimVpfAnnotationFeatureInfo::buildPointFeature(), and ossimVpfAnnotationFeatureInfo::setDrawingFeaturesToAnnotation().
|
virtual |
Definition at line 83 of file ossimGeoAnnotationMultiEllipseObject.cpp.
References ossimAnnotationMultiEllipseObject::setFillFlag(), theFillFlag, and theProjectedObject.
Referenced by ossimVpfAnnotationFeatureInfo::buildPointFeature(), and ossimVpfAnnotationFeatureInfo::setDrawingFeaturesToAnnotation().
|
virtual |
Definition at line 169 of file ossimGeoAnnotationMultiEllipseObject.cpp.
References thePointList.
|
virtual |
Reimplemented from ossimAnnotationObject.
Definition at line 100 of file ossimGeoAnnotationMultiEllipseObject.cpp.
References ossimAnnotationObject::setThickness(), and theProjectedObject.
Referenced by ossimVpfAnnotationFeatureInfo::buildPointFeature(), and ossimVpfAnnotationFeatureInfo::setDrawingFeaturesToAnnotation().
|
virtual |
Definition at line 128 of file ossimGeoAnnotationMultiEllipseObject.cpp.
References ossimAnnotationMultiEllipseObject::setWidthHeight(), theProjectedObject, and theWidthHeight.
Referenced by ossimVpfAnnotationFeatureInfo::buildPointFeature(), and ossimVpfAnnotationFeatureInfo::setDrawingFeaturesToAnnotation().
|
virtual |
Add the projection interface to all geographically defined objects.
Implements ossimGeoAnnotationObject.
Definition at line 70 of file ossimGeoAnnotationMultiEllipseObject.cpp.
References computeBoundingRect(), ossimAnnotationMultiEllipseObject::resize(), thePointList, theProjectedObject, and ossimImageGeometry::worldToLocal().
Referenced by ossimGdalOgrVectorAnnotation::loadMultiPoint().
|
protected |
Definition at line 67 of file ossimGeoAnnotationMultiEllipseObject.h.
Referenced by setFillFlag().
|
protected |
Definition at line 65 of file ossimGeoAnnotationMultiEllipseObject.h.
Referenced by addPoint(), resize(), setPoint(), and transform().
|
protected |
Definition at line 63 of file ossimGeoAnnotationMultiEllipseObject.h.
Referenced by computeBoundingRect(), draw(), getBoundingRect(), intersects(), ossimGeoAnnotationMultiEllipseObject(), print(), setColor(), setFillFlag(), setThickness(), setWidthHeight(), transform(), and ~ossimGeoAnnotationMultiEllipseObject().
|
protected |
Definition at line 66 of file ossimGeoAnnotationMultiEllipseObject.h.
Referenced by setWidthHeight().