2003-04-18 00:22:51 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< HTML >
< HEAD >
< TITLE > class SG_EXPORT osg::LightSource< / TITLE >
< META NAME = "GENERATOR" CONTENT = "DOC++ 3.4.10" >
< / HEAD >
< BODY BGCOLOR = "#ffffff" >
< H2 > class SG_EXPORT < A HREF = "#DOC.DOCU" > osg::LightSource< / A > < / H2 > < / H2 > < BLOCKQUOTE > Leaf Node for defining a light in the scene< / BLOCKQUOTE >
< HR >
< H2 > Inheritance:< / H2 >
< APPLET CODE = "ClassGraph.class" WIDTH = 600 HEIGHT = 155 >
< param name = classes value = "CReferenced,MReferenced.html,CObject,MObject.html,CNode,MNode.html,CGroup,MGroup.html,CLightSource,MLightSource.html" >
< param name = before value = "M,M,M,M,M" >
< param name = after value = "Md_SPSPSP,Md_SPSP,Md_SP,Md_,M" >
< param name = indent value = "0,1,2,3,4" >
< param name = arrowdir value = "down" >
< / APPLET >
< HR >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.97.1" > LightSource< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.97.2" > LightSource< / A > < / B > (const <!1> < A HREF = "LightSource.html#DOC.2.97.2" > LightSource< / A > & ls, const <!1> < A HREF = "CopyOp.html" > CopyOp< / A > & copyop=CopyOp::SHALLOW_COPY)
2003-04-18 00:22:51 +08:00
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.97.3" > META_Node< / A > < / B > (<!1> < A HREF = "osg.html" > osg< / A > , <!1> < A HREF = "LightSource.html" > LightSource< / A > )
2003-04-18 00:22:51 +08:00
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.97.5" > setReferenceFrame< / A > < / B > (<!1> < A HREF = "LightSource.html#DOC.2.97.4" > ReferenceFrame< / A > rf)
2003-04-18 00:22:51 +08:00
< DD > < I > Set the light sources's ReferenceFrame, either to be relative to its parent reference frame, or relative to an absolute coordinate frame.< / I >
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "LightSource.html#DOC.2.97.4" > ReferenceFrame< / A > < B > < A HREF = "#DOC.2.97.6" > getReferenceFrame< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.97.7" > setLight< / A > < / B > (<!1> < A HREF = "StateAttribute.html" > StateAttribute< / A > * light)
2003-04-18 00:22:51 +08:00
< DD > < I > Set the attached light< / I >
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline <!1> < A HREF = "StateAttribute.html" > StateAttribute< / A > * < B > < A HREF = "#DOC.2.97.8" > getLight< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DD > < I > Get the attached light< / I >
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline const <!1> < A HREF = "StateAttribute.html" > StateAttribute< / A > * < B > < A HREF = "#DOC.2.97.9" > getLight< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DD > < I > Get the const attached light< / I >
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.97.10" > setStateSetModes< / A > < / B > (<!1> < A HREF = "StateSet.html" > StateSet< / A > & , StateAttribute::GLModeValue) const
2003-04-18 00:22:51 +08:00
< DD > < I > Set the GLModes on StateSet associated with the LightSource< / I >
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.97.11" > setLocalStateSetModes< / A > < / B > (StateAttribute::GLModeValue=StateAttribute::ON)
2003-04-18 00:22:51 +08:00
< DD > < I > Set up the local StateSet < / I >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Public Members< / H3 > < DD > < DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > enum < B > < A HREF = "#DOC.2.97.4" > ReferenceFrame< / A > < / B >
2003-04-18 00:22:51 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > StateAttribute::GLModeValue < B > < A HREF = "#DOC.2.97.14" > _value< / A > < / B >
2003-04-18 00:22:51 +08:00
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "ref_ptr.html" > ref_ptr< / A > < <!1> < A HREF = "StateAttribute.html" > StateAttribute< / A > > < B > < A HREF = "#DOC.2.97.15" > _light< / A > < / B >
2003-04-18 00:22:51 +08:00
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "LightSource.html#DOC.2.97.4" > ReferenceFrame< / A > < B > < A HREF = "#DOC.2.97.16" > _referenceFrame< / A > < / B >
2003-04-18 00:22:51 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Methods< / H3 > < DD > < DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual < B > < A HREF = "#DOC.2.97.12" > ~LightSource< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual bool < B > < A HREF = "#DOC.2.97.13" > computeBound< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "Group.html" > Group< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > virtual <!1> < A HREF = "Group.html" > Group< / A > * < B > asGroup< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual const <!1> < A HREF = "Group.html" > Group< / A > * < B > asGroup< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > traverse< / B > (<!1> < A HREF = "NodeVisitor.html" > NodeVisitor< / A > & nv)
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual bool < B > addChild< / B > ( <!1> < A HREF = "Node.html" > Node< / A > * child )
< DT >
2003-07-23 19:27:31 +08:00
< IMG ALT = "o" SRC = icon2.gif > virtual bool < B > insertChild< / B > ( unsigned int <!1> < A HREF = "TemplateIndexArray.html#DOC.2.10.15" > index< / A > , <!1> < A HREF = "Node.html" > Node< / A > * child )
< DT >
2003-04-18 00:22:51 +08:00
< IMG ALT = "o" SRC = icon2.gif > virtual bool < B > removeChild< / B > ( <!1> < A HREF = "Node.html" > Node< / A > * child )
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual bool < B > removeChild< / B > (unsigned int pos, unsigned int numChildrenToRemove=1)
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual bool < B > replaceChild< / B > ( <!1> < A HREF = "Node.html" > Node< / A > * origChild, <!1> < A HREF = "Node.html" > Node< / A > * newChild )
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline unsigned int < B > getNumChildren< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual bool < B > setChild< / B > ( unsigned int i, <!1> < A HREF = "Node.html" > Node< / A > * node )
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "Node.html" > Node< / A > * < B > getChild< / B > ( unsigned int i )
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "Node.html" > Node< / A > * < B > getChild< / B > ( unsigned int i ) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline bool < B > containsNode< / B > ( const <!1> < A HREF = "Node.html" > Node< / A > * node ) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline unsigned int < B > getChildIndex< / B > ( const <!1> < A HREF = "Node.html" > Node< / A > * node ) const
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
2003-09-08 18:51:14 +08:00
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "osg.html#DOC.2.86" > NodeList< / A > < B > _children< / B >
2003-04-18 00:22:51 +08:00
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "Node.html" > Node< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > virtual <!1> < A HREF = "Object.html" > Object< / A > * < B > cloneType< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual <!1> < A HREF = "Object.html" > Object< / A > * < B > clone< / B > (const <!1> < A HREF = "CopyOp.html" > CopyOp< / A > & copyop) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual bool < B > isSameKindAs< / B > (const <!1> < A HREF = "Object.html" > Object< / A > * obj) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual const char* < B > libraryName< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual const char* < B > className< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual <!1> < A HREF = "Transform.html" > Transform< / A > * < B > asTransform< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual const <!1> < A HREF = "Transform.html" > Transform< / A > * < B > asTransform< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > accept< / B > (<!1> < A HREF = "NodeVisitor.html" > NodeVisitor< / A > & nv)
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > ascend< / B > (<!1> < A HREF = "NodeVisitor.html" > NodeVisitor< / A > & nv)
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setName< / B > ( const std::string& <!1> < A HREF = "Test.html#DOC.202.1.3" > name< / A > )
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setName< / B > ( const char* <!1> < A HREF = "Test.html#DOC.202.1.3" > name< / A > )
2003-04-18 00:22:51 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const std::string& < B > getName< / B > () const
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "Node.html#DOC.2.119.18" > ParentList< / A > & < B > getParents< / B > () const
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "Node.html#DOC.2.119.18" > ParentList< / A > < B > getParents< / B > ()
2003-04-18 00:22:51 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "Group.html" > Group< / A > * < B > getParent< / B > (unsigned int i)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "Group.html" > Group< / A > * < B > getParent< / B > (unsigned int i) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline unsigned int < B > getNumParents< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > void < B > setUpdateCallback< / B > (<!1> < A HREF = "NodeCallback.html" > NodeCallback< / A > * nc)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "NodeCallback.html" > NodeCallback< / A > * < B > getUpdateCallback< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "NodeCallback.html" > NodeCallback< / A > * < B > getUpdateCallback< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline unsigned int < B > getNumChildrenRequiringUpdateTraversal< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > void < B > setCullCallback< / B > (<!1> < A HREF = "NodeCallback.html" > NodeCallback< / A > * nc)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "NodeCallback.html" > NodeCallback< / A > * < B > getCullCallback< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "NodeCallback.html" > NodeCallback< / A > * < B > getCullCallback< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > void < B > setCullingActive< / B > (bool active)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline bool < B > getCullingActive< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline unsigned int < B > getNumChildrenWithCullingDisabled< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline bool < B > isCullingActive< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline unsigned int < B > getNumChildrenWithOccluderNodes< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > bool < B > containsOccluderNodes< / B > () const
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setNodeMask< / B > (<!1> < A HREF = "Node.html#DOC.2.119.37" > NodeMask< / A > nm)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "Node.html#DOC.2.119.37" > NodeMask< / A > < B > getNodeMask< / B > () const
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "Node.html#DOC.2.119.40" > DescriptionList< / A > & < B > getDescriptions< / B > () const
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "Node.html#DOC.2.119.40" > DescriptionList< / A > & < B > getDescriptions< / B > ()
2003-04-18 00:22:51 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const std::string& < B > getDescription< / B > (unsigned int i) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline std::string& < B > getDescription< / B > (unsigned int i)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline unsigned int < B > getNumDescriptions< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > void < B > addDescription< / B > (const std::string& desc)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setStateSet< / B > (<!1> < A HREF = "StateSet.html" > osg::StateSet< / A > * dstate)
< DT >
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "StateSet.html" > osg::StateSet< / A > * < B > getOrCreateStateSet< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "StateSet.html" > osg::StateSet< / A > * < B > getStateSet< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "StateSet.html" > osg::StateSet< / A > * < B > getStateSet< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "BoundingSphere.html" > BoundingSphere< / A > & < B > getBound< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > void < B > dirtyBound< / B > ()
< / DL > < / P >
< P > < DL >
< DT > < H3 > Public Members< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > typedef std::vector< <!1> < A HREF = "Group.html" > Group< / A > *> < B > ParentList< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > typedef unsigned int < B > NodeMask< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > typedef std::vector< std::string> < B > DescriptionList< / B >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > mutable <!1> < A HREF = "BoundingSphere.html" > BoundingSphere< / A > < B > _bsphere< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > mutable bool < B > _bsphere_computed< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > std::string < B > _name< / B >
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "Node.html#DOC.2.119.18" > ParentList< / A > < B > _parents< / B >
2003-04-18 00:22:51 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "ref_ptr.html" > ref_ptr< / A > < <!1> < A HREF = "NodeCallback.html" > NodeCallback< / A > > < B > _updateCallback< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > unsigned int < B > _numChildrenRequiringUpdateTraversal< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "ref_ptr.html" > ref_ptr< / A > < <!1> < A HREF = "NodeCallback.html" > NodeCallback< / A > > < B > _cullCallback< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > bool < B > _cullingActive< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > unsigned int < B > _numChildrenWithCullingDisabled< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > unsigned int < B > _numChildrenWithOccluderNodes< / B >
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "Node.html#DOC.2.119.37" > NodeMask< / A > < B > _nodeMask< / B >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "Node.html#DOC.2.119.40" > DescriptionList< / A > < B > _descriptions< / B >
2003-04-18 00:22:51 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "ref_ptr.html" > ref_ptr< / A > < <!1> < A HREF = "StateSet.html" > StateSet< / A > > < B > _stateset< / B >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Methods< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > void < B > addParent< / B > (<!1> < A HREF = "Group.html" > osg::Group< / A > * node)
< DT >
< IMG ALT = "o" SRC = icon2.gif > void < B > removeParent< / B > (<!1> < A HREF = "Group.html" > osg::Group< / A > * node)
< DT >
< IMG ALT = "o" SRC = icon2.gif > void < B > setNumChildrenRequiringUpdateTraversal< / B > (unsigned int num)
< DT >
< IMG ALT = "o" SRC = icon2.gif > void < B > setNumChildrenWithCullingDisabled< / B > (unsigned int num)
< DT >
< IMG ALT = "o" SRC = icon2.gif > void < B > setNumChildrenWithOccluderNodes< / B > (unsigned int num)
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "Object.html" > Object< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setDataVariance< / B > (<!1> < A HREF = "Object.html#DOC.2.136.8" > DataVariance< / A > dv)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "Object.html#DOC.2.136.8" > DataVariance< / A > < B > getDataVariance< / B > () const
2003-04-18 00:22:51 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setUserData< / B > (<!1> < A HREF = "Referenced.html" > Referenced< / A > * obj)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "Referenced.html" > Referenced< / A > * < B > getUserData< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "Referenced.html" > Referenced< / A > * < B > getUserData< / B > () const
< / DL > < / P >
< P > < DL >
< DT > < H3 > Public Members< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > enum < B > DataVariance< / B >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "Object.html#DOC.2.136.8" > DataVariance< / A > < B > _dataVariance< / B >
2003-04-18 00:22:51 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "ref_ptr.html" > ref_ptr< / A > < <!1> < A HREF = "Referenced.html" > Referenced< / A > > < B > _userData< / B >
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "Referenced.html" > Referenced< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "Referenced.html" > Referenced< / A > & < B > operator = < / B > (<!1> < A HREF = "Referenced.html" > Referenced< / A > & )
< DT >
< IMG ALT = "o" SRC = icon2.gif > static void < B > setDeleteHandler< / B > (<!1> < A HREF = "DeleteHandler.html" > DeleteHandler< / A > * handler)
< DT >
< IMG ALT = "o" SRC = icon2.gif > static <!1> < A HREF = "DeleteHandler.html" > DeleteHandler< / A > * < B > getDeleteHandler< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > ref< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > unref_nodelete< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline int < B > referenceCount< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > unref< / B > () const
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > mutable int < B > _refCount< / B >
< / DL > < / P >
< / DL >
< A NAME = "DOC.DOCU" > < / A >
< HR >
< H2 > Documentation< / H2 >
< BLOCKQUOTE > Leaf Node for defining a light in the scene< / BLOCKQUOTE >
< DL >
< A NAME = "LightSource" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.97.1" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > LightSource()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "LightSource" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.97.2" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > LightSource(const <!1> < A HREF = "LightSource.html#DOC.2.97.2" > LightSource< / A > & ls, const <!1> < A HREF = "CopyOp.html" > CopyOp< / A > & copyop=CopyOp::SHALLOW_COPY)< / B > < / TT >
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "META_Node" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.97.3" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > META_Node(<!1> < A HREF = "osg.html" > osg< / A > , <!1> < A HREF = "LightSource.html" > LightSource< / A > )< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "ReferenceFrame" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.97.4" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > enum ReferenceFrame< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < DL >
< A NAME = "RELATIVE_TO_PARENTS" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.97.4.1" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > RELATIVE_TO_PARENTS< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "RELATIVE_TO_ABSOLUTE" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.97.4.2" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > RELATIVE_TO_ABSOLUTE< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < / DL >
< A NAME = "setReferenceFrame" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.97.5" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setReferenceFrame(<!1> < A HREF = "LightSource.html#DOC.2.97.4" > ReferenceFrame< / A > rf)< / B > < / TT >
2003-04-18 00:22:51 +08:00
< DD > Set the light sources's ReferenceFrame, either to be relative to its
parent reference frame, or relative to an absolute coordinate
frame. RELATIVE_TO_PARENTS is the default.
Note: setting the ReferenceFrame to be RELATIVE_TO_ABSOLUTE will
also set the CullingActive flag on the light source, and hence all
of its parents, to false, thereby disabling culling of it and
all its parents. This is neccessary to prevent inappropriate
culling, but may impact cull times if the absolute light source is
deep in the scene graph. It is therefore recommend to only use
absolute light source at the top of the scene.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getReferenceFrame" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.97.6" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "LightSource.html#DOC.2.97.4" > ReferenceFrame< / A > getReferenceFrame() const < / B > < / TT >
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setLight" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.97.7" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setLight(<!1> < A HREF = "StateAttribute.html" > StateAttribute< / A > * light)< / B > < / TT >
< DD > Set the attached light
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getLight" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.97.8" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline <!1> < A HREF = "StateAttribute.html" > StateAttribute< / A > * getLight()< / B > < / TT >
< DD > Get the attached light
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getLight" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.97.9" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline const <!1> < A HREF = "StateAttribute.html" > StateAttribute< / A > * getLight() const < / B > < / TT >
< DD > Get the const attached light
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setStateSetModes" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.97.10" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setStateSetModes(<!1> < A HREF = "StateSet.html" > StateSet< / A > & , StateAttribute::GLModeValue) const < / B > < / TT >
< DD > Set the GLModes on StateSet associated with the LightSource
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setLocalStateSetModes" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.97.11" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setLocalStateSetModes(StateAttribute::GLModeValue=StateAttribute::ON)< / B > < / TT >
< DD > Set up the local StateSet
< DL > < DT > < DD > < / DL > < P >
< A NAME = "~LightSource" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.97.12" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual ~LightSource()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "computeBound" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.97.13" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual bool computeBound() const < / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_value" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.97.14" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > StateAttribute::GLModeValue _value< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_light" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.97.15" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "ref_ptr.html" > ref_ptr< / A > < <!1> < A HREF = "StateAttribute.html" > StateAttribute< / A > > _light< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_referenceFrame" > < / A >
2003-09-08 18:51:14 +08:00
< A NAME = "DOC.2.97.16" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "LightSource.html#DOC.2.97.4" > ReferenceFrame< / A > _referenceFrame< / B > < / TT >
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P > < / DL >
< HR > < DL > < DT > < B > This class has no child classes.< / B > < / DL >
< DL > < DT > < DD > < / DL > < P > < P > < I > < A HREF = "index.html" > Alphabetic index< / A > < / I > < I > < A HREF = "HIER.html" > HTML hierarchy of classes< / A > or < A HREF = "HIERjava.html" > Java< / A > < / I > < / P > < HR >
< BR >
This page was generated with the help of < A HREF = "http://docpp.sourceforge.net" > DOC++< / A > .
< / BODY >
< / HTML >