9 #ifndef GEPETTO_VIEWER_LEAFNODEXYZ_HH 10 #define GEPETTO_VIEWER_LEAFNODEXYZ_HH 14 #include <osgDB/ReadFile> 25 LeafNodeXYZAxisWeakPtr weak_ptr_;
29 ::osg::SphereRefPtr sphere_ptr_;
34 ::osg::Vec4ArrayRefPtr color_ptr_;
40 float radiusCenter,
float sizeAxis);
46 void initWeakPtr(LeafNodeXYZAxisWeakPtr other_weak_ptr);
54 static LeafNodeXYZAxisPtr_t create(
const std::string& name,
56 float radiusCenter,
float sizeAxis);
57 static LeafNodeXYZAxisPtr_t create(
const std::string& name,
63 static LeafNodeXYZAxisPtr_t createCopy(LeafNodeXYZAxisPtr_t other);
67 virtual LeafNodeXYZAxisPtr_t clone(
void)
const;
76 LeafNodeXYZAxisPtr_t
self(void)
const;
79 float getRadius()
const;
80 void setRadius(
const float& radius);
81 void setSizeAxis(
const float& sizeAxis);
82 float getSizeAxis()
const;
Definition: leaf-node-xyzaxis.h:22
Definition: node-drawable.h:19
::osg::Vec3f osgVector3
Definition: config-osg.h:99
::osg::Vec4f osgVector4
Definition: config-osg.h:100
SCENE_VIEWER_ACCEPT_VISITOR
Definition: leaf-node-xyzaxis.h:84
viewer::NodePtr_t NodePtr_t
Definition: fwd.hh:50
Definition: action-search-bar.hh:27
#define DEF_CLASS_SMART_PTR(className)
Definition: macros.h:51
virtual NodePtr_t copy() const
Proceed to a copy of the currend object as clone.
Definition: leaf-node-xyzaxis.h:72