29 #ifndef __X3DCOORDINATENODE_H__
30 #define __X3DCOORDINATENODE_H__
55 virtual Vec3f getCoord(
int index ) = 0;
97 Iterator() : coord( NULL ) {
102 return coord->getCoord( index );
105 inline Iterator& operator++() {
111 inline Iterator operator++(
int ) {
112 Iterator temp = *
this;
118 return this->index == i.index;
122 return this->index != i.index;
126 Iterator pointBegin() {
127 return Iterator(
this );
130 Iterator pointEnd() {
Contains the GLVertexAttributeObject class.
Contains the SFBool field class.
Header file for X3DGeometricPropertyNode, X3D scene-graph node.
This abstract interface is inherited by all nodes that could be used as vertex attributes in a glsl s...
Definition: GLVertexAttributeObject.h:54
This is the base node type for all coordinate node types in X3D.
Definition: X3DCoordinateNode.h:47
virtual void disableArray()
Disable the array state enabled in renderArray().
Definition: X3DCoordinateNode.h:66
virtual void renderArray()
Perform the OpenGL commands to render all vertices as a vertex array.
Definition: X3DCoordinateNode.h:63
virtual void render(int)
Perform the OpenGL commands to render a vertex given the index of the vertex.
Definition: X3DCoordinateNode.h:59
virtual unsigned int nrAvailableCoords()=0
Returns the number of coordinates this coordinate node can render.
virtual string defaultXMLContainerField()
Returns the default xml containerField attribute value.
Definition: X3DCoordinateNode.h:71
virtual void disableVBO()
VBO disabling implementation.
Definition: X3DCoordinateNode.h:85
virtual void setAttributeData()
Implement the method to specify data and releated information.
Definition: X3DCoordinateNode.h:79
virtual void renderVBO()
VBO rendering implementation.
Definition: X3DCoordinateNode.h:82
This is the base node type for all geometric property node types defined in X3D.
Definition: X3DGeometricPropertyNode.h:43
DualQuaternion operator*(const DualQuaternion &q1, const DualQuaternion &q2)
bool operator==(const DualQuaternion &q1, const DualQuaternion &q2)
bool operator!=(const T &a, const U &b)
H3D API namespace.
Definition: Anchor.h:38