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);
58 static LeafNodeArrowPtr_t create(
const std::string& name,
const osgVector4& color,
float radiusCenter,
float sizeAxis);
59 static LeafNodeArrowPtr_t create (
const std::string& name,
const osgVector4& color,
float radiusCenter);
63 static LeafNodeArrowPtr_t createCopy(LeafNodeArrowPtr_t other);
67 virtual LeafNodeArrowPtr_t clone(
void)
const;
76 LeafNodeArrowPtr_t
self(void)
const;
84 float getRadius()
const;
85 void setRadius (
const float& radius);
86 void setSize(
const float& size);
87 float getSize()
const;
88 void resize(
float radius,
float length);
Definition: node-drawable.h:19
::osg::Vec3f osgVector3
Definition: config-osg.h:109
osgVector4 getColor() const
Definition: leaf-node-arrow.h:80
::osg::Vec4f osgVector4
Definition: config-osg.h:110
virtual NodePtr_t copy() const
Proceed to a copy of the currend object as clone.
Definition: leaf-node-arrow.h:72
viewer::NodePtr_t NodePtr_t
Definition: fwd.hh:47
Definition: action-search-bar.hh:27
SCENE_VIEWER_ACCEPT_VISITOR
Definition: leaf-node-arrow.h:90
#define DEF_CLASS_SMART_PTR(className)
Definition: macros.h:50
Definition: leaf-node-arrow.h:20