Inheritance diagram for osgSim::OverlayNode:
Public Member Functions | |
OverlayNode () | |
OverlayNode (const OverlayNode &es, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
META_Node (osgSim, OverlayNode) | |
virtual void | traverse (osg::NodeVisitor &nv) |
Traverse downwards : calls children's accept method with NodeVisitor. | |
void | setOverlaySubgraph (osg::Node *node) |
Set the overlay subgraph which will be rendered to texture. | |
osg::Node * | getOverlaySubgraph () |
Get the overlay subgraph which will be rendered to texture. | |
const osg::Node * | getOverlaySubgraph () const |
Get the const overlay subgraph which will be render to texture. | |
void | dirtyOverlayTexture () |
Inform the OverlayNode that the overlay texture needs to be updated. | |
void | setContinousUpdate (bool update) |
Set whether the OverlayNode should update the overlay texture on every frame. | |
bool | getContinousUpdate () const |
Get whether the OverlayNode should update the overlay texture on every frame. | |
void | setOverlayClearColor (const osg::Vec4 &color) |
Set the clear color to use when rendering the overlay subgraph. | |
const osg::Vec4 & | getOverlayClearColor () const |
Get the clear color to use when rendering the overlay subgraph. | |
void | setTexEnvMode (GLenum mode) |
Set the TexEnv mode used to combine the overlay texture with the base color/texture of the OverlayNode's decorate subgraph. | |
GLenum | getTexEnvMode () |
Get the TexEnv mode used to combine the overlay texture with the base color/texture of the OverlayNode's decorate subgraph. | |
void | setOverlayTextureUnit (unsigned int unit) |
Set the texture unit that the texture should be assigned to. | |
unsigned int | getOverlayTextureUnit () const |
Get the texture unit that the texture should be assigned to. | |
void | setOverlayTextureSizeHint (unsigned int size) |
Set the texture size hint. | |
unsigned int | getOverlayTextureSizeHint () const |
Get the texture size hint. | |
osg::CameraNode * | getCamera () |
Get the camera used to implement the render to texture of the overlay subgraph. | |
const osg::CameraNode * | getCamera () const |
Get the const camera used to implement the render to texture of the overlay subgraph. | |
Protected Types | |
typedef osg::buffered_value< int > | TextureObjectValidList |
Protected Member Functions | |
virtual | ~OverlayNode () |
void | init () |
void | updateMainSubgraphStateSet () |
Protected Attributes | |
TextureObjectValidList | _textureObjectValidList |
osg::ref_ptr< osg::CameraNode > | _camera |
osg::ref_ptr< osg::Node > | _overlaySubgraph |
osg::ref_ptr< osg::TexGenNode > | _texgenNode |
osg::ref_ptr< osg::StateSet > | _mainSubgraphStateSet |
GLenum | _texEnvMode |
unsigned int | _textureUnit |
unsigned int | _textureSizeHint |
osg::ref_ptr< osg::Texture2D > | _texture |
bool | _continousUpdate |
osg::Polytope | _textureFrustum |
|
|
|
|
|
|
|
|
|
Inform the OverlayNode that the overlay texture needs to be updated.
|
|
Get the const camera used to implement the render to texture of the overlay subgraph.
|
|
Get the camera used to implement the render to texture of the overlay subgraph.
|
|
Get whether the OverlayNode should update the overlay texture on every frame.
|
|
Get the clear color to use when rendering the overlay subgraph.
|
|
Get the const overlay subgraph which will be render to texture.
|
|
Get the overlay subgraph which will be rendered to texture.
|
|
Get the texture size hint.
|
|
Get the texture unit that the texture should be assigned to.
|
|
Get the TexEnv mode used to combine the overlay texture with the base color/texture of the OverlayNode's decorate subgraph.
|
|
|
|
|
|
Set whether the OverlayNode should update the overlay texture on every frame.
|
|
Set the clear color to use when rendering the overlay subgraph.
|
|
Set the overlay subgraph which will be rendered to texture.
|
|
Set the texture size hint. The size hint is used to request a texture of specified size. |
|
Set the texture unit that the texture should be assigned to.
|
|
Set the TexEnv mode used to combine the overlay texture with the base color/texture of the OverlayNode's decorate subgraph.
|
|
Traverse downwards : calls children's accept method with NodeVisitor.
Reimplemented from osg::Group. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|