H3D::TexGenGeometry Class Reference
[H3D specific Node classes.]

The TexGenGeometry node is a wrapper node that lets you specify a TextureCoordinateGenerator node to generate the texture coordinates of a geometry instead of using the default ones. More...

#include <TexGenGeometry.h>

Inheritance diagram for H3D::TexGenGeometry:

Inheritance graph
List of all members.

Public Types

typedef DependentSFNode< TextureCoordinateGenerator,
FieldRef< X3DGeometricPropertyNode,
Field,&X3DGeometricPropertyNode::propertyChanged > > 
SFTexCoordGenNode
 The SFTextureCoordinteNode is dependent on the propertyChanged field of the contained TextureCoordinateGenerator.

Public Member Functions

 TexGenGeometry (Inst< SFNode > _metadata=0, Inst< SFBound > _bound=0, Inst< DisplayList > _displayList=0, Inst< MFBool > _isTouched=0, Inst< MFVec3f > _force=0, Inst< MFVec3f > _contactPoint=0, Inst< MFVec3f > _contactNormal=0, Inst< SFGeometryNode > _geometry=0, Inst< SFTexCoordGenNode > _texCoord=0)
 Constructor.
virtual void render ()
 Starts texture coord generation and renders the geometry.

Public Attributes

auto_ptr< SFGeometryNodegeometry
 The geometry field contains the X3DGeometryNode that we want to generate texture coordinates for.
auto_ptr< SFTexCoordGenNodetexCoord
 The texCoord field contains the TextureCoordinateGenerator node to use to generate texture coordinates.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodeDatabase for this node.

Classes

class  SFGeometryNode
 The SFGeometryNode keeps a route between the contained X3DGeometryNode's bound field and the bound field ot the TexGenGeometry. More...

Detailed Description

The TexGenGeometry node is a wrapper node that lets you specify a TextureCoordinateGenerator node to generate the texture coordinates of a geometry instead of using the default ones.


Member Data Documentation

auto_ptr< SFGeometryNode > H3D::TexGenGeometry::geometry
 

The geometry field contains the X3DGeometryNode that we want to generate texture coordinates for.

Access type: inputOutput


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