8 #ifndef META_OCEAN_SCENEDESCRIPTION_SDX_X3D_INDEXED_FACE_SET_H
9 #define META_OCEAN_SCENEDESCRIPTION_SDX_X3D_INDEXED_FACE_SET_H
17 namespace SceneDescription
std::vector< Vector3 > Values
Definition of a vector holding the single values.
Definition: Field1D.h:122
This class is the base class for all scene description fields.
Definition: Field.h:36
This class implements a node specification object.
Definition: scenedescription/Node.h:77
This class implements a x3d indexed face set node.
Definition: IndexedFaceSet.h:31
MultiInt coordIndex_
CoordIndex field.
Definition: IndexedFaceSet.h:141
SingleFloat creaseAngle_
CreaseAngle field.
Definition: IndexedFaceSet.h:144
NodeSpecification specifyNode()
Specifies the node type and the fields of this node.
void apply()
Applies all recent changes to the rendering engine object.
MultiInt setTexCoordIndex_
Set_texCoordIndex.
Definition: IndexedFaceSet.h:132
MultiInt setColorIndex_
Set_colorIndex field.
Definition: IndexedFaceSet.h:123
size_t objectAddress() const override
Returns the address of the most derived object.
bool addTextureCoordinatesPerVertex(Rendering::TextureCoordinates &renderingTextureCoordinates, const MultiVector2::Values &textureCoordinates, const MultiInt::Values &indices, const unsigned int firstIndex, const unsigned int endIndex)
Adds new texture coordinate per vertex to the rendering mesh.
MultiInt normalIndex_
NormalIndex field.
Definition: IndexedFaceSet.h:147
MultiInt setNormalIndex_
Set_normalIndex field.
Definition: IndexedFaceSet.h:129
bool addPhantomTextureCoordinatesPerVertex(Rendering::Vertices &renderingPhantomTextureCoordinates, const MultiVector3::Values &phantomTextureCoordinates, const MultiInt::Values &indices, const unsigned int firstIndex, const unsigned int endIndex)
Adds new Ocean specific phantom texture coordinate per vertex to the rendering mesh.
MultiInt colorIndex_
ColorIndex field.
Definition: IndexedFaceSet.h:135
MultiInt setCoordIndex_
Set_coordIndex field.
Definition: IndexedFaceSet.h:126
MultiInt texCoordIndex_
TexCoordIndex field.
Definition: IndexedFaceSet.h:150
void onInitialize(const Rendering::SceneRef &scene, const Timestamp timestamp) override
Event function to inform the node that it has been initialized and can apply all internal values to c...
IndexedFaceSet(const SDXEnvironment *environment)
Creates a new x3d indexed face set node.
void addNormalsPerVertex(Rendering::Normals &renderingNormals, const MultiVector3::Values &normals, const MultiInt::Values &indices, const unsigned int firstIndex, const unsigned int endIndex) const
Adds new normals per vertex to the rendering mesh.
bool onFieldChanging(const std::string &fieldName, const Field &field) override
Explicit changing event function for node fields.
bool addColorsPerVertex(RGBAColors &renderingColors, const MultiColor::Values &colors, const MultiInt::Values &indices, const unsigned int firstIndex, const unsigned int endIndex)
Adds new color per vertex to the rendering mesh.
SingleBool convex_
Convex field.
Definition: IndexedFaceSet.h:138
void onFieldChanged(const std::string &fieldName) override
Event function to inform the node about a changed field.
This class implements an abstract x3d composed geometry node.
Definition: X3DComposedGeometryNode.h:33
This class implements a node environment container.
Definition: SDXNode.h:62
This class implements a timestamp.
Definition: Timestamp.h:36
std::vector< RGBAColor > RGBAColors
Definition of a vector holding rgba color objects.
Definition: RGBAColor.h:21
std::vector< Vertex > Vertices
Definition of a vector holding vertices.
Definition: rendering/Rendering.h:119
std::vector< TextureCoordinate > TextureCoordinates
Definition of a vector holding texture coordinates.
Definition: rendering/Rendering.h:113
std::vector< Normal > Normals
Definition of a vector holding normals.
Definition: rendering/Rendering.h:107
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15