DHART
|
Header file for functions related to loading/storing an OBJ file (a mesh) More...
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | HF |
Perform human scale analysis on 3D environments. | |
namespace | HF::Geometry |
Manipulate and load geometry from disk. | |
Macros | |
#define | C_INTERFACE extern "C" __declspec(dllexport) int |
Functions | |
C_INTERFACE | LoadOBJ (const char *obj_path, HF::Geometry::GROUP_METHOD gm, float xrot, float yrot, float zrot, HF::Geometry::MeshInfo< float > ***out_data_array, int *num_meshes) |
Load an obj from the given path then rotate it by x,y, and z. More... | |
C_INTERFACE | StoreMesh (HF::Geometry::MeshInfo< float > **out_info, const int *indices, int num_indices, const float *vertices, int num_vertices, const char *name, int id) |
Store a mesh in a format usable with DHARTAPI. More... | |
C_INTERFACE | RotateMesh (HF::Geometry::MeshInfo< float > *mesh_to_rotate, float xrot, float yrot, float zrot) |
Rotate an existing mesh (HF::Geometry::MeshInfo) More... | |
C_INTERFACE | GetVertsAndTris (const HF::Geometry::MeshInfo< float > *MI, int **index_out, int *num_triangles, float **vertex_out, int *num_vertices) |
Get a pointer to and the size of a mesh's triangle and vertex arrays. More... | |
C_INTERFACE | GetMeshName (const HF::Geometry::MeshInfo< float > *MI, char **out_name) |
Get the name of a mesh. More... | |
C_INTERFACE | GetMeshID (const HF::Geometry::MeshInfo< float > *MI, int *out_id) |
Get the ID of a mesh. More... | |
C_INTERFACE | DestroyMeshInfo (HF::Geometry::MeshInfo< float > *mesh_to_destroy) |
Free the memory addressed by mesh_to_destroy, which was allocated by either LoadOBJ or StoreMesh. More... | |
C_INTERFACE | DestroyMeshInfoPtrArray (HF::Geometry::MeshInfo< float > **data_array) |
Header file for functions related to loading/storing an OBJ file (a mesh)
Definition in file objloader_C.h.
#define C_INTERFACE extern "C" __declspec(dllexport) int |
Definition at line 14 of file objloader_C.h.