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;
89 float getRadius()
const;
90 void setRadius (
const float& radius);
91 void setSize(
const float& size);
94 float getSize()
const;
95 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:83
::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:75
viewer::NodePtr_t NodePtr_t
Definition: fwd.hh:47
Definition: action-search-bar.hh:27
SCENE_VIEWER_ACCEPT_VISITOR
Definition: leaf-node-arrow.h:97
#define DEF_CLASS_SMART_PTR(className)
Definition: macros.h:50
Definition: leaf-node-arrow.h:20