26 #ifndef __TERRALIB_CLASSIFICATION_INTERNAL_ROISET_H
27 #define __TERRALIB_CLASSIFICATION_INTERNAL_ROISET_H
A region of interest (often abbreviated ROI), is a selected subset of samples within a dataset identi...
A ROISet is a set of ROI's.
ROISet()
Default constructor.
std::map< std::string, te::cl::ROI * > & getROISet()
Get the roi set map.
std::unique_ptr< te::da::DataSetType > getDataSetType(int srid)
Creates a dataset type that defines a roi.
void exportToFile(std::string fileName, int srid)
Export the ROISet to a shapefile.
te::cl::ROI * getROI(std::string label)
Gets a ROI from this set.
void removeROI(std::string label)
Removes a ROI from this set.
std::map< std::string, te::cl::ROI * > m_roiMap
The map of ROI's.
static te::cl::ROISet * createROISet(std::unique_ptr< te::da::DataSet > ds)
Imports the ROISet from a dataset.
std::unique_ptr< te::da::DataSet > getDataSet(int srid)
Creates a dataset that with the roi set information.
void updateROILabel(std::string oldLabel, std::string newLabel)
Updates a ROI from this set.
virtual ~ROISet()
Virtual destructor.
void addROI(te::cl::ROI *roi)
Add a new ROI to this set.
A region of interest (often abbreviated ROI), is a selected subset of samples within a dataset identi...
#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).