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;