9 #ifndef GEPETTO_VIEWER_LEAFNODEARROW_HH 10 #define GEPETTO_VIEWER_LEAFNODEARROW_HH 23 LeafNodeArrowWeakPtr weak_ptr_;
29 ::osg::ShapeDrawableRefPtr cylinder_drawable_;
30 ::osg::ShapeDrawableRefPtr cone_drawable_;
36 void resetGeodeContent();
40 float radiusCenter,
float sizeAxis);
46 void initWeakPtr(LeafNodeArrowWeakPtr other_weak_ptr);
54 static LeafNodeArrowPtr_t create(
const std::string& name,
59 static LeafNodeArrowPtr_t create(
const std::string& name,
64 static LeafNodeArrowPtr_t createCopy(LeafNodeArrowPtr_t other);
68 virtual LeafNodeArrowPtr_t clone(
void)
const;
77 LeafNodeArrowPtr_t
self(void)
const;
84 float getRadius()
const;
85 void setRadius(
const float& radius);
86 void setSize(
const float& size);
89 float getSize()
const;
90 void resize(
float radius,
float length);
Definition: node-drawable.h:19
::osg::Vec3f osgVector3
Definition: config-osg.h:99
osgVector4 getColor() const
Definition: leaf-node-arrow.h:81
::osg::Vec4f osgVector4
Definition: config-osg.h:100
virtual NodePtr_t copy() const
Proceed to a copy of the currend object as clone.
Definition: leaf-node-arrow.h:73
viewer::NodePtr_t NodePtr_t
Definition: fwd.hh:50
Definition: action-search-bar.hh:26
SCENE_VIEWER_ACCEPT_VISITOR
Definition: leaf-node-arrow.h:92
#define DEF_CLASS_SMART_PTR(className)
Definition: macros.h:51
Definition: leaf-node-arrow.h:20