DSWorldPoly.h

Classes

DSWorldPoly -- Implementation of a world coords DSPoly (full description)

class DSWorldPoly : public DSPoly , public DisplayShapeWithCoords

Interface

Public Members
DSWorldPoly()
DSWorldPoly(const Record& settings, PanelDisplay* pd)
DSWorldPoly(DSScreenPoly& other, PanelDisplay* pd)
DSWorldPoly(DSPixelPoly& other, PanelDisplay* pd)
DSWorldPoly(DSWorldPolyLine& other)
virtual ~DSWorldPoly()
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 scale(const Float& scaleFactor)
virtual void addPoint(const Vector<Float>& newPos)
virtual void setPoints(const Matrix<Float>& points)
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

DSWorldPoly()

DSWorldPoly(const Record& settings, PanelDisplay* pd)

DSWorldPoly(DSScreenPoly& other, PanelDisplay* pd)

DSWorldPoly(DSPixelPoly& other, PanelDisplay* pd)

DSWorldPoly(DSWorldPolyLine& other)

virtual ~DSWorldPoly()

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 scale(const Float& scaleFactor)
virtual void addPoint(const Vector<Float>& newPos)
virtual void setPoints(const Matrix<Float>& points)
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)

virtual Record getOptions()

virtual Record getRawOptions()

virtual PanelDisplay* panelDisplay()

void updateWCoords()