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

#include <DSWorldMarker.h>

Inheritance diagram for casa::DSWorldMarker:
casa::DSMarker casa::DisplayShapeWithCoords casa::DSBasic casa::DisplayShape

List of all members.

Public Member Functions

 DSWorldMarker ()
 DSWorldMarker (const Record &settings, PanelDisplay *pd)
 DSWorldMarker (DSScreenMarker &other, PanelDisplay *pd)
 DSWorldMarker (DSPixelMarker &other, PanelDisplay *pd)
virtual ~DSWorldMarker ()
virtual void recalculateScreenPosition ()
 
   

virtual void move (const Float &dX, const Float &dY)
 Standard DisplayShape functions.
virtual void setCenter (const Float &xPos, const Float &yPos)
 Sets the center of the DisplayShape.
virtual void draw (PixelCanvas *pc)
 Standard fns.
virtual Bool setOptions (const Record &settings)
 Get and set options.
virtual Record getOptions ()
 Settings.
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 DSWorldMarker.h.


Constructor & Destructor Documentation

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

Member Function Documentation

virtual void casa::DSWorldMarker::draw ( PixelCanvas pc) [virtual]

Standard fns.

Reimplemented from casa::DSMarker.

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

Settings.

Reimplemented from casa::DSMarker.

Referenced by getRawOptions().

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

Implements casa::DisplayShapeWithCoords.

Definition at line 71 of file DSWorldMarker.h.

References getOptions().

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

Standard DisplayShape functions.

Reimplemented from casa::DSMarker.

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

Definition at line 75 of file DSWorldMarker.h.

References itsPD.

   

Reimplemented from casa::DisplayShape.

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

Sets the center of the DisplayShape.

Reimplemented from casa::DSMarker.

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

Get and set options.

Reimplemented from casa::DSMarker.


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 DSWorldMarker.h.

Referenced by panelDisplay().

The WC of my choosing.

Definition at line 93 of file DSWorldMarker.h.

The center of the marker in world co-ords.

Definition at line 96 of file DSWorldMarker.h.


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