AGX Dynamics  2.35.0.1
TrimeshReaderWriter.h File Reference
#include <agx/agx.h>
#include <agxCollide/Trimesh.h>

Go to the source code of this file.

Namespaces

 agxCollide
 This namespace consists of a set of classes for handling geometric intersection tests including boolean tests, penetration and contact sets.
 
 agxUtil
 The agxUtil namespace contain classes and methods for utility functionality.
 
 agxUtil::TrimeshReaderWriter
 Functions for generating Trimesh shapes from meshes, and for serializing them.
 

Functions

AGXPHYSICS_EXPORT agxCollide::RenderData * agxUtil::TrimeshReaderWriter::createRenderData (const agx::String &filename, const agx::Matrix3x3 &vertexRotateAndScale=agx::Matrix3x3(), const agx::Vec3 &vertexTranslate=agx::Vec3())
 Create a RenderData object from a supported mesh file (See agxIO::MeshReader::FileType). More...
 
AGXPHYSICS_EXPORT agxCollide::Trimesh * agxUtil::TrimeshReaderWriter::createTrimesh (const agx::String &filename, uint32_t trimeshOptions=agxCollide::Trimesh::REMOVE_DUPLICATE_VERTICES, const agx::Matrix3x3 &vertexRotateAndScale=agx::Matrix3x3(), const agx::Vec3 &vertexTranslate=agx::Vec3())
 Create a Trimesh shape from a supported mesh file format (See agxIO::MeshReader::FileType) containing mesh data. More...
 
AGXPHYSICS_EXPORT agxCollide::Trimesh * agxUtil::TrimeshReaderWriter::createTrimesh (const agx::Vec3Vector &vertices, const agx::UInt32Vector &indices, uint32_t trimeshOptions=agxCollide::Trimesh::REMOVE_DUPLICATE_VERTICES, const agx::Matrix3x3 &vertexRotateAndScale=agx::Matrix3x3(), const agx::Vec3 &vertexTranslate=agx::Vec3())
 Create a Trimesh shape from vertices and indices. More...
 
AGXPHYSICS_EXPORT agxCollide::Trimesh * agxUtil::TrimeshReaderWriter::createTrimesh (const agxCollide::HeightField *heightField)
 Creates a trimesh from an agxCollide::HeightField. More...
 
AGXPHYSICS_EXPORT agxCollide::Trimesh * agxUtil::TrimeshReaderWriter::createTrimeshTerrain (const agx::String &filename, agx::Real bottomMargin, uint32_t trimeshOptions=agxCollide::Trimesh::REMOVE_DUPLICATE_VERTICES, const agx::Matrix3x3 &vertexRotateAndScale=agx::Matrix3x3(), const agx::Vec3 &vertexTranslate=agx::Vec3())
 Create a Terrain shape from a supported mesh model file (See agxIO::MeshReader::FileType). More...
 
AGXPHYSICS_EXPORT bool agxUtil::TrimeshReaderWriter::exportTrimesh (const agxCollide::Trimesh *trimesh, const agx::String &filename)
 Exports trimesh vertex and index data to a mesh file (currently only supporting wavefront obj). More...