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

#include <DSScreenRectangle.h>

Inheritance diagram for casa::DSScreenRectangle:
casa::DSRectangle casa::DisplayShapeWithCoords casa::DSPoly casa::DSClosed casa::DSBasic casa::DisplayShape

List of all members.

Public Member Functions

 DSScreenRectangle ()
 DSScreenRectangle (const Record &setting, PixelCanvas *pc)
 DSScreenRectangle (DSPixelRectangle &other, PixelCanvas *pc)
 DSScreenRectangle (DSWorldRectangle &other)
virtual ~DSScreenRectangle ()
virtual void recalculateScreenPosition ()
 
   

virtual Bool setOptions (const Record &settings)
 Get and set options.
virtual Record getOptions ()
 Get and set options.
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 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 Record getRawOptions ()
 PLUS OTHERS! :) change point etc.
virtual void updateRelative ()

Private Attributes

PixelCanvasitsPC
Vector< FloatitsRelativeCenter
Float itsRelWidth
Float itsRelHeight

Detailed Description

Definition at line 47 of file DSScreenRectangle.h.


Constructor & Destructor Documentation


Member Function Documentation

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

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

Reimplemented from casa::DSRectangle.

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

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

Reimplemented from casa::DSRectangle.

Get and set options.

Reimplemented from casa::DSRectangle.

Referenced by getRawOptions().

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

PLUS OTHERS! :) change point etc.

Implements casa::DisplayShapeWithCoords.

Definition at line 69 of file DSScreenRectangle.h.

References getOptions().

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

Standard DisplayShape functions.

Reimplemented from casa::DSRectangle.

   

Reimplemented from casa::DisplayShape.

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

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

Reimplemented from casa::DSRectangle.

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

Sets the center of the DisplayShape.

Reimplemented from casa::DSRectangle.

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

Get and set options.

Reimplemented from casa::DSRectangle.

virtual void casa::DSScreenRectangle::updateRelative ( ) [virtual]

Member Data Documentation

Definition at line 76 of file DSScreenRectangle.h.

Definition at line 77 of file DSScreenRectangle.h.

Definition at line 80 of file DSScreenRectangle.h.

Definition at line 79 of file DSScreenRectangle.h.


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