casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
casa::viewer::RegionSource Class Reference

#include <RegionSource.h>

Inheritance diagram for casa::viewer::RegionSource:
casa::viewer::QtRegionSource

Public Types

typedef
RegionSourceKernel::shared_kernel_ptr_type 
shared_kernel_ptr_type
 

Public Member Functions

std::shared_ptr< Rectanglerectangle (WorldCanvas *wc, double blc_x, double blc_y, double trc_x, double trc_y)
 
virtual std::shared_ptr< Polygonpolygon (WorldCanvas *wc, double x1, double y1)
 
virtual std::shared_ptr< Polygonpolygon (WorldCanvas *wc, const std::vector< std::pair< double, double > > &pts)
 
virtual std::shared_ptr< Polylinepolyline (WorldCanvas *wc, double x1, double y1)
 
virtual std::shared_ptr< Polylinepolyline (WorldCanvas *wc, const std::vector< std::pair< double, double > > &pts)
 
virtual std::shared_ptr
< Rectangle
ellipse (WorldCanvas *wc, double blc_x, double blc_y, double trc_x, double trc_y)
 
virtual std::shared_ptr
< Rectangle
point (WorldCanvas *wc, double x, double y, QtMouseToolNames::PointRegionSymbols sym, int size)
 
std::shared_ptr< PVLinepvline (WorldCanvas *wc, double blc_x, double blc_y, double trc_x, double trc_y)
 
 RegionSource (RegionCreator *rc, const shared_kernel_ptr_type &k)
 
 RegionSource (const RegionSource &other)
 
void revokeRegion (Region *r)
 
shared_kernel_ptr_type kernel ()
 
QtRegionDockdock ()
 
int numFrames () const
 
QtMouseToolNames::PointRegionSymbols currentPointSymbolType () const
 
virtual ~RegionSource ()
 

Private Attributes

shared_kernel_ptr_type kernel_
 
RegionCreatorregion_creator
 

Detailed Description

Definition at line 95 of file RegionSource.h.

Member Typedef Documentation

Definition at line 97 of file RegionSource.h.

Constructor & Destructor Documentation

casa::viewer::RegionSource::RegionSource ( RegionCreator rc,
const shared_kernel_ptr_type k 
)
inline

Definition at line 124 of file RegionSource.h.

casa::viewer::RegionSource::RegionSource ( const RegionSource other)
inline

Definition at line 125 of file RegionSource.h.

virtual casa::viewer::RegionSource::~RegionSource ( )
inlinevirtual

Definition at line 145 of file RegionSource.h.

Member Function Documentation

QtMouseToolNames::PointRegionSymbols casa::viewer::RegionSource::currentPointSymbolType ( ) const
inline

Definition at line 142 of file RegionSource.h.

References kernel_.

QtRegionDock* casa::viewer::RegionSource::dock ( )
inline

Definition at line 135 of file RegionSource.h.

References kernel_.

virtual std::shared_ptr<Rectangle> casa::viewer::RegionSource::ellipse ( WorldCanvas wc,
double  blc_x,
double  blc_y,
double  trc_x,
double  trc_y 
)
inlinevirtual

Definition at line 114 of file RegionSource.h.

References kernel_, and region_creator.

shared_kernel_ptr_type casa::viewer::RegionSource::kernel ( )
inline

Definition at line 131 of file RegionSource.h.

References kernel_.

int casa::viewer::RegionSource::numFrames ( ) const
inline

Definition at line 138 of file RegionSource.h.

References kernel_.

virtual std::shared_ptr<Rectangle> casa::viewer::RegionSource::point ( WorldCanvas wc,
double  x,
double  y,
QtMouseToolNames::PointRegionSymbols  sym,
int  size 
)
inlinevirtual

Definition at line 117 of file RegionSource.h.

References kernel_, and region_creator.

virtual std::shared_ptr<Polygon> casa::viewer::RegionSource::polygon ( WorldCanvas wc,
double  x1,
double  y1 
)
inlinevirtual

Definition at line 102 of file RegionSource.h.

References kernel_, and region_creator.

virtual std::shared_ptr<Polygon> casa::viewer::RegionSource::polygon ( WorldCanvas wc,
const std::vector< std::pair< double, double > > &  pts 
)
inlinevirtual

Definition at line 105 of file RegionSource.h.

References kernel_, and region_creator.

virtual std::shared_ptr<Polyline> casa::viewer::RegionSource::polyline ( WorldCanvas wc,
double  x1,
double  y1 
)
inlinevirtual

Definition at line 108 of file RegionSource.h.

References kernel_, and region_creator.

virtual std::shared_ptr<Polyline> casa::viewer::RegionSource::polyline ( WorldCanvas wc,
const std::vector< std::pair< double, double > > &  pts 
)
inlinevirtual

Definition at line 111 of file RegionSource.h.

References kernel_, and region_creator.

std::shared_ptr<PVLine> casa::viewer::RegionSource::pvline ( WorldCanvas wc,
double  blc_x,
double  blc_y,
double  trc_x,
double  trc_y 
)
inline

Definition at line 120 of file RegionSource.h.

References kernel_, and region_creator.

std::shared_ptr<Rectangle> casa::viewer::RegionSource::rectangle ( WorldCanvas wc,
double  blc_x,
double  blc_y,
double  trc_x,
double  trc_y 
)
inline

Definition at line 99 of file RegionSource.h.

References kernel_, and region_creator.

void casa::viewer::RegionSource::revokeRegion ( Region r)
inline

Definition at line 127 of file RegionSource.h.

References kernel_.

Member Data Documentation

shared_kernel_ptr_type casa::viewer::RegionSource::kernel_
private
RegionCreator* casa::viewer::RegionSource::region_creator
private

Definition at line 149 of file RegionSource.h.

Referenced by ellipse(), point(), polygon(), polyline(), pvline(), and rectangle().


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