MeshLib Documentation
Loading...
Searching...
No Matches
MRMeshC/MRMeshSaveObj.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include "MRAffineXf.h"
5
7
9{
10 const char* name;
12 const MRMesh* mesh;
13}
15
17// TODO: colors
18MRMESHC_API void mrMeshSaveSceneToObj( const MRMeshSaveNamedXfMesh* objects, size_t objectsNum, const char* file, MRString** errorString );
19
#define MR_EXTERN_C_BEGIN
Definition MRMeshC/MRMeshFwd.h:26
#define MR_EXTERN_C_END
Definition MRMeshC/MRMeshFwd.h:27
struct MRMesh MRMesh
Definition MRMeshC/MRMeshFwd.h:43
typedefMR_EXTERN_C_BEGIN struct MRString MRString
Definition MRMeshC/MRMeshFwd.h:32
#define MRMESHC_API
Definition MRMeshC/MRMeshFwd.h:19
MR_EXTERN_C_BEGIN struct MRMeshSaveNamedXfMesh MRMeshSaveNamedXfMesh
MRMESHC_API void mrMeshSaveSceneToObj(const MRMeshSaveNamedXfMesh *objects, size_t objectsNum, const char *file, MRString **errorString)
saves a number of named meshes in .obj file
affine transformation: y = A*x + b, where A in VxV, and b in V
Definition MRMeshC/MRAffineXf.h:10
Definition MRMeshC/MRMeshSaveObj.h:9
MRAffineXf3f toWorld
Definition MRMeshC/MRMeshSaveObj.h:11
const MRMesh * mesh
Definition MRMeshC/MRMeshSaveObj.h:12
const char * name
Definition MRMeshC/MRMeshSaveObj.h:10