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

#include <RegionSource.h>

Inheritance diagram for casa::viewer::RegionSourceKernel:
casa::viewer::dtorNotifiee casa::viewer::QtRegionSourceKernel

List of all members.

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 QtRegionDockdock ()
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

Detailed Description

Definition at line 53 of file RegionSource.h.


Member Typedef Documentation

Definition at line 55 of file RegionSource.h.


Constructor & Destructor Documentation

Definition at line 57 of file RegionSource.h.


Member Function Documentation

virtual QtRegionDock* casa::viewer::RegionSourceKernel::dock ( ) [inline, virtual]

Reimplemented in casa::viewer::QtRegionSourceKernel.

Definition at line 67 of file RegionSource.h.

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]

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]
virtual std::tr1::shared_ptr<Polygon> casa::viewer::RegionSourceKernel::polygon ( RegionCreator rc,
WorldCanvas wc,
double  x1,
double  y1 
) [protected, pure virtual]
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]
virtual std::tr1::shared_ptr<Polyline> casa::viewer::RegionSourceKernel::polyline ( RegionCreator rc,
WorldCanvas wc,
double  x1,
double  y1 
) [protected, pure virtual]
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]
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]
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]

register region for dtor callback, and add to list of created regions...

virtual void casa::viewer::RegionSourceKernel::revokeRegion ( Region r) [pure virtual]

Friends And Related Function Documentation

friend class RegionSource [friend]

Definition at line 73 of file RegionSource.h.


Member Data Documentation

Definition at line 88 of file RegionSource.h.


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