gepetto-viewer
4.12.1
An user-friendly Graphical Interface
|
Go to the documentation of this file.
9 #ifndef GEPETTO_VIEWER_LEAFNODECONE_HH
10 #define GEPETTO_VIEWER_LEAFNODECONE_HH
23 LeafNodeConeWeakPtr weak_ptr_;
26 ::osg::ConeRefPtr cone_ptr_;
31 LeafNodeCone(
const std::string& name,
const float& radius,
const float& height);
38 void initWeakPtr (LeafNodeConeWeakPtr other_weak_ptr);
44 static LeafNodeConePtr_t create(
const std::string& name,
const float &radius,
const float& height);
45 static LeafNodeConePtr_t create(
const std::string& name,
const float &radius,
const float& height,
const osgVector4& color);
49 static LeafNodeConePtr_t createCopy(LeafNodeConePtr_t other);
53 virtual LeafNodeConePtr_t clone(
void)
const;
58 virtual LeafNodeConePtr_t
copy()
const {
return clone(); }
62 LeafNodeConePtr_t
self(void)
const;
67 virtual void setRadius (
const float& radius);
71 return cone_ptr_->getRadius();
77 virtual void setHeight (
const float& height);
81 return cone_ptr_->getHeight();
Definition: action-search-bar.hh:27
virtual LeafNodeConePtr_t copy() const
Proceed to a copy of the currend object as clone.
Definition: leaf-node-cone.h:58
float getHeight() const
Definition: leaf-node-cone.h:79
Definition: node-drawable.h:19
Definition: leaf-node-cone.h:19
SCENE_VIEWER_ACCEPT_VISITOR
Definition: leaf-node-cone.h:84
::osg::Vec4f osgVector4
Definition: config-osg.h:110
float getRadius() const
Definition: leaf-node-cone.h:69
#define DEF_CLASS_SMART_PTR(className)
Definition: macros.h:50