casa
5.7.0-16
|
#include <QtRegionSource.qo.h>
Public Slots | |
void | adjustPosition (double blcx, double blcy, double trcx, double trcy) |
Used to change the position of the source. More... | |
Signals | |
void | regionCreated (int, const QString &shape, const QString &name, const QList< double > &world_x, const QList< double > &world_y, const QList< int > &pixel_x, const QList< int > &pixel_y, const QString &linecolor, const QString &text, const QString &font, int fontsize, int fontstyle) |
void | regionUpdate (int, viewer::region::RegionChanges, const QList< double > &world_x, const QList< double > &world_y, const QList< int > &pixel_x, const QList< int > &pixel_y) |
void | regionUpdateResponse (int, const QString &shape, const QString &name, const QList< double > &world_x, const QList< double > &world_y, const QList< int > &pixel_x, const QList< int > &pixel_y, const QString &linecolor, const QString &text, const QString &font, int fontsize, int fontstyle) |
void | newCorners (double, double, double, double) |
void | show1DSliceTool () |
Public Member Functions | |
QtRegionSourceKernel (QtDisplayPanelGui *panel) | |
QtRegionDock * | dock () |
int | numFrames () const |
~QtRegionSourceKernel () | |
void | revokeRegion (Region *r) |
void | dtorCalled (const dtorNotifier *) |
inherited pure-virtual from dtorNotifiee, removes deleted regions... More... | |
Public Member Functions inherited from casa::viewer::RegionSourceKernel | |
RegionSourceKernel () | |
virtual | ~RegionSourceKernel () |
virtual void | generateExistingRegionUpdates () |
re-generate regionUpdateResponse() signals for existing regions... More... | |
Public Member Functions inherited from casa::viewer::dtorNotifiee | |
dtorNotifiee () | |
virtual | ~dtorNotifiee () |
Protected Slots | |
void | loadRegions (const QString &path, const QString &type) |
void | updateRegionState (QtDisplayData *) |
Protected Member Functions | |
std::shared_ptr< Rectangle > | rectangle (RegionCreator *rc, WorldCanvas *wc, double blc_x, double blc_y, double trc_x, double trc_y) |
std::shared_ptr< Polygon > | polygon (RegionCreator *rc, WorldCanvas *wc, double x1, double y1) |
std::shared_ptr< Polygon > | polygon (RegionCreator *rc, WorldCanvas *wc, const std::vector< std::pair< double, double > > &pts) |
std::shared_ptr< Polyline > | polyline (RegionCreator *rc, WorldCanvas *wc, double x1, double y1) |
std::shared_ptr< Polyline > | polyline (RegionCreator *rc, WorldCanvas *wc, const std::vector< std::pair< double, double > > &pts) |
std::shared_ptr< PVLine > | pvline (RegionCreator *rc, WorldCanvas *wc, double blc_x, double blc_y, double trc_x, double trc_y) |
std::shared_ptr< Rectangle > | ellipse (RegionCreator *rc, WorldCanvas *wc, double blc_x, double blc_y, double trc_x, double trc_y) |
ellipse is derived from rectangle... More... | |
std::shared_ptr< Rectangle > | point (RegionCreator *rc, WorldCanvas *wc, double x, double y, QtMouseToolNames::PointRegionSymbols sym, int size) |
QtMouseToolNames::PointRegionSymbols | currentPointSymbolType () const |
Protected Member Functions inherited from casa::viewer::RegionSourceKernel | |
void | register_new_region (Region *) |
register region for dtor callback, and add to list of created regions... More... | |
Private Member Functions | |
void | load_crtf_regions (WorldCanvas *, const QString &path) |
void | load_crtf_rectangle (WorldCanvas *wc, casacore::MDirection::Types cstype, const AnnRectBox *box) |
void | load_crtf_ellipse (WorldCanvas *wc, casacore::MDirection::Types cstype, const AnnEllipse *ellipse) |
void | load_crtf_point (WorldCanvas *wc, casacore::MDirection::Types cstype, const AnnSymbol *symbol) |
void | load_crtf_polygon (WorldCanvas *wc, casacore::MDirection::Types cstype, const AnnPolygon *polygon) |
void | load_crtf_polyline (WorldCanvas *wc, casacore::MDirection::Types cstype, const AnnPolyline *polyline) |
Private Attributes | |
QtDisplayPanelGui * | panel_ |
std::map< Region *, RegionCreator * > | creator_of_region |
Friends | |
class | QtRegionSource |
Additional Inherited Members | |
Public Types inherited from casa::viewer::RegionSourceKernel | |
typedef std::shared_ptr < RegionSourceKernel > | shared_kernel_ptr_type |
Protected Attributes inherited from casa::viewer::RegionSourceKernel | |
std::list< Region * > | created_regions |
Definition at line 55 of file QtRegionSource.qo.h.
casa::viewer::QtRegionSourceKernel::QtRegionSourceKernel | ( | QtDisplayPanelGui * | panel | ) |
casa::viewer::QtRegionSourceKernel::~QtRegionSourceKernel | ( | ) |
|
slot |
Used to change the position of the source.
|
protectedvirtual |
Implements casa::viewer::RegionSourceKernel.
|
virtual |
Reimplemented from casa::viewer::RegionSourceKernel.
|
virtual |
inherited pure-virtual from dtorNotifiee, removes deleted regions...
Reimplemented from casa::viewer::RegionSourceKernel.
|
protectedvirtual |
ellipse is derived from rectangle...
so while this should be "std::shared_ptr<Ellipse>" this would preclude the direct reuse of the Rectangle code (which only differs by region creation)... perhaps a case where smart pointers are not so smart (in not mirroring the inheritance hiearchy)... though perhaps it can be generalized to "std::shared_ptr<Region>"...
Implements casa::viewer::RegionSourceKernel.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protectedslot |
|
signal |
|
virtual |
Reimplemented from casa::viewer::RegionSourceKernel.
|
protectedvirtual |
Implements casa::viewer::RegionSourceKernel.
|
protectedvirtual |
Implements casa::viewer::RegionSourceKernel.
|
protectedvirtual |
Implements casa::viewer::RegionSourceKernel.
|
protectedvirtual |
Implements casa::viewer::RegionSourceKernel.
|
protectedvirtual |
Implements casa::viewer::RegionSourceKernel.
|
protectedvirtual |
Implements casa::viewer::RegionSourceKernel.
|
protectedvirtual |
Implements casa::viewer::RegionSourceKernel.
|
signal |
|
signal |
|
signal |
|
virtual |
Implements casa::viewer::RegionSourceKernel.
|
signal |
|
protectedslot |
|
friend |
Definition at line 89 of file QtRegionSource.qo.h.
|
private |
Definition at line 126 of file QtRegionSource.qo.h.
|
private |
Definition at line 124 of file QtRegionSource.qo.h.