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