DSWorldRectangle.h

Classes

DSWorldRectangle -- Implementation of a world coords DSRectangle (full description)

class DSWorldRectangle : public DSRectangle , public DisplayShapeWithCoords

Interface

Public Members
DSWorldRectangle()
DSWorldRectangle(const Record& settings, PanelDisplay* pd)
DSWorldRectangle(DSScreenRectangle& other, PanelDisplay* pd)
DSWorldRectangle(DSPixelRectangle& other, PanelDisplay* pd)
virtual ~DSWorldRectangle()
virtual void recalculateScreenPosition()
virtual void move(const Float& dX, const Float& dY)
virtual void setCenter(const Float& xPos, const Float& yPos)
virtual void rotate(const Float& angle)
virtual void changePoint(const Vector<Float>&pos, const Int n)
virtual void changePoint(const Vector<Float>& pos)
virtual void draw(PixelCanvas* pc)
virtual Bool setOptions(const Record& settings)
virtual Record getOptions()
virtual Record getRawOptions()
virtual PanelDisplay* panelDisplay()
Private Members
void updateWCoords()

Description

Member Description

DSWorldRectangle()

DSWorldRectangle(const Record& settings, PanelDisplay* pd)

DSWorldRectangle(DSScreenRectangle& other, PanelDisplay* pd)

DSWorldRectangle(DSPixelRectangle& other, PanelDisplay* pd)

virtual ~DSWorldRectangle()

virtual void recalculateScreenPosition()

virtual void move(const Float& dX, const Float& dY)
virtual void setCenter(const Float& xPos, const Float& yPos)
virtual void rotate(const Float& angle)
virtual void changePoint(const Vector<Float>&pos, const Int n)
virtual void changePoint(const Vector<Float>& pos)
virtual void draw(PixelCanvas* pc)

So we can update our WCs

virtual Bool setOptions(const Record& settings)

PLUS OTHERS!!

virtual Record getOptions()

virtual Record getRawOptions()

virtual PanelDisplay* panelDisplay()

void updateWCoords()