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

#include <DSWorldPolyLine.h>

Inheritance diagram for casa::DSWorldPolyLine:
casa::DSPolyLine casa::DisplayShapeWithCoords casa::DSBasic casa::DisplayShape

List of all members.

Public Member Functions

 DSWorldPolyLine ()
 DSWorldPolyLine (const Record &settings, PanelDisplay *pd)
 DSWorldPolyLine (DSScreenPolyLine &other, PanelDisplay *pd)
 DSWorldPolyLine (DSPixelPolyLine &other, PanelDisplay *pd)
virtual ~DSWorldPolyLine ()
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 scale (const Float &scaleFactor)
 Scale the shape about its center by the scaleFactor.
virtual void addPoint (const Vector< Float > &newPos)
 If applicable, this function will add a point to the shape in the most meaningful location.
virtual void setPoints (const Matrix< Float > &points)
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)
 Point manipulation functions.
virtual void draw (PixelCanvas *pc)
 General DisplayShape functions.
virtual Bool setOptions (const Record &settings)
 
   

virtual Record getOptions ()
 Settings.
virtual Record getRawOptions ()
virtual PanelDisplaypanelDisplay ()

Private Member Functions

void updateWCoords ()

Private Attributes

PanelDisplayitsPD
 The paneldisplay from which I may choose an appropriate WC.
WorldCanvasitsWC
 The WC of my choosing.
Vector< Quantum< Double > > itsWorldXPoints
 The center of the marker in world co-ords.
Vector< Quantum< Double > > itsWorldYPoints

Detailed Description

Definition at line 51 of file DSWorldPolyLine.h.


Constructor & Destructor Documentation


Member Function Documentation

virtual void casa::DSWorldPolyLine::addPoint ( const Vector< Float > &  ) [virtual]

If applicable, this function will add a point to the shape in the most meaningful location.

Reimplemented from casa::DSPolyLine.

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

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

Reimplemented from casa::DSPolyLine.

virtual void casa::DSWorldPolyLine::changePoint ( const Vector< Float > &  pos) [virtual]

Point manipulation functions.

The changePoint with only one argument moves the closest point to the location specified.

Reimplemented from casa::DSPolyLine.

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

General DisplayShape functions.

Reimplemented from casa::DSPolyLine.

Settings.

Reimplemented from casa::DSPolyLine.

Referenced by getRawOptions().

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

Implements casa::DisplayShapeWithCoords.

Definition at line 84 of file DSWorldPolyLine.h.

References getOptions().

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

So we can update our WCs.

Reimplemented from casa::DSPolyLine.

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

Definition at line 88 of file DSWorldPolyLine.h.

References itsPD.

   

Reimplemented from casa::DisplayShape.

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

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

Reimplemented from casa::DSPolyLine.

virtual void casa::DSWorldPolyLine::scale ( const Float scaleFactor) [virtual]

Scale the shape about its center by the scaleFactor.

Reimplemented from casa::DSPolyLine.

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

Sets the center of the DisplayShape.

Reimplemented from casa::DSPolyLine.

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

   

Reimplemented from casa::DSPolyLine.

virtual void casa::DSWorldPolyLine::setPoints ( const Matrix< Float > &  points) [virtual]

Reimplemented from casa::DSPolyLine.


Member Data Documentation

The paneldisplay from which I may choose an appropriate WC.

Definition at line 95 of file DSWorldPolyLine.h.

Referenced by panelDisplay().

The WC of my choosing.

Definition at line 98 of file DSWorldPolyLine.h.

The center of the marker in world co-ords.

Definition at line 101 of file DSWorldPolyLine.h.

Definition at line 102 of file DSWorldPolyLine.h.


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