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;
Definition: leaf-node-xyzaxis.h:21
Definition: node-drawable.h:19
::osg::Vec3f osgVector3
Definition: config-osg.h:109
::osg::Vec4f osgVector4
Definition: config-osg.h:110
SCENE_VIEWER_ACCEPT_VISITOR
Definition: leaf-node-xyzaxis.h:80
viewer::NodePtr_t NodePtr_t
Definition: fwd.hh:47
Definition: action-search-bar.hh:27
#define DEF_CLASS_SMART_PTR(className)
Definition: macros.h:50
virtual NodePtr_t copy() const
Proceed to a copy of the currend object as clone.
Definition: leaf-node-xyzaxis.h:68