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

#include <DSScreenText.h>

Inheritance diagram for casa::DSScreenText:
casa::DSText casa::DisplayShapeWithCoords casa::DisplayShape

List of all members.

Public Member Functions

 DSScreenText ()
 DSScreenText (const Record &settings, PixelCanvas *pc)
 DSScreenText (DSPixelText &other, PixelCanvas *pc)
 DSScreenText (DSWorldText &other)
virtual ~DSScreenText ()
virtual void recalculateScreenPosition ()
 
   

virtual Bool setOptions (const Record &settings)
virtual Record getOptions ()
 Get and set options.
virtual void move (const Float &dX, const Float &dY)
 These are so we can monitor if the text is moved and update our relative position.
virtual void setCenter (const Float &xPos, const Float &yPos)
 Sets the center of the DisplayShape.
virtual Record getRawOptions ()

Private Member Functions

virtual Vector< FloatrelToScreen (const Vector< Float > &rel)
virtual Vector< FloatscreenToRel (const Vector< Float > &screen)
virtual void updateRC ()

Private Attributes

PixelCanvasitsPC
Vector< FloatitsRelativeCenter

Detailed Description

Definition at line 48 of file DSScreenText.h.


Constructor & Destructor Documentation

casa::DSScreenText::DSScreenText ( const Record settings,
PixelCanvas pc 
)
virtual casa::DSScreenText::~DSScreenText ( ) [virtual]

Member Function Documentation

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

Get and set options.

Reimplemented from casa::DSText.

Referenced by getRawOptions().

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

Implements casa::DisplayShapeWithCoords.

Definition at line 68 of file DSScreenText.h.

References getOptions().

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

These are so we can monitor if the text is moved and update our relative position.

Reimplemented from casa::DSText.

   

Reimplemented from casa::DisplayShape.

virtual Vector<Float> casa::DSScreenText::relToScreen ( const Vector< Float > &  rel) [private, virtual]
virtual Vector<Float> casa::DSScreenText::screenToRel ( const Vector< Float > &  screen) [private, virtual]
virtual void casa::DSScreenText::setCenter ( const Float xPos,
const Float yPos 
) [virtual]

Sets the center of the DisplayShape.

Reimplemented from casa::DSText.

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

Reimplemented from casa::DSText.

virtual void casa::DSScreenText::updateRC ( ) [private, virtual]

Member Data Documentation

Definition at line 73 of file DSScreenText.h.

Definition at line 74 of file DSScreenText.h.


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