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

Simple implementation of a cached DisplayData for sky catalogue overlays. More...

#include <SkyCatOverlayDD.h>

Inheritance diagram for casa::SkyCatOverlayDD:
casa::PassiveTableDD casa::PassiveCachingDD casa::CachingDisplayData casa::DisplayData casa::DisplayOptions casa::DisplayEH casa::DlTarget

Public Member Functions

 SkyCatOverlayDD (casacore::Table *table)
 Constructor taking a pointer to an already constructed Table. More...
 
 SkyCatOverlayDD (const casacore::String tablename)
 Constructor taking a casacore::String which describes the full pathname of a casacore::Table on disk. More...
 
virtual ~SkyCatOverlayDD ()
 Destructor. More...
 
virtual void setDefaultOptions ()
 Install the default options for this DisplayData. More...
 
virtual casacore::Bool setOptions (casacore::Record &rec, casacore::Record &recOut)
 Apply options stored in rec to the DisplayData. More...
 
virtual casacore::Record getOptions (bool scrub=false) const
 Retrieve the current and default options and parameter types. More...
 
virtual Display::DisplayDataType classType ()
 Return the type of this DisplayData. More...
 
casacore::String dataType () const
 Pure virtual function from DisplayData... More...
 
virtual CachingDisplayMethodnewDisplayMethod (WorldCanvas *worldCanvas, AttributeBuffer *wchAttributes, AttributeBuffer *ddAttributes, CachingDisplayData *dd)
 Create a new AxesDisplayMethod for drawing on the given WorldCanvas when the AttributeBuffers are suitably matched to the current state of this DisplayData and of the WorldCanvas/Holder. More...
 
virtual AttributeBuffer optionsAsAttributes ()
 Return the current options of this DisplayData as an AttributeBuffer. More...
 
virtual casacore::String nameColumn () const
 Get the column name for text labelling. More...
 
virtual casacore::Float lineWidth () const
 Get the line width for labelling. More...
 
virtual Display::Marker markerType () const
 Get the marker type, size and color. More...
 
virtual casacore::Int markerSize () const
 
virtual casacore::String markerColor () const
 
virtual casacore::String mapColumn () const
 Get the column name for value-size mapping. More...
 
virtual casacore::String charFont () const
 Get the character font, size, color and angle for labelling. More...
 
virtual casacore::Float charSize () const
 
virtual casacore::String charColor () const
 
virtual casacore::Int charAngle () const
 
virtual casacore::Float labelXOffset () const
 Get the label x and y offsets (in character height). More...
 
virtual casacore::Float labelYOffset () const
 
virtual casacore::Bool conformsToCS (const WorldCanvas &wch)
 Determine ability to draw, given current canvas coordinate state. More...
 
std::string errorMessage () const
 
- Public Member Functions inherited from casa::PassiveTableDD
 PassiveTableDD (casacore::Table *table)
 Constructor taking a pointer to an already constructed Table. More...
 
 PassiveTableDD (const casacore::String tablename)
 Constructor taking a casacore::String which describes the full pathname of a casacore::Table on disk. More...
 
virtual ~PassiveTableDD ()
 Destructor. More...
 
- Public Member Functions inherited from casa::PassiveCachingDD
 PassiveCachingDD ()
 Constructor. More...
 
virtual ~PassiveCachingDD ()
 Destructor. More...
 
virtual casacore::Bool linToWorld (casacore::Vector< casacore::Double > &world, const casacore::Vector< casacore::Double > &lin)
 casacore::Coordinate transformation handlers, called by WorldCanvasHolder. More...
 
virtual casacore::Bool worldToLin (casacore::Vector< casacore::Double > &lin, const casacore::Vector< casacore::Double > &world)
 
virtual casacore::String showPosition (const casacore::Vector< casacore::Double > &world, const casacore::Bool &displayAxesOnly=false)
 casacore::Format a string containing coordinate or value information at the given world coordinate. More...
 
virtual casacore::String showValue (const casacore::Vector< casacore::Double > &world)
 casacore::Format a string containing value information at the given world coordinate More...
 
virtual casacore::Vector
< casacore::String
worldAxisNames () const
 World axis information suppliers. More...
 
