Lightmetrica
0.0.1.50dbee3 (yosakoi)
|
#include <trianglemesh.h>
Public Member Functions | |
LM_ASSET_INTERFACE_DEF ("triangle_mesh","triangle_meshes") | |
LM_ASSET_NO_DEPENDENCIES () | |
virtual int | NumVertices () const =0 |
virtual int | NumFaces () const =0 |
virtual const Math::Float * | Positions () const =0 |
virtual const Math::Float * | Normals () const =0 |
virtual const Math::Float * | TexCoords () const =0 |
virtual const unsigned int * | Faces () const =0 |
Public Member Functions inherited from Asset | |
virtual bool | Load (const ConfigNode &node, const Assets &assets)=0 |
LM_PUBLIC_API std::string | ID () const |
LM_HIDDEN_API void | SetID (const std::string &id) |
Public Member Functions inherited from Component | |
virtual std::string | ComponentInterfaceTypeName () const =0 |
virtual std::string | ComponentImplTypeName () const =0 |
Public Member Functions inherited from SIMDAlignedType | |
void * | operator new (std::size_t size) throw (std::bad_alloc) |
void | operator delete (void *p) |
Triangle mesh. A base class for the triangle meshes.
|
pure virtual |
|
pure virtual |
Get the normal array.
Implemented in ObjMesh, RawMesh, and StubTriangleMesh.
|
pure virtual |
Get the number of faces.
Implemented in ObjMesh, RawMesh, and StubTriangleMesh.
|
pure virtual |
Get the number of vertices.
Implemented in ObjMesh, RawMesh, and StubTriangleMesh.
|
pure virtual |
Get the position array.
Implemented in ObjMesh, RawMesh, and StubTriangleMesh.
|
pure virtual |
Get the texture coordinates array.
Implemented in ObjMesh, RawMesh, and StubTriangleMesh.