DSWorldPolyLine.h

Classes

DSWorldPolyLine -- Implementation of a world coords. DSPolyLine (full description)

class DSWorldPolyLine : public DSPolyLine , public DisplayShapeWithCoords

Interface

Public Members
DSWorldPolyLine()
DSWorldPolyLine(const Record& settings, PanelDisplay* pd)
DSWorldPolyLine(DSScreenPolyLine& other, PanelDisplay* pd)
DSWorldPolyLine(DSPixelPolyLine& other, PanelDisplay* pd)
virtual ~DSWorldPolyLine()
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

DSWorldPolyLine()

DSWorldPolyLine(const Record& settings, PanelDisplay* pd)

DSWorldPolyLine(DSScreenPolyLine& other, PanelDisplay* pd)

DSWorldPolyLine(DSPixelPolyLine& other, PanelDisplay* pd)

virtual ~DSWorldPolyLine()

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()