8#ifndef META_OCEAN_SCENEDESCRIPTION_SDX_X3D_INDEXED_FACE_SET_H
9#define META_OCEAN_SCENEDESCRIPTION_SDX_X3D_INDEXED_FACE_SET_H
std::vector< Vector3 > 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
const Field & field(const std::string &fieldName) const
Returns the field base of a specified (standard) field.
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.
X3DComposedGeometryNode(const SDXEnvironment *environment)
Creates an abstract x3d composed geometry node.
This class implements a node environment container.
Definition SDXNode.h:62
This class implements a timestamp.
Definition Timestamp.h:64
std::vector< RGBAColor > RGBAColors
Definition of a vector holding rgba color objects.
Definition RGBAColor.h:27
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
std::vector< Vertex > Vertices
Definition of a vector holding vertices.
Definition rendering/Rendering.h:119
SmartObjectRef< Scene > SceneRef
Definition of a smart object reference holding a scene node.
Definition rendering/Scene.h:29
Field1D< int > MultiInt
Definition of a multi field with integer values.
Definition Field1D.h:48
Field0D< bool > SingleBool
Definition of a single field with boolean value.
Definition Field0D.h:29
Field0D< Scalar > SingleFloat
Definition of a single field with float value.
Definition Field0D.h:41
Namespace of the S(scene)D(escription)X X3D SceneDescription library.
Definition Appearance.h:26
Definition Appearance.h:23
Namespace of the SceneDescription library.
Definition DynamicNode.h:21
The namespace covering the entire Ocean framework.
Definition Accessor.h:15