 |
AGX Dynamics
2.38.0.2
|
Go to the documentation of this file.
17 #ifndef AGXCOLLIDE_MESHDATA_H
18 #define AGXCOLLIDE_MESHDATA_H
54 size_t getNumTriangles()
const;
95 agx::Real getTotalMaximumEdgeLength()
const;
99 bool hasHalfEdge()
const;
109 bool isTerrain()
const;
111 bool hasInternalCenterPoint()
const;
agx::Vec3Vector m_vertices
agx::UInt32Vector m_indices
agx::SPDMatrix3x3 m_inertia
agx::ref_ptr< const MeshData > ConstMeshDataRef
Mesh is a common base class for triangle meshes, such as Mesh or HeightField.
agx::Real m_totalMaximumEdgeLength
const BoundingAABB & getBound() const
size_t getNumTriangles() const
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
agx::UInt32Vector & getIndices()
A HeightField is a collision shape that can be created from a grid structure, like an image.
Axis aligned bounding box implementation.
bool m_hasInternalCenterPoint
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Class for data sharing only to be used by HeightField.
agx::Vec3Vector & getVertices()
#define AGXPHYSICS_EXPORT
agx::Real m_minAllowedHeight
agx::Vec3Vector m_normals
Class for data sharing only to be used by Mesh, its internal classes and children.
Smart pointer for handling referenced counted objects.
agx::ref_ptr< MeshData > MeshDataRef
agx::ref_ptr< CollisionMeshData > CollisionMeshDataRef
AGXMODEL_EXPORT agx::Vec3 getCenter(const agxCollide::Mesh::Triangle &triangle)
agx::ref_ptr< const CollisionMeshData > ConstCollisionMeshDataRef
agx::ref_ptr< const HeightFieldMeshData > ConstHeightFieldMeshDataRef
Specialized type of matrices for holding symmetric positive definite matrices.
agx::UInt32Vector m_halfEdges
agx::Real32Vector m_triangleMaximumEdgeLengths
agx::UInt32Vector m_boundIndices
Base class providing referencing counted objects.
A convex class for geometric intersection tests.
This namespace consists of a set of classes for handling geometric intersection tests including boole...
Stores triangle mesh data as triangle lists, i.e.
agx::Vec2 getSize() const
Triangle mesh for geometric intersection tests.
agx::ref_ptr< HeightFieldMeshData > HeightFieldMeshDataRef