9 #ifndef GEPETTO_VIEWER_LEAFNODEARROW_HH
10 #define GEPETTO_VIEWER_LEAFNODEARROW_HH
24 LeafNodeArrowWeakPtr weak_ptr_;
30 ::osg::ShapeDrawableRefPtr cylinder_drawable_;
31 ::osg::ShapeDrawableRefPtr cone_drawable_;
37 void resetGeodeContent ();
48 void initWeakPtr(LeafNodeArrowWeakPtr other_weak_ptr);
59 static LeafNodeArrowPtr_t
create(
const std::string& name,
const osgVector4& color,
float radiusCenter,
float sizeAxis);
62 static LeafNodeArrowPtr_t
create (
const std::string& name,
const osgVector4& color,
float radiusCenter);
66 static LeafNodeArrowPtr_t
createCopy(LeafNodeArrowPtr_t other);
70 virtual LeafNodeArrowPtr_t
clone(
void)
const;
79 LeafNodeArrowPtr_t
self(void)
const;
95 void resize(
float radius,
float length);
Definition: leaf-node-arrow.h:21
osgVector4 getColor() const
Definition: leaf-node-arrow.h:83
void setSize(const float &size)
static LeafNodeArrowPtr_t create(const std::string &name, const osgVector4 &color, float radiusCenter)
void setColor(const osgVector4 &color)
void setRadius(const float &radius)
static LeafNodeArrowPtr_t create(const std::string &name, const osgVector4 &color, float radiusCenter, float sizeAxis)
static LeafNodeArrowPtr_t createCopy(LeafNodeArrowPtr_t other)
void resize(float radius, float length)
virtual NodePtr_t copy() const
Proceed to a copy of the currend object as clone.
Definition: leaf-node-arrow.h:75
SCENE_VIEWER_ACCEPT_VISITOR
Definition: leaf-node-arrow.h:97
virtual LeafNodeArrowPtr_t clone(void) const
void addVertex(const osgVector3 &vertex)
Definition: node-drawable.h:20
::osg::Vec3f osgVector3
Definition: config-osg.h:109
::osg::Vec4f osgVector4
Definition: config-osg.h:110
#define DEF_CLASS_SMART_PTR(className)
Definition: macros.h:50
viewer::NodePtr_t NodePtr_t
Definition: fwd.hh:47
Definition: action-search-bar.hh:27