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.
te::cl::ROI * getROI(std::string label)
Gets a ROI from this set.
std::map< std::string, te::cl::ROI * > & getROISet()
Get the roi set map.
void exportToFile(std::string fileName, int srid)
Export the ROISet to a shapefile.
std::unique_ptr< te::da::DataSetType > getDataSetType(int srid)
Creates a dataset type that defines a roi.
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 removeROI(std::string label)
Removes a ROI from this set.
std::map< std::string, te::cl::ROI * > m_roiMap
The map of ROI's.
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...
A class that models the description of a dataset.
A dataset is the unit of information manipulated by the data access module of TerraLib.
Namespace for classification module of TerraLib.
Namespace for the DataAccess API of TerraLib.
Configuration flags for the Terrralib Classification module.
#define TECLEXPORT
You can use this macro in order to export/import classes and functions from this module.