H3D::X3DTextureTransformNode Class Reference
[Abstract nodes.]

This abstract node type is the base type for all node types which specify a transformation of texture coordinates. More...

#include <X3DTextureTransformNode.h>

Inheritance diagram for H3D::X3DTextureTransformNode:

Inheritance graph
List of all members.

Public Member Functions

 X3DTextureTransformNode (Inst< DisplayList > _displayList=0, Inst< SFNode > _metadata=0)
 Constructor.
virtual void renderForTextureUnits (unsigned int start_unit, unsigned int end_unit)
 Render the texture transform for the texture units between and inluding start_unit and end_unit.
virtual void renderForTextureUnit (unsigned int texture_unit)
 Render the texture transform for the specified texture unit.
virtual void preRender ()
 This function will be called by the X3DShapeNode before any rendering of geometry and before the call to the render function.
virtual void postRender ()
 This function will be called by the X3DShapeNode after the geometry has been rendered to restore the states to what it was before the call to preRender().
virtual string defaultXMLContainerField ()
 Returns the default xml containerField attribute value.

Classes

class  DisplayList
 The rendering of texture transformation requires the specifiation of which texture units to render the transformation for. More...

Detailed Description

This abstract node type is the base type for all node types which specify a transformation of texture coordinates.


Member Function Documentation

virtual string H3D::X3DTextureTransformNode::defaultXMLContainerField  )  [inline, virtual]
 

Returns the default xml containerField attribute value.

For this node it is "textureTransform".

Reimplemented from H3D::Node.

void X3DTextureTransformNode::preRender  )  [virtual]
 

This function will be called by the X3DShapeNode before any rendering of geometry and before the call to the render function.

So this is the place to save the states that are going to be changed in render() in order to restore it in postRender().

Reimplemented from H3D::X3DAppearanceChildNode.


Generated on Thu Aug 24 12:40:31 2006 for H3D API by  doxygen 1.4.5