9 #ifndef GEPETTO_VIEWER_LEAFNODEBOX_HH
10 #define GEPETTO_VIEWER_LEAFNODEBOX_HH
23 LeafNodeBoxWeakPtr weak_ptr_;
26 ::osg::BoxRefPtr box_ptr_;
38 void initWeakPtr (LeafNodeBoxWeakPtr other_weak_ptr);
49 static LeafNodeBoxPtr_t
createCopy (LeafNodeBoxPtr_t other);
53 virtual LeafNodeBoxPtr_t
clone (
void)
const;
62 LeafNodeBoxPtr_t
self (void)
const;
71 return box_ptr_->getHalfLengths();
Definition: leaf-node-box.h:20
virtual LeafNodeBoxPtr_t clone(void) const
osgVector3 getHalfAxis() const
Definition: leaf-node-box.h:69
static LeafNodeBoxPtr_t createCopy(LeafNodeBoxPtr_t other)
SCENE_VIEWER_ACCEPT_VISITOR
Definition: leaf-node-box.h:74
virtual NodePtr_t copy() const
Proceed to a copy of the currend object as clone.
Definition: leaf-node-box.h:58
static LeafNodeBoxPtr_t create(const std::string &name, const osgVector3 &half_axis)
void setHalfAxis(const osgVector3 &half_axis)
static LeafNodeBoxPtr_t create(const std::string &name, const osgVector3 &half_axis, const osgVector4 &color)
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