casa
$Rev:20696$
|
Key points: More...
#include <QtRegion.qo.h>
Signals | |
void | regionChange (viewer::QtRegion *, std::string) |
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) |
generated by emitUpdate( )... | |
void | selectionChanged (viewer::QtRegion *, bool) |
Public Member Functions | |
QtRegion (QtRegionSourceKernel *factory) | |
create a deginerate region just to gain access to the load regions dialog... | |
QtRegion (const QString &nme, QtRegionSourceKernel *factory, bool hold_signals_=false, QtMouseToolNames::PointRegionSymbols sym=QtMouseToolNames::SYM_UNKNOWN) | |
virtual | ~QtRegion () |
QtRegionState * | state () |
needed for writing out a list of regions (CASA or DS9 format) because the output is based upon QtRegionState pointers (because that is what is available to the QtRegionDock... | |
const std::string | name () const |
virtual QtMouseToolNames::PointRegionSymbols | marker () const |
virtual bool | setMarker (QtMouseToolNames::PointRegionSymbols) |
std::string | lineColor () const |
std::string | centerColor () const |
int | lineWidth () const |
region::LineStyle | lineStyle () const |
int | markerScale () const |
void | setMarkerScale (int v) |
std::string | textColor () const |
std::string | textFont () const |
int | textFontSize () const |
int | textFontStyle () const |
std::string | textValue () const |
region::TextPosition | textPosition () const |
void | textPositionDelta (int &x, int &y) const |
virtual void | setLabel (const std::string &l) |
set attributes when loading a casa region text file... | |
void | setLabelPosition (region::TextPosition) |
void | setLabelDelta (const std::vector< int > &) |
virtual void | setFont (const std::string &font="", int font_size=0, int font_style=0, const std::string &font_color="") |
virtual void | setLine (const std::string &line_color="", region::LineStyle line_style=region::SolidLine, unsigned int line_width=1) |
virtual void | setAnnotation (bool ann) |
int | numFrames () const |
void | zRange (int &x, int &y) const |
virtual void | pixelCenter (double &, double &) const =0 |
DISPLAY_PURE_VIRTUAL(region::linearCenter,);. | |
bool | weaklySelected () const |
is this region weakly or temporarily selected? | |
void | weaklySelect () |
void | weaklyUnselect () |
void | updateStateInfo (bool region_modified, region::RegionChanges) |
indicates that region movement requires the update of state information... | |
void | clearStatistics () |
void | statisticsUpdateNeeded () |
virtual void | getCoordinatesAndUnits (region::Coord &c, region::Units &x_units, region::Units &y_units, std::string &width_height_units) const =0 |
virtual void | getPositionString (std::string &x, std::string &y, std::string &angle, double &bounding_width, double &bounding_height, region::Coord coord=region::DefaultCoord, region::Units x_units=region::DefaultUnits, region::Units y_units=region::DefaultUnits, const std::string &bounding_units="rad") const =0 |
virtual bool | translateX (const std::string &, const std::string &, const std::string &)=0 |
virtual bool | translateY (const std::string &, const std::string &, const std::string &)=0 |
virtual bool | resizeX (const std::string &, const std::string &, const std::string &)=0 |
virtual bool | resizeY (const std::string &, const std::string &, const std::string &)=0 |
void | holdSignals () |
void | releaseSignals () |
void | mark (bool set=true) |
functions added with the introduction of RegionToolManager and the unified selection and manipulation of the various region types... | |
bool | marked () const |
bool | mark_toggle () |
void | status (const std::string &msg, const std::string &type="info") |
bool | markCenter () const |
bool | skyComponent () const |
virtual void | output (ds9writer &out) const =0 |
std::pair< int, int > & | tabState () |
used to synchronize all of the RegionDock's RegionState tab configuration... | |
std::map< std::string, int > & | coordState () |
used to synchronize all of the RegionDock's RegionState coordinate configuration... | |
int & | colorIndex () |
used to synchronize the default color for all of the RegionDock's RegionState objects... | |
void | selectedCountUpdateNeeded () |
forward state update information to the dock wherere a count of selected regions, information is maintained. | |
QString | getSaveDir () |
used to synchronize all region directories per QtDisplayPanelGUI... | |
void | putSaveDir (QString) |
QString | getLoadDir () |
void | putLoadDir (QString) |
void | emitUpdate () |
called for existing regions when spectral profile tool is opened... | |
ImageRegion * | getImageRegion (DisplayData *dd) const |
int | getId () const |
Public Attributes | |
virtual void virtual refresh() DISPLAY_PURE_VIRTUAL(region AnnotationBase *annotation() const DISPLAY_PURE_VIRTUAL(region voi | selectedInCanvas )() |
DISPLAY_PURE_VIRTUAL(region::pixelCenter,);. | |
Protected Slots | |
void | refresh_canvas_event () |
void | reload_statistics_event () |
void | refresh_statistics_event (bool) |
void | refresh_position_event (bool) |
void | translate_x (const QString &, const QString &, const QString &) |
void | translate_y (const QString &, const QString &, const QString &) |
void | resize_x (const QString &, const QString &, const QString &) |
void | resize_y (const QString &, const QString &, const QString &) |
void | refresh_zrange_event (int, int) |
void | revoke_region () |
revoke... | |
void | revoke_region (QtRegionState *) |
revoke if our state matches parameter... | |
void | output (std::list< QtRegionState * >, RegionTextList &) |
void | output (std::list< QtRegionState * >, ds9writer &) |
void | updateCenterInfo () |
void | invalidateCenterInfo () |
Protected Member Functions | |
virtual ImageRegion * | get_image_region (DisplayData *) const =0 |
size_t | selected_region_count () |
size_t | marked_region_count () |
Protected Attributes | |
bool | statistics_visible |
bool | statistics_update_needed |
bool | position_visible |
bool | position_update_needed |
QtRegionSourceKernel * | source_ |
QtRegionDock * | dock_ |
QtRegionState * | mystate |
QString | name_ |
QString | color_ |
Private Member Functions | |
void | fetch_details (region::RegionTypes &type, QList< int > &pixelx, QList< int > &pixely, QList< double > &worldx, QList< double > &worldy) |
void | clear_signal_cache () |
Private Attributes | |
std::map < region::RegionChanges, bool > | held_signals |
int | hold_signals |
bool | z_index_within_range |
int | id_ |
Key points:
Definition at line 56 of file QtRegion.qo.h.
casa::viewer::QtRegion::QtRegion | ( | QtRegionSourceKernel * | factory | ) |
create a deginerate region just to gain access to the load regions dialog...
casa::viewer::QtRegion::QtRegion | ( | const QString & | nme, |
QtRegionSourceKernel * | factory, | ||
bool | hold_signals_ = false , |
||
QtMouseToolNames::PointRegionSymbols | sym = QtMouseToolNames::SYM_UNKNOWN |
||
) |
virtual casa::viewer::QtRegion::~QtRegion | ( | ) | [virtual] |
std::string casa::viewer::QtRegion::centerColor | ( | ) | const [inline] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtEllipse, casa::viewer::QtRectangle, and casa::viewer::QtPolygon.
Definition at line 81 of file QtRegion.qo.h.
References casa::viewer::QtRegionState::centerColor(), and mystate.
void casa::viewer::QtRegion::clear_signal_cache | ( | ) | [private] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtEllipse, casa::viewer::QtRectangle, and casa::viewer::QtPolygon.
int& casa::viewer::QtRegion::colorIndex | ( | ) |
used to synchronize the default color for all of the RegionDock's RegionState objects...
std::map<std::string,int>& casa::viewer::QtRegion::coordState | ( | ) |
used to synchronize all of the RegionDock's RegionState coordinate configuration...
void casa::viewer::QtRegion::emitUpdate | ( | ) |
called for existing regions when spectral profile tool is opened...
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtPolygon, casa::viewer::QtEllipse, and casa::viewer::QtRectangle.
void casa::viewer::QtRegion::fetch_details | ( | region::RegionTypes & | type, |
QList< int > & | pixelx, | ||
QList< int > & | pixely, | ||
QList< double > & | worldx, | ||
QList< double > & | worldy | ||
) | [private] |
virtual ImageRegion* casa::viewer::QtRegion::get_image_region | ( | DisplayData * | ) | const [protected, pure virtual] |
Implemented in casa::viewer::QtPoint, casa::viewer::QtRectangle, casa::viewer::QtPolygon, and casa::viewer::QtEllipse.
Referenced by getImageRegion().
virtual void casa::viewer::QtRegion::getCoordinatesAndUnits | ( | region::Coord & | c, |
region::Units & | x_units, | ||
region::Units & | y_units, | ||
std::string & | width_height_units | ||
) | const [pure virtual] |
int casa::viewer::QtRegion::getId | ( | ) | const [inline] |
Definition at line 180 of file QtRegion.qo.h.
References id_.
ImageRegion* casa::viewer::QtRegion::getImageRegion | ( | DisplayData * | dd | ) | const [inline] |
Definition at line 177 of file QtRegion.qo.h.
References get_image_region().
QString casa::viewer::QtRegion::getLoadDir | ( | ) |
virtual void casa::viewer::QtRegion::getPositionString | ( | std::string & | x, |
std::string & | y, | ||
std::string & | angle, | ||
double & | bounding_width, | ||
double & | bounding_height, | ||
region::Coord | coord = region::DefaultCoord , |
||
region::Units | x_units = region::DefaultUnits , |
||
region::Units | y_units = region::DefaultUnits , |
||
const std::string & | bounding_units = "rad" |
||
) | const [pure virtual] |
QString casa::viewer::QtRegion::getSaveDir | ( | ) |
used to synchronize all region directories per QtDisplayPanelGUI...
void casa::viewer::QtRegion::holdSignals | ( | ) | [inline] |
Definition at line 142 of file QtRegion.qo.h.
References hold_signals.
void casa::viewer::QtRegion::invalidateCenterInfo | ( | ) | [protected, slot] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtEllipse, casa::viewer::QtRectangle, and casa::viewer::QtPolygon.
std::string casa::viewer::QtRegion::lineColor | ( | ) | const [inline] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtEllipse, casa::viewer::QtRectangle, and casa::viewer::QtPolygon.
Definition at line 80 of file QtRegion.qo.h.
References casa::viewer::QtRegionState::lineColor(), and mystate.
region::LineStyle casa::viewer::QtRegion::lineStyle | ( | ) | const [inline] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtEllipse, casa::viewer::QtRectangle, and casa::viewer::QtPolygon.
Definition at line 83 of file QtRegion.qo.h.
References casa::viewer::QtRegionState::lineStyle(), and mystate.
int casa::viewer::QtRegion::lineWidth | ( | ) | const [inline] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtEllipse, casa::viewer::QtRectangle, and casa::viewer::QtPolygon.
Definition at line 82 of file QtRegion.qo.h.
References casa::viewer::QtRegionState::lineWidth(), and mystate.
void casa::viewer::QtRegion::mark | ( | bool | set = true | ) |
functions added with the introduction of RegionToolManager and the unified selection and manipulation of the various region types...
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtPolygon, casa::viewer::QtEllipse, and casa::viewer::QtRectangle.
bool casa::viewer::QtRegion::mark_toggle | ( | ) |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtPolygon, casa::viewer::QtEllipse, and casa::viewer::QtRectangle.
bool casa::viewer::QtRegion::markCenter | ( | ) | const [inline] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtPolygon, casa::viewer::QtEllipse, and casa::viewer::QtRectangle.
Definition at line 153 of file QtRegion.qo.h.
References casa::viewer::QtRegionState::markCenter(), and mystate.
bool casa::viewer::QtRegion::marked | ( | ) | const [inline] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtPolygon, casa::viewer::QtEllipse, and casa::viewer::QtRectangle.
Definition at line 148 of file QtRegion.qo.h.
References casa::viewer::QtRegionState::marked(), and mystate.
size_t casa::viewer::QtRegion::marked_region_count | ( | ) | [protected] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtRectangle, casa::viewer::QtPolygon, and casa::viewer::QtEllipse.
virtual QtMouseToolNames::PointRegionSymbols casa::viewer::QtRegion::marker | ( | ) | const [inline, virtual] |
Reimplemented in casa::viewer::QtPoint.
Definition at line 75 of file QtRegion.qo.h.
References casa::QtMouseToolNames::SYM_UNKNOWN.
int casa::viewer::QtRegion::markerScale | ( | ) | const [inline] |
Reimplemented in casa::viewer::QtPoint.
Definition at line 85 of file QtRegion.qo.h.
References casa::viewer::QtRegionState::markerScale(), and mystate.
const std::string casa::viewer::QtRegion::name | ( | ) | const [inline] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtEllipse, casa::viewer::QtRectangle, and casa::viewer::QtPolygon.
Definition at line 74 of file QtRegion.qo.h.
References name_.
int casa::viewer::QtRegion::numFrames | ( | ) | const |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtEllipse, casa::viewer::QtRectangle, and casa::viewer::QtPolygon.
virtual void casa::viewer::QtRegion::output | ( | ds9writer & | out | ) | const [pure virtual] |
Implemented in casa::viewer::QtPoint, casa::viewer::QtPolygon, casa::viewer::QtEllipse, and casa::viewer::QtRectangle.
void casa::viewer::QtRegion::output | ( | std::list< QtRegionState * > | , |
RegionTextList & | |||
) | [protected, slot] |
void casa::viewer::QtRegion::output | ( | std::list< QtRegionState * > | , |
ds9writer & | |||
) | [protected, slot] |
virtual void casa::viewer::QtRegion::pixelCenter | ( | double & | , |
double & | |||
) | const [pure virtual] |
void casa::viewer::QtRegion::putLoadDir | ( | QString | ) |
void casa::viewer::QtRegion::putSaveDir | ( | QString | ) |
void casa::viewer::QtRegion::refresh_canvas_event | ( | ) | [protected, slot] |
void casa::viewer::QtRegion::refresh_position_event | ( | bool | ) | [protected, slot] |
void casa::viewer::QtRegion::refresh_statistics_event | ( | bool | ) | [protected, slot] |
void casa::viewer::QtRegion::refresh_zrange_event | ( | int | , |
int | |||
) | [protected, slot] |
void casa::viewer::QtRegion::regionChange | ( | viewer::QtRegion * | , |
std::string | |||
) | [signal] |
void casa::viewer::QtRegion::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 | ||
) | [signal] |
void casa::viewer::QtRegion::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 | ||
) | [signal] |
void casa::viewer::QtRegion::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 | ||
) | [signal] |
generated by emitUpdate( )...
void casa::viewer::QtRegion::reload_statistics_event | ( | ) | [protected, slot] |
void casa::viewer::QtRegion::resize_x | ( | const QString & | , |
const QString & | , | ||
const QString & | |||
) | [protected, slot] |
void casa::viewer::QtRegion::resize_y | ( | const QString & | , |
const QString & | , | ||
const QString & | |||
) | [protected, slot] |
virtual bool casa::viewer::QtRegion::resizeX | ( | const std::string & | , |
const std::string & | , | ||
const std::string & | |||
) | [pure virtual] |
Implemented in casa::viewer::QtPoint, casa::viewer::QtRectangle, casa::viewer::QtEllipse, and casa::viewer::QtPolygon.
virtual bool casa::viewer::QtRegion::resizeY | ( | const std::string & | , |
const std::string & | , | ||
const std::string & | |||
) | [pure virtual] |
Implemented in casa::viewer::QtPoint, casa::viewer::QtRectangle, casa::viewer::QtEllipse, and casa::viewer::QtPolygon.
void casa::viewer::QtRegion::revoke_region | ( | ) | [protected, slot] |
revoke...
void casa::viewer::QtRegion::revoke_region | ( | QtRegionState * | ) | [protected, slot] |
revoke if our state matches parameter...
size_t casa::viewer::QtRegion::selected_region_count | ( | ) | [protected] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtRectangle, casa::viewer::QtPolygon, and casa::viewer::QtEllipse.
forward state update information to the dock wherere a count of selected regions, information is maintained.
This is used to determine the corner treatment when drawing regions...
void casa::viewer::QtRegion::selectionChanged | ( | viewer::QtRegion * | , |
bool | |||
) | [signal] |
virtual void casa::viewer::QtRegion::setAnnotation | ( | bool | ann | ) | [virtual] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtPolygon, casa::viewer::QtEllipse, and casa::viewer::QtRectangle.
virtual void casa::viewer::QtRegion::setFont | ( | const std::string & | font = "" , |
int | font_size = 0 , |
||
int | font_style = 0 , |
||
const std::string & | font_color = "" |
||
) | [virtual] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtPolygon, casa::viewer::QtEllipse, and casa::viewer::QtRectangle.
virtual void casa::viewer::QtRegion::setLabel | ( | const std::string & | l | ) | [virtual] |
set attributes when loading a casa region text file...
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtPolygon, casa::viewer::QtEllipse, and casa::viewer::QtRectangle.
void casa::viewer::QtRegion::setLabelDelta | ( | const std::vector< int > & | ) |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtPolygon, casa::viewer::QtEllipse, and casa::viewer::QtRectangle.
virtual void casa::viewer::QtRegion::setLine | ( | const std::string & | line_color = "" , |
region::LineStyle | line_style = region::SolidLine , |
||
unsigned int | line_width = 1 |
||
) | [virtual] |
virtual bool casa::viewer::QtRegion::setMarker | ( | QtMouseToolNames::PointRegionSymbols | ) | [inline, virtual] |
Reimplemented in casa::viewer::QtPoint.
Definition at line 77 of file QtRegion.qo.h.
void casa::viewer::QtRegion::setMarkerScale | ( | int | v | ) | [inline] |
Definition at line 86 of file QtRegion.qo.h.
References mystate, and casa::viewer::QtRegionState::setMarkerScale().
bool casa::viewer::QtRegion::skyComponent | ( | ) | const [inline] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtPolygon, casa::viewer::QtEllipse, and casa::viewer::QtRectangle.
Definition at line 155 of file QtRegion.qo.h.
References mystate, and casa::viewer::QtRegionState::skyComponent().
QtRegionState* casa::viewer::QtRegion::state | ( | ) | [inline] |
needed for writing out a list of regions (CASA or DS9 format) because the output is based upon QtRegionState pointers (because that is what is available to the QtRegionDock...
this should be rectified to use a list of QtRegion pointers for region output...
Definition at line 72 of file QtRegion.qo.h.
References mystate.
void casa::viewer::QtRegion::statisticsUpdateNeeded | ( | ) | [inline] |
Definition at line 126 of file QtRegion.qo.h.
References statistics_update_needed.
void casa::viewer::QtRegion::status | ( | const std::string & | msg, |
const std::string & | type = "info" |
||
) |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtPolygon, casa::viewer::QtEllipse, and casa::viewer::QtRectangle.
std::pair<int,int>& casa::viewer::QtRegion::tabState | ( | ) |
used to synchronize all of the RegionDock's RegionState tab configuration...
std::string casa::viewer::QtRegion::textColor | ( | ) | const [inline] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtRectangle, casa::viewer::QtEllipse, and casa::viewer::QtPolygon.
Definition at line 88 of file QtRegion.qo.h.
References mystate, and casa::viewer::QtRegionState::textColor().
std::string casa::viewer::QtRegion::textFont | ( | ) | const [inline] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtRectangle, casa::viewer::QtEllipse, and casa::viewer::QtPolygon.
Definition at line 89 of file QtRegion.qo.h.
References mystate, and casa::viewer::QtRegionState::textFont().
int casa::viewer::QtRegion::textFontSize | ( | ) | const [inline] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtRectangle, casa::viewer::QtEllipse, and casa::viewer::QtPolygon.
Definition at line 90 of file QtRegion.qo.h.
References mystate, and casa::viewer::QtRegionState::textFontSize().
int casa::viewer::QtRegion::textFontStyle | ( | ) | const [inline] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtRectangle, casa::viewer::QtEllipse, and casa::viewer::QtPolygon.
Definition at line 91 of file QtRegion.qo.h.
References mystate, and casa::viewer::QtRegionState::textFontStyle().
region::TextPosition casa::viewer::QtRegion::textPosition | ( | ) | const [inline] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtRectangle, casa::viewer::QtEllipse, and casa::viewer::QtPolygon.
Definition at line 93 of file QtRegion.qo.h.
References mystate, and casa::viewer::QtRegionState::textPosition().
void casa::viewer::QtRegion::textPositionDelta | ( | int & | x, |
int & | y | ||
) | const [inline] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtRectangle, casa::viewer::QtEllipse, and casa::viewer::QtPolygon.
Definition at line 94 of file QtRegion.qo.h.
References mystate, and casa::viewer::QtRegionState::textPositionDelta().
std::string casa::viewer::QtRegion::textValue | ( | ) | const [inline] |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtRectangle, casa::viewer::QtEllipse, and casa::viewer::QtPolygon.
Definition at line 92 of file QtRegion.qo.h.
References mystate, and casa::viewer::QtRegionState::textValue().
void casa::viewer::QtRegion::translate_x | ( | const QString & | , |
const QString & | , | ||
const QString & | |||
) | [protected, slot] |
void casa::viewer::QtRegion::translate_y | ( | const QString & | , |
const QString & | , | ||
const QString & | |||
) | [protected, slot] |
virtual bool casa::viewer::QtRegion::translateX | ( | const std::string & | , |
const std::string & | , | ||
const std::string & | |||
) | [pure virtual] |
Implemented in casa::viewer::QtPoint, casa::viewer::QtRectangle, casa::viewer::QtEllipse, and casa::viewer::QtPolygon.
virtual bool casa::viewer::QtRegion::translateY | ( | const std::string & | , |
const std::string & | , | ||
const std::string & | |||
) | [pure virtual] |
Implemented in casa::viewer::QtPoint, casa::viewer::QtRectangle, casa::viewer::QtEllipse, and casa::viewer::QtPolygon.
void casa::viewer::QtRegion::updateCenterInfo | ( | ) | [protected, slot] |
void casa::viewer::QtRegion::updateStateInfo | ( | bool | region_modified, |
region::RegionChanges | |||
) |
indicates that region movement requires the update of state information...
void casa::viewer::QtRegion::weaklySelect | ( | ) |
Reimplemented in casa::viewer::QtPolygon, casa::viewer::QtPoint, casa::viewer::QtEllipse, and casa::viewer::QtRectangle.
bool casa::viewer::QtRegion::weaklySelected | ( | ) | const |
is this region weakly or temporarily selected?
Reimplemented in casa::viewer::QtPolygon, casa::viewer::QtPoint, casa::viewer::QtEllipse, and casa::viewer::QtRectangle.
Reimplemented in casa::viewer::QtPolygon, casa::viewer::QtPoint, casa::viewer::QtEllipse, and casa::viewer::QtRectangle.
void casa::viewer::QtRegion::zRange | ( | int & | x, |
int & | y | ||
) | const |
Reimplemented in casa::viewer::QtPoint, casa::viewer::QtEllipse, casa::viewer::QtRectangle, and casa::viewer::QtPolygon.
QString casa::viewer::QtRegion::color_ [protected] |
Definition at line 262 of file QtRegion.qo.h.
QtRegionDock* casa::viewer::QtRegion::dock_ [protected] |
Definition at line 259 of file QtRegion.qo.h.
std::map<region::RegionChanges,bool> casa::viewer::QtRegion::held_signals [private] |
Definition at line 265 of file QtRegion.qo.h.
int casa::viewer::QtRegion::hold_signals [private] |
Definition at line 268 of file QtRegion.qo.h.
Referenced by holdSignals().
int casa::viewer::QtRegion::id_ [private] |
Definition at line 270 of file QtRegion.qo.h.
Referenced by getId().
QtRegionState* casa::viewer::QtRegion::mystate [protected] |
Definition at line 260 of file QtRegion.qo.h.
Referenced by centerColor(), lineColor(), lineStyle(), lineWidth(), markCenter(), marked(), markerScale(), setMarkerScale(), skyComponent(), state(), textColor(), textFont(), textFontSize(), textFontStyle(), textPosition(), textPositionDelta(), and textValue().
QString casa::viewer::QtRegion::name_ [protected] |
Definition at line 261 of file QtRegion.qo.h.
Referenced by name().
bool casa::viewer::QtRegion::position_update_needed [protected] |
Definition at line 256 of file QtRegion.qo.h.
bool casa::viewer::QtRegion::position_visible [protected] |
Definition at line 255 of file QtRegion.qo.h.
virtual void virtual refresh ( ) DISPLAY_PURE_VIRTUAL(region AnnotationBase* annotation ( ) const DISPLAY_PURE_VIRTUAL(region voi casa::viewer::QtRegion::selectedInCanvas)() |
DISPLAY_PURE_VIRTUAL(region::pixelCenter,);.
indicates that the user has selected this rectangle...
Definition at line 118 of file QtRegion.qo.h.
QtRegionSourceKernel* casa::viewer::QtRegion::source_ [protected] |
Definition at line 258 of file QtRegion.qo.h.
bool casa::viewer::QtRegion::statistics_update_needed [protected] |
Definition at line 254 of file QtRegion.qo.h.
Referenced by statisticsUpdateNeeded().
bool casa::viewer::QtRegion::statistics_visible [protected] |
Definition at line 253 of file QtRegion.qo.h.
bool casa::viewer::QtRegion::z_index_within_range [private] |
Definition at line 269 of file QtRegion.qo.h.