29 #ifndef __TEXTURECOORDINATE4D_H__
30 #define __TEXTURECOORDINATE4D_H__
55 Inst< MFVec4f> _point = 0 );
68 virtual void render(
int index );
71 virtual void renderForTextureUnit(
int index,
72 unsigned int texture_unit );
76 virtual void renderArray();
79 virtual void disableArray();
82 virtual void setAttributeData ( );
85 virtual void renderVBO ( );
88 virtual void disableVBO ( );
91 virtual bool preRenderCheckFail ( );
106 return point->getValueByIndex( index );
Contains the MFVec4f field class.
Header file for X3DTextureCoordinateNode, X3D scene-graph node.
The TextureCoordinate4D node is a geometry property node that specifies a set of 4D (homogeneous 3D) ...
Definition: TextureCoordinate4D.h:51
virtual bool supportsGetTexCoord(unsigned int texture_unit)
Returns true if the getTexCoord function is available for use.
Definition: TextureCoordinate4D.h:100
virtual bool supportsExplicitTexCoords()
Returns true.
Definition: TextureCoordinate4D.h:61
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: TextureCoordinate4D.h:117
virtual unsigned int nrAvailableTexCoords()
Returns the number of texture coordinates this node can render.
Definition: TextureCoordinate4D.h:94
virtual Vec4f getTexCoord(int index, unsigned int texture_unit)
Gets texture coordinate of the given index and texture unit.
Definition: TextureCoordinate4D.h:105
H3DUniquePtr< MFVec4f > point
A vector of 4d texture coordinates.
Definition: TextureCoordinate4D.h:114
This abstract node type is the base type for all node types which specify texture coordinates.
Definition: X3DTextureCoordinateNode.h:55
H3D API namespace.
Definition: Anchor.h:38
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194