|
AGXDynamics
2.31.1.0
|
Global triangle data (mapped with agxCollide::Mesh object) holding vertex indices. More...
#include <WindAndWaterUtils.h>
Inheritance diagram for agxModel::GlobalTriangleData:Public Types | |
| typedef agx::Vector < GlobalTriangleData > | Container |
| enum | State { BELOW_SURFACE = 1 << 0, ABOVE_SURFACE = 1 << 1, CLIPPED = 1 << 2, CALCULATIONS_ENABLE = 1 << 3 } |
Public Member Functions | |
| agx::Real | calculateArea () const |
| agx::Vec3 | calculateNormal () const |
| agx::Bool | isBelowSurface () const |
| agx::Bool | isCalculationsEnable () const |
| agx::Bool | isClipped () const |
Public Attributes | |
| agx::Real | area |
| Area of this triangle. More... | |
| agxModel::TriangleData::Container | clipped |
| Container with clipped triangles if this global triangle has been clipped. More... | |
| agx::UInt | pfrIndex |
| agx::Int32 | state |
| Current state of this triangle. More... | |
| agx::UInt | vertexIndices [3] |
| Vertex indices. More... | |
| agxModel::VertexData | vertices [3] |
| Vertices of this triangle. More... | |
| agx::Vec3 | worldNormal |
| Normal to this triangle given in world coordinate system. More... | |
Global triangle data (mapped with agxCollide::Mesh object) holding vertex indices.
Definition at line 101 of file WindAndWaterUtils.h.
Definition at line 103 of file WindAndWaterUtils.h.
|
inherited |
| Enumerator | |
|---|---|
| BELOW_SURFACE | |
| ABOVE_SURFACE | |
| CLIPPED | |
| CALCULATIONS_ENABLE | |
Definition at line 58 of file WindAndWaterUtils.h.
|
inherited |
|
inherited |
|
inherited |
Definition at line 194 of file WindAndWaterUtils.h.
References agxModel::TriangleData::BELOW_SURFACE, and agxModel::TriangleData::state.
|
inherited |
Definition at line 204 of file WindAndWaterUtils.h.
References agxModel::TriangleData::CALCULATIONS_ENABLE, and agxModel::TriangleData::state.
|
inherited |
Definition at line 199 of file WindAndWaterUtils.h.
References agxModel::TriangleData::CLIPPED, and agxModel::TriangleData::state.
Referenced by agxModel::triangleIterator().
|
inherited |
Area of this triangle.
Definition at line 93 of file WindAndWaterUtils.h.
| agxModel::TriangleData::Container agxModel::GlobalTriangleData::clipped |
Container with clipped triangles if this global triangle has been clipped.
Definition at line 106 of file WindAndWaterUtils.h.
Referenced by agxModel::triangleIterator().
|
inherited |
Definition at line 95 of file WindAndWaterUtils.h.
|
inherited |
Current state of this triangle.
Definition at line 94 of file WindAndWaterUtils.h.
Referenced by agxModel::TriangleData::isBelowSurface(), agxModel::TriangleData::isCalculationsEnable(), and agxModel::TriangleData::isClipped().
| agx::UInt agxModel::GlobalTriangleData::vertexIndices[3] |
Vertex indices.
Definition at line 105 of file WindAndWaterUtils.h.
|
inherited |
Vertices of this triangle.
Definition at line 91 of file WindAndWaterUtils.h.
|
inherited |
Normal to this triangle given in world coordinate system.
Definition at line 92 of file WindAndWaterUtils.h.