27 #ifndef __TERRALIB_CLASSIFICATION_INTERNAL_ROI_H 
   28 #define __TERRALIB_CLASSIFICATION_INTERNAL_ROI_H 
   65         ROI(std::string label);
 
A region of interest (often abbreviated ROI), is a selected subset of samples within a dataset identi...
 
void addPolygon(te::gm::Polygon *p, std::string id)
Add a new region into this ROI.
 
std::string getColor()
Get the ROI color defined by a hexadecimal color name.
 
std::string m_label
ROI label.
 
std::map< std::string, te::gm::Polygon * > m_roiMap
The map of acquired regions.
 
virtual ~ROI()
Virtual destructor.
 
void setColor(std::string color)
Set the ROI color using the hexadecimal color name.
 
ROI(std::string label)
Default constructor.
 
std::map< std::string, te::gm::Polygon * > & getPolygons()
Get all polygons belongs to this roi.
 
std::string m_color
The hexa color associated with this ROI.
 
void setLabel(std::string label)
Set the ROI label.
 
void removePolygon(std::string id)
Removes a region from this ROI.
 
std::string getLabel()
Get the ROI label.
 
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
 
#define TECLEXPORT
You can use this macro in order to export/import classes and functions from this module.
 
Proxy configuration file for TerraView (see terraview_config.h).