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

#include <DSScreenPolyLine.h>

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

List of all members.

Public Member Functions

 DSScreenPolyLine ()
 DSScreenPolyLine (const Record &settings, PixelCanvas *pc)
 DSScreenPolyLine (DSPixelPolyLine &other, PixelCanvas *pc)
 DSScreenPolyLine (DSWorldPolyLine &other)
virtual ~DSScreenPolyLine ()
virtual void recalculateScreenPosition ()
 
   

virtual void setCenter (const Float &xPos, const Float &yPos)
 Sets the center of the DisplayShape.
virtual void move (const Float &dX, const Float &dY)
virtual void scale (const Float &scaleFactor)
 Scale the shape about its center by the scaleFactor.
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)
 Point manipulation functions.
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 Bool setOptions (const Record &settings)
 Get and set this shapes options.
virtual Record getOptions ()
 Settings.
virtual Record getRawOptions ()

Private Member Functions

void updateRelative ()

Private Attributes

PixelCanvasitsPC
Matrix< FloatitsRelativePoints

Detailed Description

Definition at line 52 of file DSScreenPolyLine.h.


Constructor & Destructor Documentation


Member Function Documentation

virtual void casa::DSScreenPolyLine::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::DSScreenPolyLine::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::DSScreenPolyLine::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.

Settings.

Reimplemented from casa::DSPolyLine.

Referenced by getRawOptions().

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

Implements casa::DisplayShapeWithCoords.

Definition at line 77 of file DSScreenPolyLine.h.

References getOptions().

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

Reimplemented from casa::DSPolyLine.

   

Reimplemented from casa::DisplayShape.

virtual void casa::DSScreenPolyLine::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::DSScreenPolyLine::scale ( const Float scaleFactor) [virtual]

Scale the shape about its center by the scaleFactor.

Reimplemented from casa::DSPolyLine.

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

Sets the center of the DisplayShape.

Reimplemented from casa::DSPolyLine.

virtual Bool casa::DSScreenPolyLine::setOptions ( const Record newSettings) [virtual]

Get and set this shapes options.

Reimplemented from casa::DSPolyLine.

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

Reimplemented from casa::DSPolyLine.


Member Data Documentation

Definition at line 82 of file DSScreenPolyLine.h.

Definition at line 83 of file DSScreenPolyLine.h.


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