casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Static Public Member Functions | Private Types | Static Private Attributes
casa::viewer::RegionCreator Class Reference

#include <RegionCreator.h>

Inheritance diagram for casa::viewer::RegionCreator:
casa::MultiPolylineTool casa::MultiPolyTool casa::MultiPVTool casa::MultiRectTool casa::MultiPolylineToolImpl casa::MultiPolyToolImpl casa::MultiPVToolImpl casa::MultiEllipseTool casa::MultiPointTool casa::MultiRectToolImpl casa::QtPolylineToolRegion casa::QtPTRegion casa::QtPVToolRegion casa::MultiEllipseToolImpl casa::MultiPointToolImpl casa::QtRTRegion casa::QtPolylineTool casa::QtPolyTool casa::QtPVTool casa::QtELRegion casa::QtPointRegion casa::QtRectTool casa::QtEllipseTool casa::QtCrossTool

List of all members.

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_typefindCreator (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

Detailed Description

Definition at line 14 of file RegionCreator.h.


Member Typedef Documentation

Definition at line 16 of file RegionCreator.h.

Definition at line 34 of file RegionCreator.h.


Constructor & Destructor Documentation


Member Function Documentation

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]
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.


Member Data Documentation

Definition at line 35 of file RegionCreator.h.

Definition at line 36 of file RegionCreator.h.


The documentation for this class was generated from the following file: