casa
$Rev:20696$
|
#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.
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::MultiPVTool, casa::MultiRectTool, casa::MultiPolyTool, and casa::MultiPolylineTool.
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::MultiPVTool, casa::MultiRectTool, casa::MultiPolyTool, casa::MultiPolylineTool, casa::MultiEllipseTool, and casa::MultiPointTool.
virtual void casa::viewer::RegionCreator::revokeRegion | ( | Region * | ) | [pure virtual] |
called when the user indicates that a region should be deleted...
Implemented in casa::MultiPVTool, casa::MultiRectTool, casa::MultiPolyTool, and casa::MultiPolylineTool.
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.