virtual casacore::Vector
< casacore::String
worldAxisUnits () const
 
const casacore::Unit dataUnit () const
 
const casacore::IPosition dataShape () const
 
casacore::uInt dataDim () const
 
std::vector< int > displayAxes () const
 
virtual casacore::uInt nelements (const WorldCanvasHolder &wcHolder) const
 Return the number of display elements (ie. More...
 
virtual casacore::uInt nelements () const
 and non-specific More...
 
virtual void refreshEH (const WCRefreshEvent &ev)
 Negotiatiate WorldCanvas linear coordinate system when asked to do so by the WorldCanvasHolder. More...
 
virtual casacore::Bool sizeControl (WorldCanvasHolder &, AttributeBuffer &)
 Set (coordinate) state of WCH's WC. More...
 
virtual void cleanup ()
 Tidy up the elements of this DisplayData. More...
 
- Public Member Functions inherited from casa::CachingDisplayData
 CachingDisplayData ()
 Constructor. More...
 
virtual ~CachingDisplayData ()
 Destructor. More...
 
virtual void notifyRegister (WorldCanvasHolder *wcHolder)
 
virtual void notifyUnregister (WorldCanvasHolder &wcHolder, casacore::Bool ignoreRefresh=false)
 ignoreRefresh tells the DD not to refresh just to clean up DMs More...
 
virtual void setColormap (Colormap *cmap, casacore::Float weight)
 Purges cache, to avoid reusing images with the wrong colormap, then calls base class version. More...
 
virtual void purgeCache ()
 Empty cache completely. More...
 
virtual void purgeCache (const WorldCanvasHolder &wch)
 Empty cache of all DMs for a given WCH. More...
 
- Public Member Functions inherited from casa::DisplayData
 DisplayData ()
 (Required) default constructor. More...
 
virtual ~DisplayData ()
 required destructor More...
 
virtual void setDisplayState (DisplayState s)
 
virtual DisplayState getDisplayState () const
 
virtual bool isDisplayable () const
 
virtual void addRestrictions (AttributeBuffer &otherBuf)
 Add general restrictions or a restriction for item itemNum of this DisplayData. More...
 
virtual void addRestriction (Attribute &newRestriction, casacore::Bool permanent)
 
virtual void addElementRestrictions (const casacore::uInt itemNum, AttributeBuffer &other)
 
virtual void addElementRestriction (const casacore::uInt itemNum, Attribute &newRestriction, casacore::Bool permanent)
 
virtual void setRestrictions (AttributeBuffer &otherBuf)
 Set general restrictions or a restriction for item itemNum of this DisplayData. More...
 
virtual void setRestriction (Attribute &newRestriction)
 
virtual void setElementRestrictions (const casacore::uInt itemNum, AttributeBuffer &other)
 
virtual void setElementRestriction (const casacore::uInt itemNum, Attribute &newRestriction)
 
virtual void removeRestriction (const casacore::String &name)
 Remove a general restriction or a restriction from item itemNum More...
 
virtual void removeElementRestriction (const casacore::uInt itemNum, const casacore::String &name)
 
virtual void clearRestrictions ()
 Clear all general restrictions or all restrictions of item itemNum (except the ones that are permanent of course...) More...
 
virtual void clearElementRestrictions (const casacore::uInt itemNum)
 
virtual casacore::Bool existRestriction (const casacore::String &name)
 Check if a general restriction or a restriction for item itemNum with name name exists. More...
 
virtual casacore::Bool existElementRestriction (const casacore::uInt itemNum, const casacore::String &name)
 
virtual AttributeBufferrestrictionBuffer ()
 Get a handle to the buffer of general restrictions or of the buffer of restrictions for item itemNum More...
 
virtual AttributeBufferelementRestrictionBuffer (const casacore::uInt itemNum)
 
virtual casacore::Bool conformsTo (const WorldCanvas *wCanvas)
 Check whether the DD is is compatible with all WC[H] state, including its coordinate state, restrictions, and zIndex (if any). More...
 
virtual casacore::Bool conformsTo (const WorldCanvas &wc)
 
virtual casacore::Bool conformsToRstrs (const WorldCanvas &wc)
 Determine whether DD restrictions are in conformance with restrictions on the given WCH. More...
 
virtual casacore::Bool conformsToZIndex (const WorldCanvas &wc)
 Determine whether DD is compatible with the current canvas animation (zIndex) position. More...
 
virtual casacore::Int activeZIndex (const WorldCanvas *wc=0)
 Retrieve 'Active' zIndex. More...
 
virtual casacore::Bool getFirstZIndex (int &firstZIndex, casacore::Int axZrng=-1) const
 Set firstZIndex to minimum zIndex setting from all canvases where this DD is registered. More...
 
virtual void addPositionEventHandler (WCPositionEH *positionHandler)
 Add event handlers on the DisplayData. More...
 
virtual void addMotionEventHandler (WCMotionEH *motionHandler)
 
virtual void addRefreshEventHandler (WCRefreshEH *refreshHandler)
 
virtual void addDisplayEventHandler (DisplayEH *displayHandler)
 
virtual void removePositionEventHandler (WCPositionEH &positionHandler)
 Remove eventhandlers. More...
 
virtual void removeMotionEventHandler (WCMotionEH &motionHandler)
 
virtual void removeRefreshEventHandler (WCRefreshEH &refreshHandler)
 
virtual void removeDisplayEventHandler (DisplayEH &displayHandler)
 
virtual void removeColormap ()
 
virtual Colormapcolormap () const
 
void setAttribute (Attribute &at)
 set an Attribute or Attributes More...
 
void setAttributes (AttributeBuffer &at)
 
casacore::Bool getAttributeValue (const casacore::String &name, casacore::uInt &newValue)
 User interface to get value from the attribute buffer. More...
 
casacore::Bool getAttributeValue (const casacore::String &name, casacore::Int &newValue)
 
casacore::Bool getAttributeValue (const casacore::String &name, casacore::Float &newValue)
 
casacore::Bool getAttributeValue (const casacore::String &name, casacore::Double &newValue)
 
casacore::Bool getAttributeValue (const casacore::String &name, casacore::Bool &newValue)
 
casacore::Bool getAttributeValue (const casacore::String &name, casacore::String &newValue)
 
casacore::Bool getAttributeValue (const casacore::String &name, casacore::Vector< casacore::uInt > &newValue)
 
casacore::Bool getAttributeValue (const casacore::String &name, casacore::Vector< casacore::Int > &newValue)
 
casacore::Bool getAttributeValue (const casacore::String &name, casacore::Vector< casacore::Float > &newValue)
 
casacore::Bool getAttributeValue (const casacore::String &name, casacore::Vector< casacore::Double > &newValue)
 
casacore::Bool getAttributeValue (const casacore::String &name, casacore::Vector< casacore::Bool > &newValue)
 
casacore::Bool getAttributeValue (const casacore::String &name, casacore::Vector< casacore::String > &newValue)
 
casacore::Bool existsAttribute (casacore::String &name)
 Check if a certain Attribute exists. More...
 
void removeAttribute (casacore::String &name)
 Remove an Attribute. More...
 
AttValue::ValueType attributeType (casacore::String &name)
 Get the type of the Attribute. More...
 
void setAttributeOnPrimaryWCHs (Attribute &at)
 Set an attribute on any WorldCanvas for which this DD is CS master. More...
 
virtual void removeFromAllWCHs ()
 remove this DD everywhere–will stop any more refresh handling by the DD. More...
 
virtual void refresh (casacore::Bool clean=false)
 an explicit refresh: should be called if the DisplayData is changed such that drawing is required. More...
 
virtual casacore::Bool labelAxes (const WCRefreshEvent &ev)
 an explicit request to draw the axes and/or labels. More...
 
virtual casacore::Bool canLabelAxes () const
 
virtual casacore::String className () const
 Return the class name of this DisplayData; useful mostly for debugging purposes, and perhaps future use in the glish widget interface. More...
 
virtual casacore::String description () const
 
virtual ImageAnalysis * imageanalysis () const
 Get image analyis about images... More...
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
imageinterface ()
 Returns a pointer that should not be deleted... More...
 
virtual void setSubstituteTitleText (const casacore::String)
 
const WorldCanvasHolderfindHolder (const WorldCanvas *wCanvas) const
 Identify the WorldCanvasHolder for the given WorldCanvas. More...
 
WorldCanvasHolderfindHolder (const WorldCanvas *wCanvas)
 
virtual casacore::Block
< casacore::Int
allZIndices (casacore::Int axZrng=-1) const
 Return a sorted casacore::Block of all animation frame numbers currently set onto all WCHs where this DD is registered. More...
 
virtual casacore::Bool zIndexHint (casacore::Int &) const
 Will be called just before registering the [GTk]DD on a [GTk]PanelDisplay which has none registered on it yet. More...
 
virtual void handleEvent (DisplayEvent &ev)
 Overide DisplayEH::handleEvent. More...
 
virtual casacore::Bool isCSmaster (const WorldCanvasHolder *wch=0) const
 Is this DD the CS master of the passed WCH? Defaulting wch to 0 asks whether this DD is CS master of some WCH on which it is registered. More...
 
virtual casacore::Int uiBase () const
 DD 'Absolute Pixel Coordinates', e.g. More...
 
virtual void setUIBase (casacore::Int uibase)
 
virtual casacore::Bool getDelTmpData ()
 Get and set method for the flag. More...
 
virtual void setDelTmpData (casacore::Bool delTmpData)
 
virtual void setDisplayDataRed (DisplayData *)
 
virtual void setDisplayDataBlue (DisplayData *)
 
virtual void setDisplayDataGreen (DisplayData *)
 
- Public Member Functions inherited from casa::DisplayOptions
 DisplayOptions ()
 Constructor. More...
 
virtual ~DisplayOptions ()
 Destructor. More...
 
template<class T >
casacore::Bool readOptionRecord (casacore::Vector< T > &target, casacore::Bool &error, const casacore::Record &rec, const casacore::String &fieldname) const
 Find the field fieldname in casacore::Record rec, containing the requested type (casacore::Bool, casacore::String, casacore::Float, casacore::Int) in itself or its "value" sub-field, and return the value in target. More...
 
template<class T >
casacore::Bool readOptionRecord (T &target, casacore::Bool &error, const casacore::Record &rec, const casacore::String &fieldname) const
 
virtual casacore::Bool readOptionRecord (casacore::String &target, casacore::Bool &unsetTarget, casacore::Bool &error, const casacore::Record &rec, const casacore::String &fieldname) const
 Find the field fieldname in casacore::Record rec, containing the requested type (casacore::String) in itself or its "value" sub-field, and return the value in target. More...
 
casacore::Record unset () const
 Return a casacore::Record which is an "unset" casacore::Record, ie. More...
 
casacore::Bool isUnset (const casacore::Record &rec) const
 Return true or false indicating if the provided casacore::Record is equal to an "unset" Record. More...
 
- Public Member Functions inherited from casa::DisplayEH
virtual ~DisplayEH ()
 
- Public Member Functions inherited from casa::DlTarget
 DlTarget ()
 
 DlTarget (const DlTarget &)
 
virtual ~DlTarget ()
 
void reg (DlHandleBase *p)
 
void unreg (DlHandleBase *p)
 

Protected Member Functions

 SkyCatOverlayDD ()
 (Required) default constructor. More...
 
 SkyCatOverlayDD (const SkyCatOverlayDD &other)
 (Required) copy constructor. More...
 
void operator= (const SkyCatOverlayDD &other)
 (Required) copy assignment. More...
 
virtual casacore::Bool determineDirectionColumnMapping ()
 Attempt to determine which columns map to longitude, latitude, and type. More...
 
casacore::Unit columnUnit (const casacore::String columnName) const
 Return the unit of a given column in the table. More...
 
- Protected Member Functions inherited from casa::PassiveTableDD
template<class T >
casacore::Bool getTableKeyword (T &value, const casacore::String keyword) const
 Get the value of the named keyword, or the first keyword matching regex, and return it in value. More...
 
template<class T >
casacore::Bool getTableKeyword (T &value, const casacore::Regex &regex) const
 
template<class T >
casacore::Bool getColumnKeyword (T &value, const casacore::String column, const casacore::String keyword) const
 Get the value of the named keyword, or the first keyword matching regex for the named column, and return it in value. More...
 
template<class T >
casacore::Bool getColumnKeyword (T &value, const casacore::String column, const casacore::Regex &regex) const
 
casacore::Vector
< casacore::String
getColumnNamesOfType (const casacore::DataType type)
 Get the names of the columns of the table having the given type. More...
 
casacore::Tabletable ()
 Return the casacore::Table pointer for use by derived classes. More...
 
 PassiveTableDD ()
 (Required) default constructor. More...
 
 PassiveTableDD (const PassiveTableDD &other)
 (Required) copy constructor. More...
 
void operator= (const PassiveTableDD &other)
 (Required) copy assignment. More...
 
- Protected Member Functions inherited from casa::PassiveCachingDD
 PassiveCachingDD (const PassiveCachingDD &other)
 (Required) copy constructor. More...
 
void operator= (const PassiveCachingDD &other)
 (Required) copy assignment. More...
 
- Protected Member Functions inherited from casa::CachingDisplayData
virtual void setCaching (const casacore::Bool caching)
 Return any additional Attributes to consider when searching the cache. More...
 
 CachingDisplayData (const CachingDisplayData &other)
 (Required) copy constructor. More...
 
void operator= (const CachingDisplayData &other)
 (Required) copy assignment. More...
 
- Protected Member Functions inherited from casa::DisplayData
virtual casacore::Bool setActiveZIndex_ (casacore::Int zindex)
 DDs may override to adjust the internal stored current animation index (activeZIndex_) if necessary, and to set return value false iff the passed zindex won't work for the DD. More...
 
casacore::Bool conformed ()
 Returns result of last call to conformsTo(WCH&). More...
 
casacore::Bool isCsAndZIndexConformed ()
 Added so that when two images are loaded with no velocity alignment, they can still show their position coordinates without having to be rstrsConformed. More...
 
virtual void delTmpData (casacore::String &tmpData)
 Delete temporary data. More...
 
virtual const std::list
< WCPositionEH * > * 
positionEventHandlerList ()
 Retrieve position, motion, refresh and display event handler lists. More...
 
virtual const std::list
< WCMotionEH * > * 
motionEventHandlerList ()
 
virtual const std::list
< WCRefreshEH * > * 
refreshEventHandlerList ()
 
virtual const std::list
< DisplayEH * > * 
displayEventHandlerList ()
 
virtual void positionEH (const WCPositionEvent &ev)
 Position, motion and refresh event handlers that will generally be called by a WorldCanvasHolder. More...
 
virtual void motionEH (const WCMotionEvent &ev)
 
 DisplayData (const DisplayData &other)
 (Required) copy constructor. More...
 
void operator= (const DisplayData &other)
 (Required) copy assignment. More...
 
- Protected Member Functions inherited from casa::DisplayOptions
 DisplayOptions (const DisplayOptions &other)
 (Required) copy constructor. More...
 
void operator= (const DisplayOptions &other)
 (Required) copy assignment. More...
 

Private Member Functions

void constructParameters ()
 Construct and destruct the parameter set. More...
 
void destructParameters ()
 

Private Attributes

casacore::Vector
< casacore::String
itsColumnNames
 Store the column names here. More...
 
casacore::String itsLongitudeColumn
 
Option: what type of coordinates are provided?

casacore::String itsCoordinateType; More...

 
casacore::Unit itsLongitudeUnit
 
casacore::String itsLatitudeColumn
 Which column is mapped to the latitude coordinate, and what is its unit? More...
 
casacore::Unit itsLatitudeUnit
 
casacore::String itsDirectionTypeColumn
 Which column is mapped to epoch. More...
 
DParameterChoiceitsParamNameColumn
 Option: which column is mapped to the name? More...
 
DParameterRange< casacore::Int > * itsParamLineWidth
 plot line width More...
 
DParameterMapKeyChoiceitsParamMarkerType
 Marker type, size and color. More...
 
DParameterRange< casacore::Int > * itsParamMarkerSize
 
DParameterColorChoiceitsParamMarkerColor
 
DParameterChoiceitsParamMapColumn
 
DParameterChoiceitsParamCharacterFont
 Labelling character font, size, color and angle. More...
 
DParameterRange
< casacore::Float > * 
itsParamCharacterSize
 
DParameterColorChoiceitsParamCharacterColor
 
DParameterRange< casacore::Int > * itsParamCharacterAngle
 
DParameterRange
< casacore::Float > * 
itsParamLabelXOffset
 Labelling character offsets in character height units. More...
 
DParameterRange
< casacore::Float > * 
itsParamLabelYOffset
 

Friends

class SkyCatOverlayDM
 Allow the DisplayMethod to access the private data. More...
 

Additional Inherited Members

- Public Types inherited from casa::DisplayData
enum  DisplayState {
  DISPLAYED,
  UNDISPLAYED,
  LIMBO
}
 
- Static Public Attributes inherited from casa::DisplayData
static const casacore::String DATA_MIN
 
static const casacore::String DATA_MAX
 
- Protected Attributes inherited from casa::CachingDisplayData
casacore::Bool restorePCColormap_
 The default is false. More...
 
- Protected Attributes inherited from casa::DisplayData
AttributeBuffer restrictions
 The Book says that we should not put data members in class that is supposed to only define an interface, but by putting these here, we can implement some of the restriction & eventhandling stuff so that people do not have to repeat it. More...
 
AttributeBuffer attributes
 buffer for storing Attributes More...
 
casacore::PtrBlock< void * > DDelement
 list of DisplayDataElements, which are of type DisplayMethod or derived More...
 
casacore::Int activeZIndex_
 Indicates the 'current' animation frame, i.e. More...
 
casacore::Bool delTmpData_
 Flag indicating that temporary data should be removed when deleting the object. More...
 
casacore::Bool rstrsConformed_
 Somewhat limited-use state, saved here for 'efficiency'. More...
 
casacore::Bool csConformed_
 
casacore::Bool zIndexConformed_
 

Detailed Description

Simple implementation of a cached DisplayData for sky catalogue overlays.

Definition at line 53 of file SkyCatOverlayDD.h.

Constructor & Destructor Documentation

casa::SkyCatOverlayDD::SkyCatOverlayDD ( casacore::Table table)

Constructor taking a pointer to an already constructed Table.

casa::SkyCatOverlayDD::SkyCatOverlayDD ( const casacore::String  tablename)

Constructor taking a casacore::String which describes the full pathname of a casacore::Table on disk.

virtual casa::SkyCatOverlayDD::~SkyCatOverlayDD ( )
virtual

Destructor.

casa::SkyCatOverlayDD::SkyCatOverlayDD ( )
protected

(Required) default constructor.

casa::SkyCatOverlayDD::SkyCatOverlayDD ( const SkyCatOverlayDD other)
protected

(Required) copy constructor.

Member Function Documentation

virtual casacore::Int casa::SkyCatOverlayDD::charAngle ( ) const
inlinevirtual
virtual casacore::String casa::SkyCatOverlayDD::charColor ( ) const
inlinevirtual

Definition at line 140 of file SkyCatOverlayDD.h.

References itsParamCharacterColor, and casa::DParameterChoice::value().

virtual casacore::String casa::SkyCatOverlayDD::charFont ( ) const
inlinevirtual

Get the character font, size, color and angle for labelling.

Definition at line 134 of file SkyCatOverlayDD.h.

References itsParamCharacterFont, and casa::DParameterChoice::value().

virtual casacore::Float casa::SkyCatOverlayDD::charSize ( ) const
inlinevirtual
virtual Display::DisplayDataType casa::SkyCatOverlayDD::classType ( )
inlinevirtual

Return the type of this DisplayData.

Implements casa::DisplayData.

Definition at line 80 of file SkyCatOverlayDD.h.

References casa::Display::CanvasAnnotation.

casacore::Unit casa::SkyCatOverlayDD::columnUnit ( const casacore::String  columnName) const
protected

Return the unit of a given column in the table.

This is extracted from the first column keyword matching the pattern ^[uU][nN][iI][tT]$. If no unit keyword is available, the returned unit is a null unit.

virtual casacore::Bool casa::SkyCatOverlayDD::conformsToCS ( const WorldCanvas wch)
virtual

Determine ability to draw, given current canvas coordinate state.

This DD requires direction coordinates in both X and Y axis codes.

Reimplemented from casa::DisplayData.

void casa::SkyCatOverlayDD::constructParameters ( )
private

Construct and destruct the parameter set.

casacore::String casa::SkyCatOverlayDD::dataType ( ) const
inlinevirtual

Pure virtual function from DisplayData...

Implements casa::DisplayData.

Definition at line 84 of file SkyCatOverlayDD.h.

void casa::SkyCatOverlayDD::destructParameters ( )
private
virtual casacore::Bool casa::SkyCatOverlayDD::determineDirectionColumnMapping ( )
protectedvirtual

Attempt to determine which columns map to longitude, latitude, and type.

std::string casa::SkyCatOverlayDD::errorMessage ( ) const
inlinevirtual

Implements casa::DisplayData.

Definition at line 162 of file SkyCatOverlayDD.h.

virtual casacore::Record casa::SkyCatOverlayDD::getOptions ( bool  scrub = false) const
virtual

Retrieve the current and default options and parameter types.

Reimplemented from casa::PassiveTableDD.

virtual casacore::Float casa::SkyCatOverlayDD::labelXOffset ( ) const
inlinevirtual

Get the label x and y offsets (in character height).

Definition at line 150 of file SkyCatOverlayDD.h.

References itsParamLabelXOffset, and casa::DParameterRange< T >::value().

virtual casacore::Float casa::SkyCatOverlayDD::labelYOffset ( ) const
inlinevirtual

Definition at line 153 of file SkyCatOverlayDD.h.

References itsParamLabelYOffset, and casa::DParameterRange< T >::value().

virtual casacore::Float casa::SkyCatOverlayDD::lineWidth ( ) const
inlinevirtual

Get the line width for labelling.

Definition at line 110 of file SkyCatOverlayDD.h.

References itsParamLineWidth, and casa::DParameterRange< T >::value().

virtual casacore::String casa::SkyCatOverlayDD::mapColumn ( ) const
inlinevirtual

Get the column name for value-size mapping.

Definition at line 127 of file SkyCatOverlayDD.h.

References itsParamMapColumn, and casa::DParameterChoice::value().

virtual casacore::String casa::SkyCatOverlayDD::markerColor ( ) const
inlinevirtual

Definition at line 122 of file SkyCatOverlayDD.h.

References itsParamMarkerColor, and casa::DParameterChoice::value().

virtual casacore::Int casa::SkyCatOverlayDD::markerSize ( ) const
inlinevirtual

Definition at line 119 of file SkyCatOverlayDD.h.

References itsParamMarkerSize, and casa::DParameterRange< T >::value().

virtual Display::Marker casa::SkyCatOverlayDD::markerType ( ) const
inlinevirtual

Get the marker type, size and color.

Definition at line 116 of file SkyCatOverlayDD.h.

References itsParamMarkerType, and casa::DParameterMapKeyChoice::keyValue().

virtual casacore::String casa::SkyCatOverlayDD::nameColumn ( ) const
inlinevirtual

Get the column name for text labelling.

Definition at line 105 of file SkyCatOverlayDD.h.

References itsParamNameColumn, and casa::DParameterChoice::value().

virtual CachingDisplayMethod* casa::SkyCatOverlayDD::newDisplayMethod ( WorldCanvas worldCanvas,
AttributeBuffer wchAttributes,
AttributeBuffer ddAttributes,
CachingDisplayData dd 
)
virtual

Create a new AxesDisplayMethod for drawing on the given WorldCanvas when the AttributeBuffers are suitably matched to the current state of this DisplayData and of the WorldCanvas/Holder.

The tag is a unique number used to identify the age of the newly constructed CachingDisplayMethod.

Implements casa::CachingDisplayData.

void casa::SkyCatOverlayDD::operator= ( const SkyCatOverlayDD other)
protected

(Required) copy assignment.

virtual AttributeBuffer casa::SkyCatOverlayDD::optionsAsAttributes ( )
virtual

Return the current options of this DisplayData as an AttributeBuffer.

Reimplemented from casa::PassiveTableDD.

virtual void casa::SkyCatOverlayDD::setDefaultOptions ( )
virtual

Install the default options for this DisplayData.

Reimplemented from casa::PassiveTableDD.

virtual casacore::Bool casa::SkyCatOverlayDD::setOptions ( casacore::Record rec,
casacore::Record recOut 
)
virtual

Apply options stored in rec to the DisplayData.

A return value of true means a refresh is needed. recOut contains any fields which were implicitly changed as a result of the call to this function.

Reimplemented from casa::PassiveTableDD.

Friends And Related Function Documentation

friend class SkyCatOverlayDM
friend

Allow the DisplayMethod to access the private data.

Definition at line 230 of file SkyCatOverlayDD.h.

Member Data Documentation

casacore::Vector<casacore::String> casa::SkyCatOverlayDD::itsColumnNames
private

Store the column names here.

Definition at line 188 of file SkyCatOverlayDD.h.

casacore::String casa::SkyCatOverlayDD::itsDirectionTypeColumn
private

Which column is mapped to epoch.

Definition at line 204 of file SkyCatOverlayDD.h.

casacore::String casa::SkyCatOverlayDD::itsLatitudeColumn
private

Which column is mapped to the latitude coordinate, and what is its unit?

Definition at line 200 of file SkyCatOverlayDD.h.

casacore::Unit casa::SkyCatOverlayDD::itsLatitudeUnit
private

Definition at line 201 of file SkyCatOverlayDD.h.

casacore::String casa::SkyCatOverlayDD::itsLongitudeColumn
private

Option: what type of coordinates are provided?

casacore::String itsCoordinateType;

Which column is mapped to the longitude coordinate, and what is its unit?

Definition at line 195 of file SkyCatOverlayDD.h.

casacore::Unit casa::SkyCatOverlayDD::itsLongitudeUnit
private

Definition at line 196 of file SkyCatOverlayDD.h.

DParameterRange<casacore::Int>* casa::SkyCatOverlayDD::itsParamCharacterAngle
private

Definition at line 223 of file SkyCatOverlayDD.h.

Referenced by charAngle().

DParameterColorChoice* casa::SkyCatOverlayDD::itsParamCharacterColor
private

Definition at line 222 of file SkyCatOverlayDD.h.

Referenced by charColor().

DParameterChoice* casa::SkyCatOverlayDD::itsParamCharacterFont
private

Labelling character font, size, color and angle.

Definition at line 220 of file SkyCatOverlayDD.h.

Referenced by charFont().

DParameterRange<casacore::Float>* casa::SkyCatOverlayDD::itsParamCharacterSize
private

Definition at line 221 of file SkyCatOverlayDD.h.

Referenced by charSize().

DParameterRange<casacore::Float>* casa::SkyCatOverlayDD::itsParamLabelXOffset
private

Labelling character offsets in character height units.

Definition at line 226 of file SkyCatOverlayDD.h.

Referenced by labelXOffset().

DParameterRange<casacore::Float>* casa::SkyCatOverlayDD::itsParamLabelYOffset
private

Definition at line 227 of file SkyCatOverlayDD.h.

Referenced by labelYOffset().

DParameterRange<casacore::Int>* casa::SkyCatOverlayDD::itsParamLineWidth
private

plot line width

Definition at line 210 of file SkyCatOverlayDD.h.

Referenced by lineWidth().

DParameterChoice* casa::SkyCatOverlayDD::itsParamMapColumn
private

Definition at line 216 of file SkyCatOverlayDD.h.

Referenced by mapColumn().

DParameterColorChoice* casa::SkyCatOverlayDD::itsParamMarkerColor
private

Definition at line 215 of file SkyCatOverlayDD.h.

Referenced by markerColor().

DParameterRange<casacore::Int>* casa::SkyCatOverlayDD::itsParamMarkerSize
private

Definition at line 214 of file SkyCatOverlayDD.h.

Referenced by markerSize().

DParameterMapKeyChoice* casa::SkyCatOverlayDD::itsParamMarkerType
private

Marker type, size and color.

Definition at line 213 of file SkyCatOverlayDD.h.

Referenced by markerType().

DParameterChoice* casa::SkyCatOverlayDD::itsParamNameColumn
private

Option: which column is mapped to the name?

Definition at line 207 of file SkyCatOverlayDD.h.

Referenced by nameColumn().


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