11 #ifndef ossimVpfAnnotationFeatureInfo_HEADER 12 #define ossimVpfAnnotationFeatureInfo_HEADER 31 ossimVpfAnnotationFeatureType_UNKNOWN = 0,
32 ossimVpfAnnotationFeatureType_POINT = 1,
33 ossimVpfAnnotationFeatureType_LINE = 2,
34 ossimVpfAnnotationFeatureType_POLYGON = 3,
35 ossimVpfAnnotationFeatureType_TEXT = 4,
43 bool enabledFlag =
true);
48 theCoverage = coverage;
67 thePenColor = penColor;
77 theBrushColor = brushColor;
87 theFillEnabledFlag = flag;
91 return theFillEnabledFlag;
93 void setEnabledFlag(
bool flag);
96 return theEnabledFlag;
101 theThickness = thickness;
120 return (theFeatureType == ossimVpfAnnotationFeatureType_POINT);
124 return (theFeatureType == ossimVpfAnnotationFeatureType_LINE);
128 return (theFeatureType == ossimVpfAnnotationFeatureType_POLYGON);
132 return (theFeatureType == ossimVpfAnnotationFeatureType_TEXT);
136 fontInfo = theFontInformation;
140 theFontInformation = fontInfo;
145 thePointRadius = radius;
149 return thePointRadius;
151 void setDrawingFeaturesToAnnotation();
155 void deleteAllObjects();
159 const char* prefix=0)
const;
161 const char* prefix=0);
163 ossimVpfAnnotationFeatureType getFeatureTypeFromString(
const ossimString& featureType)
const;
194 void buildPointFeature(
const ossimString& primitiveName,
209 int readTableCellAsInt (
int rowNumber,
212 int readRngId(
int rowNumber,
215 int readStartEdgeId(
int rowNumber,
ossimString theDescription
ossimRgbVector getBrushColor() const
void setFontInformation(const ossimFontInformation &fontInfo)
void getFontInformation(ossimFontInformation &fontInfo) const
Represents serializable keyword/value map.
bool getFillEnabledFlag() const
ossimRgbVector theBrushColor
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
void setThickness(int thickness)
ossimVpfCoverage & getCoverage()
ossimVpfAnnotationFeatureType
const ossimVpfCoverage & getCoverage() const
ossimVpfCoverage theCoverage
Container class that holds both 2D transform and 3D projection information for an image Only one inst...
void setCoverage(const ossimVpfCoverage &coverage)
ossimVpfAnnotationFeatureType theFeatureType
void setFillEnabledFlag(bool flag)
void setPointRadius(const ossimDpt &radius)
void setBrushColor(const ossimRgbVector &brushColor)
ossimRgbVector getPenColor() const
const ossimString & getName() const
ossimDpt getPointRadius() const
std::vector< ossimRefPtr< ossimGeoAnnotationObject > > theAnnotationArray
ossimRgbVector thePenColor
ossimFontInformation theFontInformation
void setName(const ossimString &name)
void setColor(const ossimRgbVector &color)
void setPenColor(const ossimRgbVector &penColor)
bool getEnabledFlag() const