|
OpenSceneGraph
3.0.1
|
Node for defining the position of TexGen in the scene. More...

Public Types | |
| enum | ReferenceFrame { RELATIVE_RF, ABSOLUTE_RF } |
Public Member Functions | |
| TexGenNode () | |
| TexGenNode (TexGen *texgen) | |
| TexGenNode (const TexGenNode &tgb, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| META_Node (osg, TexGenNode) | |
| void | setReferenceFrame (ReferenceFrame rf) |
| Set the TexGenNode's ReferenceFrame, either to be relative to its parent reference frame. | |
| ReferenceFrame | getReferenceFrame () const |
| Get the TexGenNode's ReferenceFrame. | |
| void | setTextureUnit (unsigned int textureUnit) |
| Set the texture unit that this TexGenNode is associated with. | |
| unsigned int | getTextureUnit () const |
| void | setTexGen (TexGen *texgen) |
| Set the TexGen. | |
| TexGen * | getTexGen () |
| Get the TexGen. | |
| const TexGen * | getTexGen () const |
| Get the const TexGen. | |
| virtual void | setThreadSafeRefUnref (bool threadSafe) |
| Set whether to use a mutex to ensure ref() and unref() are thread safe. | |
Protected Member Functions | |
| virtual | ~TexGenNode () |
Protected Attributes | |
| unsigned int | _textureUnit |
| osg::ref_ptr< TexGen > | _texgen |
| ReferenceFrame | _referenceFrame |
| osg::TexGenNode::TexGenNode | ( | TexGen * | texgen | ) |
| osg::TexGenNode::TexGenNode | ( | const TexGenNode & | tgb, |
| const CopyOp & | copyop = CopyOp::SHALLOW_COPY |
||
| ) |
| virtual osg::TexGenNode::~TexGenNode | ( | ) | [protected, virtual] |
| ReferenceFrame osg::TexGenNode::getReferenceFrame | ( | ) | const [inline] |
Get the TexGenNode's ReferenceFrame.
| TexGen* osg::TexGenNode::getTexGen | ( | ) | [inline] |
Get the TexGen.
| const TexGen* osg::TexGenNode::getTexGen | ( | ) | const [inline] |
Get the const TexGen.
| unsigned int osg::TexGenNode::getTextureUnit | ( | ) | const [inline] |
| osg::TexGenNode::META_Node | ( | osg | , |
| TexGenNode | |||
| ) |
Set the TexGenNode's ReferenceFrame, either to be relative to its parent reference frame.
| void osg::TexGenNode::setTexGen | ( | TexGen * | texgen | ) |
Set the TexGen.
| void osg::TexGenNode::setTextureUnit | ( | unsigned int | textureUnit | ) | [inline] |
Set the texture unit that this TexGenNode is associated with.
| virtual void osg::TexGenNode::setThreadSafeRefUnref | ( | bool | threadSafe | ) | [virtual] |
Set whether to use a mutex to ensure ref() and unref() are thread safe.
Reimplemented from osg::Group.
ReferenceFrame osg::TexGenNode::_referenceFrame [protected] |
osg::ref_ptr<TexGen> osg::TexGenNode::_texgen [protected] |
unsigned int osg::TexGenNode::_textureUnit [protected] |
| Generated at Thu Sep 27 2012 17:03:03 for the OpenSceneGraph by doxygen 1.7.6.1. |