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