BaseArrowVisual.hh
Go to the documentation of this file.
virtual void Destroy() override
Destroy any resources associated with this object. Invoking any other functions after destroying an o...
Definition: BaseArrowVisual.hh:89
virtual void ShowArrowHead(bool _b) override
set true to show the arrow head, false otherwise
Definition: BaseArrowVisual.hh:124
virtual VisualPtr Head() const override
Get arrow-head visual.
Definition: BaseArrowVisual.hh:103
BaseArrowVisual()
Constructor.
Definition: BaseArrowVisual.hh:77
virtual void Init() override
Definition: BaseArrowVisual.hh:179
STL class.
bool HasMesh(const std::string &_name) const
virtual void ShowArrowRotation(bool _b) override
Set true to show the rotation of the arrow, false otherwise.
Definition: BaseArrowVisual.hh:148
Manages a single scene-graph. This class updates scene-wide properties and holds the root scene node...
Definition: Scene.hh:49
static MeshManager * Instance()
T dynamic_pointer_cast(T... args)
virtual VisualPtr Shaft() const override
Get arrow-shaft visual.
Definition: BaseArrowVisual.hh:110
Represents a visual node in a scene graph. A Visual is the only node that can have Geometry and other...
Definition: Visual.hh:33
virtual void SetVisible(bool _visible) override
Specify if this visual is visible.
Definition: BaseArrowVisual.hh:161
void CreateTube(const std::string &_name, const float _innerRadius, const float _outterRadius, const float _height, const int _rings, const int _segments, const double _arc=2.0 *IGN_PI)
virtual void ShowArrowShaft(bool _b) override
set true to show the arrow shaft, false otherwise
Definition: BaseArrowVisual.hh:136
virtual VisualPtr Rotation() const override
Get arrow-rotation visual.
Definition: BaseArrowVisual.hh:117
virtual void Destroy()=0
Destroy any resources associated with this object. Invoking any other functions after destroying an o...
virtual ~BaseArrowVisual()
Destructor.
Definition: BaseArrowVisual.hh:83
virtual VisualPtr CreateVisual()=0
Create new visual. A unique ID and name will automatically be assigned to the visual.
Definition: BaseArrowVisual.hh:34