H3D::X3DTextureCoordinateNode Class Reference
[Abstract nodes.]

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

#include <X3DTextureCoordinateNode.h>

Inheritance diagram for H3D::X3DTextureCoordinateNode:

Inheritance graph
List of all members.

Public Member Functions

 X3DTextureCoordinateNode (Inst< SFNode > _metadata=0)
 Constructor.
virtual void render (int index)
 Perform the OpenGL commands to render a texture coordinate given the index of the texture coordinate.
virtual void renderForTextureUnit (int index, unsigned int texture_unit)
 Render the texture transform for the currently active texture unit.
virtual void renderForTextureUnits (int index, 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 string defaultXMLContainerField ()
 Returns the default xml containerField attribute value.
virtual unsigned int nrAvailableTexCoords ()=0
 Returns the number of texture coordinates this node can render.
virtual void renderArray ()
 Perform the OpenGL commands to render all texture coordinates as an arary.
virtual void renderArrayForTextureUnit (unsigned int texture_unit)
 Perform the OpenGL commands to render all texture coordinates as an array for the given texture unit.
virtual void renderArrayForTextureUnits (unsigned int start_unit, unsigned int end_unit)
 Perform the OpenGL commands to render all texture coordinates as an array for the texture units between and inluding start_unit and end_unit.
virtual void disableArray ()
 Disable the array state enabled in renderArray().
virtual void disableArrayForTextureUnit (unsigned int texture_unit)
 Disable the array state enabled in renderArrayForTextureUnit().
virtual void disableArrayForTextureUnits (unsigned int start_unit, unsigned int end_unit)
 Disable the array state enabled in renderArrayForTextureUnits().

Detailed Description

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

It adds a new geometric property node type to those specified in 11 Rendering component.


Member Function Documentation

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

Returns the default xml containerField attribute value.

For this node it is "texCoord".

Reimplemented from H3D::Node.


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