10 #ifndef DtLightManagerGroup_H_
11 #define DtLightManagerGroup_H_
32 const osg::CopyOp& copyOp = osg::CopyOp::SHALLOW_COPY) :
33 Group(lmg, copyOp), myDe(lmg.myDe),
35 (copyOp(lmg.myLightManagerStateAttribute.
get())))
40 virtual osg::Object* cloneType()
const
45 virtual osg::Object* clone(
const osg::CopyOp& copyop)
const
50 virtual bool isSameKindAs(
const osg::Object* obj)
const
55 virtual const char* className()
const
57 return "DtLightManagerGroup";
60 virtual const char* libraryName()
const
65 virtual void accept(osg::NodeVisitor& nv)
67 if (nv.validNodeMask(*
this))
69 nv.pushOntoNodePath(
this);
79 void setStateSetModes(osg::StateSet&,
80 osg::StateAttribute::GLModeValue)
const;
83 void setLocalStateSetModes(osg::StateAttribute::GLModeValue =
84 osg::StateAttribute::ON);
86 virtual void setThreadSafeRefUnref(
bool threadSafe);
88 virtual osg::BoundingSphere computeBound()
const;
90 void enableLighting(osg::ref_ptr<osg::Camera> camera,
bool enable);