casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
casa::DSWorldText Class Reference

#include <DSWorldText.h>

Inheritance diagram for casa::DSWorldText:
casa::DSText casa::DisplayShapeWithCoords casa::DisplayShape

List of all members.

Public Member Functions

 DSWorldText ()
 DSWorldText (const Record &settings, PanelDisplay *pd)
 DSWorldText (DSScreenText &other, PanelDisplay *pd)
 DSWorldText (DSPixelText &other, PanelDisplay *pd)
virtual ~DSWorldText ()
virtual void recalculateScreenPosition ()
 
   

virtual void move (const Float &dX, const Float &dY)
virtual void setCenter (const Float &xPos, const Float &yPos)
 Sets the center of the DisplayShape.
virtual void draw (PixelCanvas *pc)
 Functions to ensure consistancy with the "DisplayShape" interface.
virtual Bool setOptions (const Record &settings)
virtual Record getOptions ()
 Get and set options.
virtual Record getRawOptions ()
virtual PanelDisplaypanelDisplay ()

Private Member Functions

void updateWCent ()

Private Attributes

PanelDisplayitsPD
 Based on a WC option record virtual Bool chooseWC(const Record& settings, PanelDisplay* pd, WorldCanvas* wc);.
WorldCanvasitsWC
 The WC of my choosing.
Vector< Quantum< Double > > itsWorldCenter
 The center of the marker in world co-ords.

Detailed Description

Definition at line 51 of file DSWorldText.h.


Constructor & Destructor Documentation

casa::DSWorldText::DSWorldText ( const Record settings,
PanelDisplay pd 
)
virtual casa::DSWorldText::~DSWorldText ( ) [virtual]

Member Function Documentation

virtual void casa::DSWorldText::draw ( PixelCanvas pix) [virtual]

Functions to ensure consistancy with the "DisplayShape" interface.

Reimplemented from casa::DSText.

virtual Record casa::DSWorldText::getOptions ( ) [virtual]

Get and set options.

Reimplemented from casa::DSText.

Referenced by getRawOptions().

virtual Record casa::DSWorldText::getRawOptions ( ) [inline, virtual]

Implements casa::DisplayShapeWithCoords.

Definition at line 71 of file DSWorldText.h.

References getOptions().

virtual void casa::DSWorldText::move ( const Float dX,
const Float dY 
) [virtual]

Reimplemented from casa::DSText.

virtual PanelDisplay* casa::DSWorldText::panelDisplay ( ) [inline, virtual]

Definition at line 75 of file DSWorldText.h.

References itsPD.

   

Reimplemented from casa::DisplayShape.

virtual void casa::DSWorldText::setCenter ( const Float xPos,
const Float yPos 
) [virtual]

Sets the center of the DisplayShape.

Reimplemented from casa::DSText.

virtual Bool casa::DSWorldText::setOptions ( const Record settings) [virtual]

Reimplemented from casa::DSText.

void casa::DSWorldText::updateWCent ( ) [private]

Member Data Documentation

Based on a WC option record virtual Bool chooseWC(const Record& settings, PanelDisplay* pd, WorldCanvas* wc);.

Based on a pixel center virtual Bool chooseWC(const Float& xPos, const Float& yPos, PanelDisplay* pd, WorldCanvas* wc);

The paneldisplay from which I may choose an appropriate WC

Definition at line 90 of file DSWorldText.h.

Referenced by panelDisplay().

The WC of my choosing.

Definition at line 93 of file DSWorldText.h.

The center of the marker in world co-ords.

Definition at line 96 of file DSWorldText.h.


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