DSWorldArrow.h
Classes
- DSWorldArrow -- Implementation of a world coords DSArrow (full description)
Interface
- Public Members
- DSWorldArrow()
- DSWorldArrow(const Record& settings, PanelDisplay* pd)
- DSWorldArrow(DSScreenArrow& other, PanelDisplay* pd)
- DSWorldArrow(DSPixelArrow& other, PanelDisplay* pd)
- virtual ~DSWorldArrow()
- 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 setStartPoint(const Vector<Float>& startPoint)
- virtual void setEndPoint(const Vector<Float>& endPoint)
- 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
- virtual WorldCanvas* chooseWC(const Float& startXPos, const Float& startYPos, const Float& endXPos, const Float& endYPos, PanelDisplay* pd)
- void updateWCoords()
Member Description
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 setStartPoint(const Vector<Float>& startPoint)
virtual void setEndPoint(const Vector<Float>& endPoint)
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 WorldCanvas* chooseWC(const Float& startXPos, const Float& startYPos, const Float& endXPos, const Float& endYPos, PanelDisplay* pd)
Based on a WC option record
virtual WorldCanvas* chooseWC(const Record& settings, PanelDisplay* pd);
Based on a pixel center