9#ifndef GEPETTO_VIEWER_LEAFNODELIGHT_HH
10#define GEPETTO_VIEWER_LEAFNODELIGHT_HH
23 LeafNodeLightWeakPtr weak_ptr_;
26 ::osg::LightSourceRefPtr light_ptr_;
31 LeafNodeLight(
const std::string& name,
const float& radius);
32 LeafNodeLight(
const std::string& name,
const float& radius,
36 LeafNodeLight(
const std::string& name,
const LeafNodeLight& other);
39 void initWeakPtr(LeafNodeLightWeakPtr other_weak_ptr);
41 static int uniqueLightNumber;
47 static LeafNodeLightPtr_t
create(
const std::string& name,
49 static LeafNodeLightPtr_t
create(
const std::string& name,
const float& radius,
55 static LeafNodeLightPtr_t
createCopy(LeafNodeLightPtr_t other);
59 LeafNodeLightPtr_t
clone(
void)
const;
68 LeafNodeLightPtr_t
self(
void)
const;
Definition leaf-node-light.h:20
virtual void setColor(const osgVector4 &color)
static LeafNodeLightPtr_t createCopy(LeafNodeLightPtr_t other)
static LeafNodeLightPtr_t create(const std::string &name, const float &radius, const osgVector4 &color)
LeafNodeLightPtr_t self(void) const
LeafNodeLightPtr_t clone(void) const
SCENE_VIEWER_ACCEPT_VISITOR
Definition leaf-node-light.h:76
void setRoot(GroupNodePtr_t root)
LeafNodeLightPtr_t copy() const
Proceed to a copy of the currend object as clone.
Definition leaf-node-light.h:64
static LeafNodeLightPtr_t create(const std::string &name, const float &radius)
LeafNodeSphere(const std::string &name, const float &radius)
::osg::Vec4f osgVector4
Definition config-osg.h:100
#define DEF_CLASS_SMART_PTR(className)
Definition macros.h:51
Definition blender-geom-writer.h:20
Definition action-search-bar.hh:27