40 const char * serializeFormat =
".mrmesh" );
51MRMESH_API
void serializeToJson(
const Matrix2f& matrix, Json::Value& root,
bool skipIdentity =
true );
52MRMESH_API
void serializeToJson(
const Matrix3f& matrix, Json::Value& root,
bool skipIdentity =
true );
53MRMESH_API
void serializeToJson(
const AffineXf2f& xf, Json::Value& root,
bool skipIdentity =
true );
54MRMESH_API
void serializeToJson(
const AffineXf3f& xf, Json::Value& root,
bool skipIdentity =
true );
60MRMESH_API
void serializeToJson(
const std::vector<TextureId>& texturePerFace, Json::Value& root );
61MRMESH_API
void serializeToJson(
const std::vector<UVCoord>& uvCoords, Json::Value& root );
62MRMESH_API
void serializeToJson(
const std::vector<Color>& colors, Json::Value& root );
89MRMESH_API
void deserializeFromJson(
const Json::Value& root, std::vector<TextureId>& texturePerFace );
Definition MRMeshTopology.h:22
ImVec2 size(const ViewportRectangle &rect)
Definition MRViewport.h:32
MRMESH_API void serializeToJson(const EndMillCutter &cutter, Json::Value &root)
tl::expected< T, E > Expected
Definition MRExpected.h:31
MRMESH_API Expected< void > deserializeFromJson(const Json::Value &root, EndMillCutter &cutter)
MRMESH_API Expected< Json::Value > deserializeJsonValue(std::istream &in)
MRMESH_API Expected< std::string > serializeJsonValue(const Json::Value &root)
MRMESH_API void serializeViaVerticesToJson(const UndirectedEdgeBitSet &edges, const MeshTopology &topology, Json::Value &root)
MRMESH_API Expected< void > serializeMesh(const Mesh &mesh, const std::filesystem::path &path, const FaceBitSet *selection=nullptr, const char *serializeFormat=".mrmesh")
MRMESH_API void deserializeViaVerticesFromJson(const Json::Value &root, UndirectedEdgeBitSet &edges, const MeshTopology &topology)
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRMeshTexture.h:13
Definition MRMeshTriPoint.h:26
a point located on some mesh's face
Definition MRPointOnFace.h:16