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

#include <QtRegionState.qo.h>

Inheritance diagram for casa::viewer::QtPVLineState:
casa::viewer::QtRegionState

Public Member Functions

 QtPVLineState (const QString &name, QtMouseToolNames::PointRegionSymbols sym=QtMouseToolNames::SYM_UNKNOWN, Region *region=0, QWidget *parent=0)
 
QString STATISTICS_MODE () const
 
- Public Member Functions inherited from casa::viewer::QtRegionState
void init ()
 initializing the display depends upon having signals & slots connected which cannot happen until after the ctor of QtRegionState... More...
 
 QtRegionState (const QString &name, QtMouseToolNames::PointRegionSymbols sym=QtMouseToolNames::SYM_UNKNOWN, Region *region=0, QWidget *parent=0)
 
 ~QtRegionState ()
 
bool statisticsIsVisible ()
 
Regionregion ()
 
void setRegion (Region *r)
 
void updateCoord ()
 
void updateStatistics ()
 
void updateStatistics (std::list< std::shared_ptr< RegionInfo > > *stats)
 
void updateFrameInformation (int count)
 
void reloadStatistics ()
 
void updateCenters (std::list< std::shared_ptr< RegionInfo > > *centers)
 
void setCenterBackground (QString background)
 
void clearStatistics ()
 
void addHistogram (QWidget *histogram)
 
void updateStackOrder (int firstImage)
 
int getStackIndex () const
 
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
 
void setTextValue (const std::string &l)
 
void setTextPosition (region::TextPosition)
 
void setTextDelta (const std::vector< int > &)
 
void setTextFont (const std::string &f)
 
void setTextFontSize (int s)
 
void setTextFontStyle (int s)
 
void setTextColor (const std::string &)
 
void setLineColor (const std::string &)
 
void setLineStyle (region::LineStyle)
 
void setLineWidth (unsigned int)
 
void setAnnotation (bool)
 
void disableAnnotation (bool)
 
int zMin () const
 
int zMax () const
 
int numFrames () const
 
bool isAnnotation () const
 
void reset (const QString &name, Region *r)
 reset the widget to its original state... More...
 
void getCoordinatesAndUnits (region::Coord &c, region::Units &xu, region::Units &yu, std::string &bounding_units) const
 
void setCoordinatesAndUnits (region::Coord c, region::Units x_units, region::Units y_units, const std::string &bounding_units)
 
void updatePosition (const QString &x, const QString &y, const QString &angle, const QString &bounding_width, const QString &bounding_height)
 
void noOutputNotify ()
 may be called after "outputRegions" signal to notify the user that no regions were selected for output... More...
 
void mark (bool set=true)
 functions added with the introduction of RegionToolManager and the unified selection and manipulation of the various region types... More...
 
bool marked () const
 
bool markCenter () const
 
bool skyComponent () const
 
bool mark_toggle ()
 
void nowVisible ()
 
QPushButton * getFitButton ()
 
void emitRefresh ()
 
std::string mode () const
 return the current information mode of the region state, e.g. More...
 
virtual QString HISTOGRAM_MODE () const
 
virtual QString FILE_MODE () const
 
virtual QString FIT_MODE () const
 
virtual QString PROPERTIES_MODE () const
 

Additional Inherited Members

- Public Slots inherited from casa::viewer::QtRegionState
void stackChange (QWidget *)
 
- Signals inherited from casa::viewer::QtRegionState
void regionChange (viewer::Region *, std::string)
 
void refreshCanvas ()
 
void statisticsVisible (bool)
 
void collectStatistics ()
 
void updateHistogram ()
 
void positionVisible (bool)
 
void translateX (const QString &, const QString &, const QString &)
 
void translateY (const QString &, const QString &, const QString &)
 
void resizeX (const QString &, const QString &, const QString &)
 
void resizeY (const QString &, const QString &, const QString &)
 
void zRange (int z_min, int z_max)
 
void outputRegions (const QString &what, const QString &name, const QString &type, const QString &csys)
 
void loadRegions (const QString &path, const QString &type)
 
- Public Attributes inherited from casa::viewer::QtRegionState
const std::string LINE_COLOR_CHANGE
 
- Protected Types inherited from casa::viewer::QtRegionState
typedef std::list
< QtRegionStats * > 
freestat_list
 
- Protected Slots inherited from casa::viewer::QtRegionState
void state_change (int)
 updates canvas with any line changes More...
 
void state_change_region_mark (int)
 
void color_state_change (int)
 
void state_change (bool)
 
void state_change (const QString &)
 
void states_change (int)
 
void states_val_change (int)
 
void coordsys_change (const QString &text)
 
void translate_x ()
 
void translate_y ()
 
void resize_x ()
 
void resize_y ()
 
void category_change (int)
 
void filetab_change (int)
 
void line_color_change (const QString &)
 keeps text color in sync with line color (if they were the same before) More...
 
QString default_extension (const QString &)
 
void update_default_file_extension (const QString &)
 
void update_save_type (const QString &)
 
void save_region (bool)
 
void update_load_type (const QString &)
 
void load_regions (bool)
 
void frame_min_change (int)
 
void frame_max_change (int)
 
void save_browser (bool)
 
void load_browser (bool)
 
void set_point_region_marker (int)
 
- Protected Member Functions inherited from casa::viewer::QtRegionState
std::string bounding_index_to_string (int index) const
 
void clearRegion ()
 
- Protected Attributes inherited from casa::viewer::QtRegionState
int selected_statistics
 keep track of which set of statistics where selected when refreshing all... More...
 
QString last_line_color
 
Regionregion_
 
- Static Protected Attributes inherited from casa::viewer::QtRegionState
static freestat_listfreestats
 
static freestat_listfreecenters
 

Detailed Description

Definition at line 262 of file QtRegionState.qo.h.

Constructor & Destructor Documentation

casa::viewer::QtPVLineState::QtPVLineState ( const QString &  name,
QtMouseToolNames::PointRegionSymbols  sym = QtMouseToolNames::SYM_UNKNOWN,
Region region = 0,
QWidget *  parent = 0 
)

Member Function Documentation

QString casa::viewer::QtPVLineState::STATISTICS_MODE ( ) const
inlinevirtual

Reimplemented from casa::viewer::QtRegionState.

Definition at line 268 of file QtRegionState.qo.h.


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