25 std::vector<LeafNodeCapsulePtr_t> list_of_capsule_;
26 NodeRodWeakPtr weak_ptr_;
27 void initWeakPtr(NodeRodWeakPtr other_weak_ptr);
35 float totalLength,
size_t maxCapsule);
44 float radius,
float totalLength,
short maxCapsule);
56 NodeRodPtr_t
self(void)
const;
58 virtual float radius()
const {
return radius_; }
66 virtual size_t maxCapsule()
const {
return maxCapsule_; }
Definition: node-rod.h:23
static NodeRodPtr_t create(const std::string &name, osgVector4 color, float radius, float totalLength, short maxCapsule)
NodeRod(const NodeRod &other)
virtual float totalLength() const
Definition: node-rod.h:60
virtual LeafNodeCapsulePtr_t getCapsule(size_t i) const
virtual size_t maxCapsule() const
Definition: node-rod.h:66
NodeRod(const std::string &name, osgVector4 color, float radius, float totalLength, size_t maxCapsule)
static NodeRodPtr_t createCopy(NodeRodPtr_t other)
virtual float radius() const
Definition: node-rod.h:58
void setColor(const osgVector4 &color)
Definition: node-rod.h:62
virtual void applyConfiguration(std::vector< std::vector< value_type > > params)
virtual osgVector4 color() const
Definition: node-rod.h:64
osg::Vec3f::value_type value_type
Definition: node-rod.h:41
virtual std::string getCapsuleName(size_t i)
Abstract base class of 3D objects in a scene.
Definition: node.h:25
::osg::Vec4f osgVector4
Definition: config-osg.h:100
#define DEF_CLASS_SMART_PTR(className)
Definition: macros.h:51
Definition: action-search-bar.hh:27