casa
$Rev:20696$
|
#include <RegionSource.h>
Public Types | |
typedef std::tr1::shared_ptr < RegionSourceKernel > | shared_kernel_ptr_type |
Public Member Functions | |
RegionSourceKernel () | |
virtual | ~RegionSourceKernel () |
void | dtorCalled (const dtorNotifier *) |
inherited pure-virtual from dtorNotifiee, removes deleted regions... | |
virtual void | generateExistingRegionUpdates () |
re-generate regionUpdateResponse( ) signals for existing regions... | |
virtual QtRegionDock * | dock () |
virtual int | numFrames () const |
virtual void | revokeRegion (Region *r)=0 |
Protected Member Functions | |
virtual std::tr1::shared_ptr < Rectangle > | rectangle (RegionCreator *rc, WorldCanvas *wc, double blc_x, double blc_y, double trc_x, double trc_y)=0 |
virtual std::tr1::shared_ptr < Polygon > | polygon (RegionCreator *rc, WorldCanvas *wc, double x1, double y1)=0 |
virtual std::tr1::shared_ptr < Polygon > | polygon (RegionCreator *rc, WorldCanvas *wc, const std::vector< std::pair< double, double > > &pts)=0 |
virtual std::tr1::shared_ptr < Polyline > | polyline (RegionCreator *rc, WorldCanvas *wc, double x1, double y1)=0 |
virtual std::tr1::shared_ptr < Polyline > | polyline (RegionCreator *rc, WorldCanvas *wc, const std::vector< std::pair< double, double > > &pts)=0 |
virtual std::tr1::shared_ptr < Rectangle > | ellipse (RegionCreator *rc, WorldCanvas *wc, double blc_x, double blc_y, double trc_x, double trc_y)=0 |
virtual std::tr1::shared_ptr < Rectangle > | point (RegionCreator *rc, WorldCanvas *wc, double x, double y, QtMouseToolNames::PointRegionSymbols sym, int size)=0 |
virtual std::tr1::shared_ptr < PVLine > | pvline (RegionCreator *rc, WorldCanvas *wc, double blc_x, double blc_y, double trc_x, double trc_y)=0 |
virtual QtMouseToolNames::PointRegionSymbols | currentPointSymbolType () const =0 |
void | register_new_region (Region *) |
register region for dtor callback, and add to list of created regions... | |
Protected Attributes | |
std::list< Region * > | created_regions |
Friends | |
class | RegionSource |
Definition at line 53 of file RegionSource.h.
typedef std::tr1::shared_ptr<RegionSourceKernel> casa::viewer::RegionSourceKernel::shared_kernel_ptr_type |
Definition at line 55 of file RegionSource.h.
casa::viewer::RegionSourceKernel::RegionSourceKernel | ( | ) | [inline] |
Definition at line 57 of file RegionSource.h.
virtual casa::viewer::RegionSourceKernel::~RegionSourceKernel | ( | ) | [virtual] |
virtual QtMouseToolNames::PointRegionSymbols casa::viewer::RegionSourceKernel::currentPointSymbolType | ( | ) | const [protected, pure virtual] |
Implemented in casa::viewer::QtRegionSourceKernel.
virtual QtRegionDock* casa::viewer::RegionSourceKernel::dock | ( | ) | [inline, virtual] |
Reimplemented in casa::viewer::QtRegionSourceKernel.
Definition at line 67 of file RegionSource.h.
void casa::viewer::RegionSourceKernel::dtorCalled | ( | const dtorNotifier * | ) | [virtual] |
inherited pure-virtual from dtorNotifiee, removes deleted regions...
Implements casa::viewer::dtorNotifiee.
Reimplemented in casa::viewer::QtRegionSourceKernel.
virtual std::tr1::shared_ptr<Rectangle> casa::viewer::RegionSourceKernel::ellipse | ( | RegionCreator * | rc, |
WorldCanvas * | wc, | ||
double | blc_x, | ||
double | blc_y, | ||
double | trc_x, | ||
double | trc_y | ||
) | [protected, pure virtual] |
Implemented in casa::viewer::QtRegionSourceKernel.
virtual void casa::viewer::RegionSourceKernel::generateExistingRegionUpdates | ( | ) | [virtual] |
re-generate regionUpdateResponse( ) signals for existing regions...
with same arguments as regionCreated( ), for the benefit of a newly created (e.g. QtProfile) tool...
virtual int casa::viewer::RegionSourceKernel::numFrames | ( | ) | const [inline, virtual] |
Reimplemented in casa::viewer::QtRegionSourceKernel.
Definition at line 68 of file RegionSource.h.
virtual std::tr1::shared_ptr<Rectangle> casa::viewer::RegionSourceKernel::point | ( | RegionCreator * | rc, |
WorldCanvas * | wc, | ||
double | x, | ||
double | y, | ||
QtMouseToolNames::PointRegionSymbols | sym, | ||
int | size | ||
) | [protected, pure virtual] |
Implemented in casa::viewer::QtRegionSourceKernel.
virtual std::tr1::shared_ptr<Polygon> casa::viewer::RegionSourceKernel::polygon | ( | RegionCreator * | rc, |
WorldCanvas * | wc, | ||
double | x1, | ||
double | y1 | ||
) | [protected, pure virtual] |
Implemented in casa::viewer::QtRegionSourceKernel.
virtual std::tr1::shared_ptr<Polygon> casa::viewer::RegionSourceKernel::polygon | ( | RegionCreator * | rc, |
WorldCanvas * | wc, | ||
const std::vector< std::pair< double, double > > & | pts | ||
) | [protected, pure virtual] |
Implemented in casa::viewer::QtRegionSourceKernel.
virtual std::tr1::shared_ptr<Polyline> casa::viewer::RegionSourceKernel::polyline | ( | RegionCreator * | rc, |
WorldCanvas * | wc, | ||
double | x1, | ||
double | y1 | ||
) | [protected, pure virtual] |
Implemented in casa::viewer::QtRegionSourceKernel.
virtual std::tr1::shared_ptr<Polyline> casa::viewer::RegionSourceKernel::polyline | ( | RegionCreator * | rc, |
WorldCanvas * | wc, | ||
const std::vector< std::pair< double, double > > & | pts | ||
) | [protected, pure virtual] |
Implemented in casa::viewer::QtRegionSourceKernel.
virtual std::tr1::shared_ptr<PVLine> casa::viewer::RegionSourceKernel::pvline | ( | RegionCreator * | rc, |
WorldCanvas * | wc, | ||
double | blc_x, | ||
double | blc_y, | ||
double | trc_x, | ||
double | trc_y | ||
) | [protected, pure virtual] |
Implemented in casa::viewer::QtRegionSourceKernel.
virtual std::tr1::shared_ptr<Rectangle> casa::viewer::RegionSourceKernel::rectangle | ( | RegionCreator * | rc, |
WorldCanvas * | wc, | ||
double | blc_x, | ||
double | blc_y, | ||
double | trc_x, | ||
double | trc_y | ||
) | [protected, pure virtual] |
Implemented in casa::viewer::QtRegionSourceKernel.
void casa::viewer::RegionSourceKernel::register_new_region | ( | Region * | ) | [protected] |
register region for dtor callback, and add to list of created regions...
virtual void casa::viewer::RegionSourceKernel::revokeRegion | ( | Region * | r | ) | [pure virtual] |
Implemented in casa::viewer::QtRegionSourceKernel.
friend class RegionSource [friend] |
Definition at line 73 of file RegionSource.h.
std::list<Region*> casa::viewer::RegionSourceKernel::created_regions [protected] |
Definition at line 88 of file RegionSource.h.