MeshLib C Docs
Loading...
Searching...
No Matches
MRExtractIsolines.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MREnums.h>
4#include <MRCMisc/exports.h>
5
6#include <stdbool.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_AffineXf3f MR_AffineXf3f; // Defined in `#include <MRCMesh/MRAffineXf.h>`.
13typedef struct MR_FaceBitSet MR_FaceBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
14typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
15typedef struct MR_MeshPart MR_MeshPart; // Defined in `#include <MRCMesh/MRMeshPart.h>`.
16typedef struct MR_MeshTopology MR_MeshTopology; // Defined in `#include <MRCMesh/MRMeshTopology.h>`.
17typedef struct MR_MeshTriPoint MR_MeshTriPoint; // Defined in `#include <MRCMesh/MRMeshTriPoint.h>`.
18typedef struct MR_Plane3f MR_Plane3f; // Defined in `#include <MRCMesh/MRPlane3.h>`.
19typedef struct MR_Vector3f MR_Vector3f; // Defined in `#include <MRCMesh/MRVector3.h>`.
20typedef struct MR_VertScalars MR_VertScalars; // Defined in `#include <MRCMesh/MRVector.h>`.
21typedef struct MR_expected_std_vector_MR_EdgePoint_std_string MR_expected_std_vector_MR_EdgePoint_std_string; // Defined in `#include <MRCMisc/expected_std_vector_MR_EdgePoint_std_string.h>`.
22typedef struct MR_std_function_float_from_MR_VertId MR_std_function_float_from_MR_VertId; // Defined in `#include <MRCMisc/std_function_float_from_MR_VertId.h>`.
23typedef struct MR_std_vector_MR_EdgePoint MR_std_vector_MR_EdgePoint; // Defined in `#include <MRCMisc/std_vector_MR_EdgePoint.h>`.
24typedef struct MR_std_vector_MR_FaceId MR_std_vector_MR_FaceId; // Defined in `#include <MRCMisc/std_vector_MR_FaceId.h>`.
25typedef struct MR_std_vector_MR_LineSegm3f MR_std_vector_MR_LineSegm3f; // Defined in `#include <MRCMisc/std_vector_MR_LineSegm3f.h>`.
26typedef struct MR_std_vector_MR_Vector2f MR_std_vector_MR_Vector2f; // Defined in `#include <MRCMisc/std_vector_MR_Vector2f.h>`.
27typedef struct MR_std_vector_std_vector_MR_EdgePoint MR_std_vector_std_vector_MR_EdgePoint; // Defined in `#include <MRCMisc/std_vector_std_vector_MR_EdgePoint.h>`.
28typedef struct MR_std_vector_std_vector_MR_Vector2f MR_std_vector_std_vector_MR_Vector2f; // Defined in `#include <MRCMisc/std_vector_std_vector_MR_Vector2f.h>`.
29
30
38
45
52MRC_API MR_std_vector_std_vector_MR_EdgePoint *MR_extractIsolines_4(const MR_MeshTopology *topology, const MR_VertScalars *vertValues, float isoValue, const MR_FaceBitSet *region);
53
59MRC_API bool MR_hasAnyIsoline_4(const MR_MeshTopology *topology, const MR_VertScalars *vertValues, float isoValue, const MR_FaceBitSet *region);
60
68
74MRC_API bool MR_hasAnyPlaneSection(const MR_MeshPart *mp, const MR_Plane3f *plane, const MR_UseAABBTree *u);
75
82
87MRC_API bool MR_hasAnyXYPlaneSection(const MR_MeshPart *mp, float zLevel, const MR_UseAABBTree *u);
88
100
113
125
132
139
147
154
155#ifdef __cplusplus
156} // extern "C"
157#endif
struct MR_std_vector_std_vector_MR_Vector2f MR_std_vector_std_vector_MR_Vector2f
Definition MR2DContoursTriangulation.h:22
struct MR_MeshTopology MR_MeshTopology
Definition MR2DContoursTriangulation.h:16
struct MR_FaceBitSet MR_FaceBitSet
Definition MRAABBTreeBase.h:25
struct MR_MeshPart MR_MeshPart
Definition MRAABBTree.h:14
struct MR_VertScalars MR_VertScalars
Definition MRAggregateFlow.h:17
struct MR_MeshTriPoint MR_MeshTriPoint
Definition MRAggregateFlow.h:13
struct MR_Plane3f MR_Plane3f
Definition MRBestFit.h:23
struct MR_std_function_float_from_MR_VertId MR_std_function_float_from_MR_VertId
Definition MRClosestWeightedPoint.h:18
struct MR_std_vector_MR_Vector2f MR_std_vector_MR_Vector2f
Definition MRContour.h:11
struct MR_Mesh MR_Mesh
Definition MRCtm.h:13
struct MR_std_vector_MR_EdgePoint MR_std_vector_MR_EdgePoint
Definition MREdgePaths.h:28
char MR_UseAABBTree
Definition MREnums.h:78
MRC_API MR_expected_std_vector_MR_EdgePoint_std_string * MR_trackSection_const_MR_MeshTriPoint_ref(const MR_MeshPart *mp, const MR_MeshTriPoint *start, const MR_MeshTriPoint *end, const MR_Vector3f *planePoint, bool ccw)
MRC_API bool MR_hasAnyIsoline_3(const MR_MeshTopology *topology, const MR_std_function_float_from_MR_VertId *vertValues, const MR_FaceBitSet *region)
MRC_API MR_std_vector_MR_Vector2f * MR_planeSectionToContour2f(const MR_Mesh *mesh, const MR_std_vector_MR_EdgePoint *section, const MR_AffineXf3f *meshToPlane)
MRC_API MR_std_vector_std_vector_MR_EdgePoint * MR_extractIsolines_4(const MR_MeshTopology *topology, const MR_VertScalars *vertValues, float isoValue, const MR_FaceBitSet *region)
MRC_API bool MR_hasAnyXYPlaneSection(const MR_MeshPart *mp, float zLevel, const MR_UseAABBTree *u)
MRC_API bool MR_isConsistentlyOriented(const MR_MeshTopology *topology, const MR_std_vector_MR_EdgePoint *isoline)
MRC_API MR_std_vector_std_vector_MR_EdgePoint * MR_extractXYPlaneSections(const MR_MeshPart *mp, float zLevel, const MR_UseAABBTree *u)
struct MR_expected_std_vector_MR_EdgePoint_std_string MR_expected_std_vector_MR_EdgePoint_std_string
Definition MRExtractIsolines.h:21
MRC_API bool MR_hasAnyPlaneSection(const MR_MeshPart *mp, const MR_Plane3f *plane, const MR_UseAABBTree *u)
MRC_API MR_std_vector_std_vector_MR_Vector2f * MR_planeSectionsToContours2f(const MR_Mesh *mesh, const MR_std_vector_std_vector_MR_EdgePoint *sections, const MR_AffineXf3f *meshToPlane)
MRC_API MR_std_vector_MR_LineSegm3f * MR_findTriangleSectionsByXYPlane(const MR_MeshPart *mp, float zLevel, MR_std_vector_MR_FaceId *faces, const MR_UseAABBTree *u)
MRC_API MR_std_vector_std_vector_MR_EdgePoint * MR_extractPlaneSections(const MR_MeshPart *mp, const MR_Plane3f *plane, const MR_UseAABBTree *u)
MRC_API MR_std_vector_std_vector_MR_EdgePoint * MR_extractIsolines_3(const MR_MeshTopology *topology, const MR_std_function_float_from_MR_VertId *vertValues, const MR_FaceBitSet *region)
struct MR_std_vector_MR_FaceId MR_std_vector_MR_FaceId
Definition MRExtractIsolines.h:24
MRC_API MR_FaceBitSet * MR_getCrossedFaces(const MR_MeshTopology *topology, const MR_std_vector_MR_EdgePoint *isoline)
struct MR_std_vector_std_vector_MR_EdgePoint MR_std_vector_std_vector_MR_EdgePoint
Definition MRExtractIsolines.h:27
struct MR_std_vector_MR_LineSegm3f MR_std_vector_MR_LineSegm3f
Definition MRExtractIsolines.h:25
MRC_API MR_std_vector_MR_EdgePoint * MR_trackSection_MR_MeshTriPoint_ref(const MR_MeshPart *mp, const MR_MeshTriPoint *start, MR_MeshTriPoint *end, const MR_Vector3f *direction, float distance)
MRC_API bool MR_hasAnyIsoline_4(const MR_MeshTopology *topology, const MR_VertScalars *vertValues, float isoValue, const MR_FaceBitSet *region)
#define MRC_API
Definition exports.h:11
Definition MRAffineXf.h:36
Definition MRVector3.h:51