DSScreenPoly.h

Classes

DSScreenPoly -- Implementation of a relative screen pos. DSPoly (full description)

class DSScreenPoly : public DSPoly , public DisplayShapeWithCoords

Interface

Public Members
DSScreenPoly()
DSScreenPoly(const Record& settings, PixelCanvas* pc)
DSScreenPoly(DSPixelPoly& other, PixelCanvas* pc)
DSScreenPoly(DSWorldPoly& other)
DSScreenPoly(DSScreenPolyLine& other, PixelCanvas* pc)
virtual ~DSScreenPoly()
virtual void recalculateScreenPosition()
virtual void setCenter(const Float& xPos, const Float& yPos)
virtual void move(const Float& dX, const Float& dY)
virtual void scale(const Float& scaleFactor)
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 addPoint(const Vector<Float>& newPos)
virtual void setPoints(const Matrix<Float>& points)
virtual Bool setOptions(const Record& settings)
virtual Record getOptions()
virtual Record getRawOptions()
Private Members
void updateRelative()

Description

Member Description

DSScreenPoly()

DSScreenPoly(const Record& settings, PixelCanvas* pc)

DSScreenPoly(DSPixelPoly& other, PixelCanvas* pc)

DSScreenPoly(DSWorldPoly& other)

DSScreenPoly(DSScreenPolyLine& other, PixelCanvas* pc)

virtual ~DSScreenPoly()

virtual void recalculateScreenPosition()

virtual void setCenter(const Float& xPos, const Float& yPos)

virtual void move(const Float& dX, const Float& dY)

virtual void scale(const Float& scaleFactor)

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 addPoint(const Vector<Float>& newPos)

virtual void setPoints(const Matrix<Float>& points)

virtual Bool setOptions(const Record& settings)

virtual Record getOptions()

virtual Record getRawOptions()

void updateRelative()