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

#include <DSWorldEllipse.h>

Inheritance diagram for casa::DSWorldEllipse:
casa::DSEllipse casa::DisplayShapeWithCoords casa::DSClosed casa::DSBasic casa::DisplayShape

List of all members.

Public Member Functions

 DSWorldEllipse ()
 DSWorldEllipse (const Record &settings, PanelDisplay *pd)
 DSWorldEllipse (DSScreenEllipse &other, PanelDisplay *pd)
 DSWorldEllipse (DSPixelEllipse &other, PanelDisplay *pd)
virtual ~DSWorldEllipse ()
virtual void recalculateScreenPosition ()
 
   

virtual void move (const Float &dX, const Float &dY)
 So we can update our WCs.
virtual void setCenter (const Float &xPos, const Float &yPos)
 Sets the center of the DisplayShape.
virtual void rotate (const Float &angle)
 Rotate the shape about its center by a set angle (angle in degrees).
virtual void changePoint (const Vector< Float > &pos, const Int n)
 Changes the nth point making up the DisplayShape ot the specified location.
virtual void changePoint (const Vector< Float > &pos)
 Changes the closest point to the supplied location to that location.
virtual void draw (PixelCanvas *pc)
 General DisplayShape functions.
virtual Bool setOptions (const Record &settings)
 PLUS OTHERS!!
virtual Record getOptions ()
 Get and set options.
virtual Record getRawOptions ()
virtual PanelDisplaypanelDisplay ()

Private Member Functions

void updateWCoords ()

Private Attributes

PanelDisplayitsPD
 Based on a pixel center virtual Bool chooseWC(const Float& centerX, const Float& centerY, PanelDisplay* pdx, WorldCanvas* wc);.
WorldCanvasitsWC
 The WC of my choosing.
Vector< Quantum< Double > > itsWorldParameters
 The center of the marker in world co-ords.

Detailed Description

Definition at line 51 of file DSWorldEllipse.h.


Constructor & Destructor Documentation

casa::DSWorldEllipse::DSWorldEllipse ( const Record settings,
PanelDisplay pd 
)

Member Function Documentation

virtual void casa::DSWorldEllipse::changePoint ( const Vector< Float > &  newPoint,
const Int  nPoint 
) [virtual]

Changes the nth point making up the DisplayShape ot the specified location.

Reimplemented from casa::DSEllipse.

virtual void casa::DSWorldEllipse::changePoint ( const Vector< Float > &  newPos) [virtual]

Changes the closest point to the supplied location to that location.

Reimplemented from casa::DSEllipse.

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

General DisplayShape functions.

Reimplemented from casa::DSEllipse.

Get and set options.

Reimplemented from casa::DSEllipse.

Referenced by getRawOptions().

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

Implements casa::DisplayShapeWithCoords.

Definition at line 81 of file DSWorldEllipse.h.

References getOptions().

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

So we can update our WCs.

Reimplemented from casa::DSEllipse.

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

Definition at line 85 of file DSWorldEllipse.h.

References itsPD.

   

Reimplemented from casa::DisplayShape.

virtual void casa::DSWorldEllipse::rotate ( const Float angle) [virtual]

Rotate the shape about its center by a set angle (angle in degrees).

Reimplemented from casa::DSEllipse.

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

Sets the center of the DisplayShape.

Reimplemented from casa::DSEllipse.

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

PLUS OTHERS!!

Reimplemented from casa::DSEllipse.


Member Data Documentation

Based on a pixel center virtual Bool chooseWC(const Float& centerX, const Float& centerY, PanelDisplay* pdx, WorldCanvas* wc);.

The paneldisplay from which I may choose an appropriate WC

Definition at line 97 of file DSWorldEllipse.h.

Referenced by panelDisplay().

The WC of my choosing.

Definition at line 100 of file DSWorldEllipse.h.

The center of the marker in world co-ords.

x, y, major, minor, angle

Definition at line 104 of file DSWorldEllipse.h.


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