139 size_t getNumTriangles()
const;
163 size_t readShlStream( std::istream& stream );
197 return m_texCoordinates;
203 return m_indices.size() / 3;
AGXTERRAIN_EXPORT void clear()
The agxIO namespace contains classes for reading, writing and finding files.
Industry Foundation Classes (IFC/Step)
Support mesh file formats.
#define AGXPHYSICS_EXPORT
agx::Vec3Vector m_vertices
#define AGX_DECLARE_POINTER_TYPES(type)
agx::Vec2Vector m_texCoordinates
void AGXCORE_EXPORT readFile(agx::String &result, const agx::String &filePath)
Open Game Engine Exchange(.ogex)
const agx::Vec3Vector & getNormals() const
Get normals from previously read mesh file.
const agx::Vec2Vector & getTextureCoordinates() const
Get texture coordinates from previously read mesh file.
Base class providing referencing counted objects.
Stanford Polygon Library.
const agx::Vec3Vector & getVertices() const
Get vertices from previously read mesh file.
agx::Vec3Vector m_normals
const agx::UInt32Vector & getIndices() const
Get indices from previously read mesh file.
static agx::StringVector m_extensions
Binary GL Transmission format.
Class for reading a mesh object from file and extracting vertices, normals and indices for collision ...
agx::UInt32Vector m_indices
size_t getNumTriangles() const
Get number of triangles from previously read mesh file.
Ascii GL Transmission format.