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;
Definition: leaf-node-xyzaxis.h:22
static LeafNodeXYZAxisPtr_t create(const std::string &name, const osgVector4 &color, float radiusCenter, float sizeAxis)
SCENE_VIEWER_ACCEPT_VISITOR
Definition: leaf-node-xyzaxis.h:80
void setSizeAxis(const float &sizeAxis)
static LeafNodeXYZAxisPtr_t create(const std::string &name, const osgVector4 &color, float radiusCenter)
void addVertex(const osgVector3 &vertex)
virtual ~LeafNodeXYZAxis()
float getSizeAxis() const
void setRadius(const float &radius)
virtual NodePtr_t copy() const
Proceed to a copy of the currend object as clone.
Definition: leaf-node-xyzaxis.h:68
static LeafNodeXYZAxisPtr_t createCopy(LeafNodeXYZAxisPtr_t other)
virtual LeafNodeXYZAxisPtr_t clone(void) const
Definition: node-drawable.h:20
::osg::Vec3f osgVector3
Definition: config-osg.h:109
::osg::Vec4f osgVector4
Definition: config-osg.h:110
#define DEF_CLASS_SMART_PTR(className)
Definition: macros.h:50
viewer::NodePtr_t NodePtr_t
Definition: fwd.hh:47
Definition: action-search-bar.hh:27