2 #ifndef REGION_REGIONCREATOR_H_
3 #define REGION_REGIONCREATOR_H_
20 virtual const std::set <region::RegionTypes> &
regionsCreated ()
const = 0;
23 const std::string &,
int ,
int ,
const std::string &,
virtual Type type()
Return the type enum.
virtual void revokeRegion(Region *)=0
called when the user indicates that a region should be deleted...
RegionCreator()
DISPLAY_PURE_VIRTUAL(RegionCreator::create,true);.
static const creator_list_type & findCreator(region::RegionTypes type)
All regions are specified in "linear coordinates", not "pixel coordinates".
LineStyle
LSDoubleDashed is only used to preserve state (it is a Display::LineStyle option) ...
virtual bool create(region::RegionTypes, WorldCanvas *, const std::vector< std::pair< double, double > > &, const std::string &, viewer::region::TextPosition, const std::vector< int > &, const std::string &, int, int, const std::string &, const std::string &, viewer::region::LineStyle, unsigned int, bool, VOID *)=0
static creator_list_type unsorted_creators
Implementation of drawing in world coordinates on top of a PixelCanvas.
static creator_map_type creator_map
std::list< RegionCreator * > creator_list_type
virtual const std::set< region::RegionTypes > & regionsCreated() const =0
returns the set of region types which this creator will create
std::map< region::RegionTypes, creator_list_type * > creator_map_type