#include <RegionCreator.h>
Public Types | |
| typedef std::list < RegionCreator * > | creator_list_type |
Public Member Functions | |
| virtual void | revokeRegion (Region *)=0 |
| called when the user indicates that a region should be deleted. | |
| virtual const std::set < region::RegionTypes > & | regionsCreated () const =0 |
| returns the set of region types which this creator will create | |
| 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 |
| RegionCreator () | |
| DISPLAY_PURE_VIRTUAL(RegionCreator::create,true);. | |
| virtual | ~RegionCreator () |
Static Public Member Functions | |
| static const creator_list_type & | findCreator (region::RegionTypes type) |
Private Types | |
| typedef std::map < region::RegionTypes, creator_list_type * > | creator_map_type |
Static Private Attributes | |
| static creator_map_type | creator_map |
| static creator_list_type | unsorted_creators |
Definition at line 14 of file RegionCreator.h.
| typedef std::list<RegionCreator*> casa::viewer::RegionCreator::creator_list_type |
Definition at line 16 of file RegionCreator.h.
typedef std::map<region::RegionTypes, creator_list_type*> casa::viewer::RegionCreator::creator_map_type [private] |
Definition at line 34 of file RegionCreator.h.
| casa::viewer::RegionCreator::RegionCreator | ( | ) |
| virtual casa::viewer::RegionCreator::~RegionCreator | ( | ) | [virtual] |
| virtual bool casa::viewer::RegionCreator::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 * | ||||
| ) | [pure virtual] |
Implemented in casa::MultiPolylineTool, casa::MultiPolyTool, casa::MultiPVTool, and casa::MultiRectTool.
| static const creator_list_type& casa::viewer::RegionCreator::findCreator | ( | region::RegionTypes | type | ) | [static] |
| virtual const std::set<region::RegionTypes>& casa::viewer::RegionCreator::regionsCreated | ( | ) | const [pure virtual] |
returns the set of region types which this creator will create
Implemented in casa::MultiEllipseTool, casa::MultiPointTool, casa::MultiPolylineTool, casa::MultiPolyTool, casa::MultiPVTool, and casa::MultiRectTool.
| virtual void casa::viewer::RegionCreator::revokeRegion | ( | Region * | ) | [pure virtual] |
called when the user indicates that a region should be deleted.
.\.
Implemented in casa::MultiPolylineTool, casa::MultiPolyTool, casa::MultiPVTool, and casa::MultiRectTool.
creator_map_type casa::viewer::RegionCreator::creator_map [static, private] |
Definition at line 35 of file RegionCreator.h.
creator_list_type casa::viewer::RegionCreator::unsorted_creators [static, private] |
Definition at line 36 of file RegionCreator.h.
1.6.1