9 #ifndef GEPETTO_VIEWER_LEAFNODEXYZ_HH
10 #define GEPETTO_VIEWER_LEAFNODEXYZ_HH
13 #include <osgDB/ReadFile>
25 LeafNodeXYZAxisWeakPtr weak_ptr_;
29 ::osg::SphereRefPtr sphere_ptr_;
34 ::osg::Vec4ArrayRefPtr color_ptr_;
47 void initWeakPtr(LeafNodeXYZAxisWeakPtr other_weak_ptr);
54 static LeafNodeXYZAxisPtr_t create(
const std::string& name,
const osgVector4& color,
float radiusCenter,
float sizeAxis);
55 static LeafNodeXYZAxisPtr_t create (
const std::string& name,
const osgVector4& color,
float radiusCenter);
59 static LeafNodeXYZAxisPtr_t createCopy(LeafNodeXYZAxisPtr_t other);
63 virtual LeafNodeXYZAxisPtr_t clone(
void)
const;
72 LeafNodeXYZAxisPtr_t
self(void)
const;
75 float getRadius()
const;
76 void setRadius (
const float& radius);
77 void setSizeAxis(
const float& sizeAxis);
78 float getSizeAxis()
const;