MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMeshFwd.h
Go to the documentation of this file.
1#pragma once
2
3#include "config.h"
4
6#include "MRPch/MRBindingMacros.h"
7
21#if defined _MSC_VER
22 #if !defined _ITERATOR_DEBUG_LEVEL
23 #define _ITERATOR_DEBUG_LEVEL 0
24 #endif
25 #if !defined MR_ITERATOR_DEBUG_LEVEL
26 #define MR_ITERATOR_DEBUG_LEVEL 0
27 #endif
28 #if _ITERATOR_DEBUG_LEVEL != MR_ITERATOR_DEBUG_LEVEL
29 #error _ITERATOR_DEBUG_LEVEL is inconsistent with MeshLib
30 #endif
31#endif
32
34#ifdef _MSC_VER
35#define MR_CPP_STANDARD_DATE _MSVC_LANG
36#else
37#define MR_CPP_STANDARD_DATE __cplusplus
38#endif
44#if MR_CPP_STANDARD_DATE < 201709 && !defined(__CUDACC__)
45#error Must enable C++20 or newer!
46#endif
53
54
55#if defined(__GNUC__) && (__GNUC__ >= 13 && __GNUC__ <= 15)
56 #pragma GCC diagnostic push
57 #pragma GCC diagnostic ignored "-Warray-bounds"
58 #pragma GCC diagnostic ignored "-Wstringop-overflow"
59#endif
60
61#include <array>
62
63#if defined(__GNUC__) && (__GNUC__ >= 13 && __GNUC__ <= 15)
64 #pragma GCC diagnostic pop
65#endif
66
67#include <vector>
68#include <string>
69#include <parallel_hashmap/phmap_fwd_decl.h>
70#include <functional>
71
72#ifdef _WIN32
73# ifdef MRMesh_EXPORTS
74# define MRMESH_API __declspec(dllexport)
75# else
76# define MRMESH_API __declspec(dllimport)
77# endif
78# define MRMESH_CLASS
79#else
80# define MRMESH_API __attribute__((visibility("default")))
84# ifdef __clang__
85# define MRMESH_CLASS __attribute__((type_visibility("default")))
86# else
87# define MRMESH_CLASS __attribute__((visibility("default")))
88# endif
89#endif
90
91namespace MR
92{
95
96
97struct NoInit {};
98inline constexpr NoInit noInit;
99template <typename T> struct MRMESH_CLASS NoDefInit;
100
114
115MR_CANONICAL_TYPEDEFS( (template <typename T> class MRMESH_CLASS), Id,
116 ( EdgeId, Id<EdgeTag> )
117 ( UndirectedEdgeId, Id<UndirectedEdgeTag> )
118 ( FaceId, Id<FaceTag> )
119 ( VertId, Id<VertTag> )
120 ( PixelId, Id<PixelTag> )
121 ( VoxelId, Id<VoxelTag> )
122 ( RegionId, Id<RegionTag> )
123 ( NodeId, Id<NodeTag> )
124 ( ObjId, Id<ObjTag> )
125 ( TextureId, Id<TextureTag> )
126 ( GraphVertId, Id<GraphVertTag> )
127 ( GraphEdgeId, Id<GraphEdgeTag> )
128 ( LocaleDomainId, Id<LocaleDomainTag> )
129)
132template <> class MR_BIND_PREFERRED_NAME(MR::EdgeId) Id<EdgeTag>;
133template <> class MR_BIND_PREFERRED_NAME(MR::VoxelId) Id<VoxelTag>;
134
135MR_CANONICAL_TYPEDEFS( (template <typename T> class MRMESH_CLASS), NoInitId,
136 ( NoInitNodeId, NoInitId<NodeTag> )
137)
138
139template <typename T, typename I = size_t> class MRMESH_CLASS Buffer;
141
142class ViewportId;
143class ViewportMask;
144
148
149using EdgePath = std::vector<EdgeId>;
150using EdgeLoop = std::vector<EdgeId>;
151using EdgeLoops = std::vector<EdgeLoop>;
152
154
155MR_CANONICAL_TYPEDEFS( (template <typename I> class MRMESH_CLASS), TypedBitSet,
156 ( FaceBitSet, TypedBitSet<FaceId> )
157 ( VertBitSet, TypedBitSet<VertId> )
158 ( EdgeBitSet, TypedBitSet<EdgeId> )
159 ( UndirectedEdgeBitSet, TypedBitSet<UndirectedEdgeId> )
160 ( PixelBitSet, TypedBitSet<PixelId> )
161 ( VoxelBitSet, TypedBitSet<VoxelId> )
162 ( RegionBitSet, TypedBitSet<RegionId> )
163 ( NodeBitSet, TypedBitSet<NodeId> )
164 ( ObjBitSet, TypedBitSet<ObjId> )
165 ( TextureBitSet, TypedBitSet<TextureId> )
166 ( GraphVertBitSet, TypedBitSet<GraphVertId> )
167 ( GraphEdgeBitSet, TypedBitSet<GraphEdgeId> )
168)
169
170template<typename T>
172
173MR_CANONICAL_TYPEDEFS( (template <typename T> class MRMESH_CLASS), SetBitIteratorT,
174 ( SetBitIterator, SetBitIteratorT<BitSet> )
175 ( FaceSetBitIterator, SetBitIteratorT<FaceBitSet> )
176 ( VertSetBitIterator, SetBitIteratorT<VertBitSet> )
177 ( EdgeSetBitIterator, SetBitIteratorT<EdgeBitSet> )
178 ( UndirectedEdgeSetBitIterator, SetBitIteratorT<UndirectedEdgeBitSet> )
179)
180
182
196#ifdef __APPLE__
197using Int64 = std::ptrdiff_t;
198using Uint64 = std::size_t;
199static_assert(sizeof(Int64) == 8);
200static_assert(sizeof(Uint64) == 8);
201#else
202using Int64 = std::int64_t;
203using Uint64 = std::uint64_t;
204#endif
205
206MR_CANONICAL_TYPEDEFS( (template <typename T> struct), MRMESH_CLASS Vector2,
207 ( Vector2b, Vector2<bool> )
208 ( Vector2i, Vector2<int> )
209 ( Vector2i64, Vector2<Int64> )
210 ( Vector2f, Vector2<float> )
211 ( Vector2d, Vector2<double> )
212)
216#if !MR_PARSING_FOR_ANY_BINDINGS
217using Vector2ll [[deprecated("Use `Vector2i64` instead.")]] = Vector2<long long>;
218#endif
219
220MR_CANONICAL_TYPEDEFS( (template <typename T> struct), MRMESH_CLASS Vector3,
221 ( Vector3b, Vector3<bool> )
222 ( Vector3i, Vector3<int> )
223 ( Vector3i64, Vector3<Int64> )
224 ( Vector3f, Vector3<float> )
225 ( Vector3d, Vector3<double> )
226)
227#if !MR_PARSING_FOR_ANY_BINDINGS
228using Vector3ll [[deprecated("Use `Vector3i64` instead.")]] = Vector3<long long>;
229#endif
230
231MR_CANONICAL_TYPEDEFS( (template <typename T> struct), Vector4,
232 ( Vector4b, Vector4<bool> )
233 ( Vector4i, Vector4<int> )
234 ( Vector4i64, Vector4<Int64> )
235 ( Vector4f, Vector4<float> )
236 ( Vector4d, Vector4<double> )
237)
238#if !MR_PARSING_FOR_ANY_BINDINGS
239using Vector4ll [[deprecated("Use `Vector4i64` instead.")]] = Vector4<long long>;
240#endif
241
242MR_CANONICAL_TYPEDEFS( (template <typename T> struct), Matrix2,
243 ( Matrix2b, Matrix2<bool> )
244 ( Matrix2i, Matrix2<int> )
245 ( Matrix2i64, Matrix2<Int64> )
246 ( Matrix2f, Matrix2<float> )
247 ( Matrix2d, Matrix2<double> )
248)
249#if !MR_PARSING_FOR_ANY_BINDINGS
250using Matrix2ll [[deprecated("Use `Matrix2i64` instead.")]] = Matrix2<long long>;
251#endif
252
253MR_CANONICAL_TYPEDEFS( (template <typename T> struct), Matrix3,
254 ( Matrix3b, Matrix3<bool> )
255 ( Matrix3i, Matrix3<int> )
256 ( Matrix3i64, Matrix3<Int64> )
257 ( Matrix3f, Matrix3<float> )
258 ( Matrix3d, Matrix3<double> )
259)
260#if !MR_PARSING_FOR_ANY_BINDINGS
261using Matrix3ll [[deprecated("Use `Matrix3i64` instead.")]] = Matrix3<long long>;
262#endif
263
264MR_CANONICAL_TYPEDEFS( (template <typename T> struct), Matrix4,
265 ( Matrix4b, Matrix4<bool> )
266 ( Matrix4i, Matrix4<int> )
267 ( Matrix4i64, Matrix4<Int64> )
268 ( Matrix4f, Matrix4<float> )
269 ( Matrix4d, Matrix4<double> )
270)
271#if !MR_PARSING_FOR_ANY_BINDINGS
272using Matrix4ll [[deprecated("Use `Matrix4i64` instead.")]] = Matrix4<long long>;
273#endif
274
275MR_CANONICAL_TYPEDEFS( (template <typename T> struct), SymMatrix2,
276 ( SymMatrix2b, SymMatrix2<bool> )
277 ( SymMatrix2i, SymMatrix2<int> )
278 ( SymMatrix2i64, SymMatrix2<Int64> )
279 ( SymMatrix2f, SymMatrix2<float> )
280 ( SymMatrix2d, SymMatrix2<double> )
281)
282#if !MR_PARSING_FOR_ANY_BINDINGS
283using SymMatrix2ll [[deprecated("Use `SymMatrix2i64` instead.")]] = SymMatrix2<long long>;
284#endif
285
286MR_CANONICAL_TYPEDEFS( (template <typename T> struct), SymMatrix3,
287 ( SymMatrix3b, SymMatrix3<bool> )
288 ( SymMatrix3i, SymMatrix3<int> )
289 ( SymMatrix3i64, SymMatrix3<Int64> )
290 ( SymMatrix3f, SymMatrix3<float> )
291 ( SymMatrix3d, SymMatrix3<double> )
292)
293#if !MR_PARSING_FOR_ANY_BINDINGS
294using SymMatrix3ll [[deprecated("Use `SymMatrix3i64` instead.")]] = SymMatrix3<long long>;
295#endif
296
297MR_CANONICAL_TYPEDEFS( (template <typename T> struct), SymMatrix4,
298 ( SymMatrix4b, SymMatrix4<bool> )
299 ( SymMatrix4i, SymMatrix4<int> )
300 ( SymMatrix4i64, SymMatrix4<Int64> )
301 ( SymMatrix4f, SymMatrix4<float> )
302 ( SymMatrix4d, SymMatrix4<double> )
303)
304#if !MR_PARSING_FOR_ANY_BINDINGS
305using SymMatrix4ll [[deprecated("Use `SymMatrix4i64` instead.")]] = SymMatrix4<long long>;
306#endif
307
308MR_CANONICAL_TYPEDEFS( (template <typename V> struct), AffineXf,
309 ( AffineXf2f, AffineXf<Vector2<float>> )
310 ( AffineXf2d, AffineXf<Vector2<double>> )
311 ( AffineXf3f, AffineXf<Vector3<float>> )
312 ( AffineXf3d, AffineXf<Vector3<double>> )
313)
314template <typename T> using AffineXf2 = AffineXf<Vector2<T>>;
315template <typename T> using AffineXf3 = AffineXf<Vector3<T>>;
316
317MR_CANONICAL_TYPEDEFS( (template <typename T> struct), RigidXf3,
318 ( RigidXf3f, RigidXf3<float> )
319 ( RigidXf3d, RigidXf3<double> )
320)
321
322MR_CANONICAL_TYPEDEFS( (template <typename T> struct), RigidScaleXf3,
323 ( RigidScaleXf3f, RigidScaleXf3<float> )
324 ( RigidScaleXf3d, RigidScaleXf3<double> )
325)
326
329
330MR_CANONICAL_TYPEDEFS( (template <typename T> struct), Sphere,
331 ( Sphere2f, Sphere<Vector2<float>> )
332 ( Sphere2d, Sphere<Vector2<double>> )
333 ( Sphere3f, Sphere<Vector3<float>> )
334 ( Sphere3d, Sphere<Vector3<double>> )
335)
336template <typename T> using Sphere2 = Sphere<Vector2<T>>;
337template <typename T> using Sphere3 = Sphere<Vector3<T>>;
338
339MR_CANONICAL_TYPEDEFS( (template <typename V> struct), Line,
340 ( Line2f, Line<Vector2<float>> )
341 ( Line2d, Line<Vector2<double>> )
342 ( Line3f, Line<Vector3<float>> )
343 ( Line3d, Line<Vector3<double>> )
344)
345template <typename T> using Line2 = Line<Vector2<T>>;
346template <typename T> using Line3 = Line<Vector3<T>>;
347
348MR_CANONICAL_TYPEDEFS( (template <typename V> struct), LineSegm,
349 ( LineSegm2f, LineSegm<Vector2<float>> )
350 ( LineSegm2d, LineSegm<Vector2<double>> )
351 ( LineSegm3f, LineSegm<Vector3<float>> )
352 ( LineSegm3d, LineSegm<Vector3<double>> )
353)
354template <typename T> using LineSegm2 = LineSegm<Vector2<T>>;
355template <typename T> using LineSegm3 = LineSegm<Vector3<T>>;
356
357MR_CANONICAL_TYPEDEFS( (template <typename T> struct), Parabola,
358 ( Parabolaf, Parabola<float> )
359 ( Parabolad, Parabola<double> )
360)
361
362MR_CANONICAL_TYPEDEFS( (template <typename T> class), BestFitParabola,
363 ( BestFitParabolaf, BestFitParabola<float> )
364 ( BestFitParabolad, BestFitParabola<double> )
365)
366
367MR_CANONICAL_TYPEDEFS( (template <typename T> class), Cylinder3,
368 ( Cylinder3f, Cylinder3<float> )
369 ( Cylinder3d, Cylinder3<double> )
370)
371
372MR_CANONICAL_TYPEDEFS( (template <typename T> class), Cone3,
373 ( Cone3f, Cone3<float> )
374 ( Cone3d, Cone3<double> )
375)
376
378template <typename V> using Contour = std::vector<V>;
379template <typename T> using Contour2 = Contour<Vector2<T>>;
380template <typename T> using Contour3 = Contour<Vector3<T>>;
381using Contour2d = Contour2<double>;
382using Contour2f = Contour2<float>;
383using Contour3d = Contour3<double>;
384using Contour3f = Contour3<float>;
385
386template <typename V> using Contours = std::vector<Contour<V>>;
387template <typename T> using Contours2 = Contours<Vector2<T>>;
388template <typename T> using Contours3 = Contours<Vector3<T>>;
389using Contours2d = Contours2<double>;
390using Contours2f = Contours2<float>;
391using Contours3d = Contours3<double>;
392using Contours3f = Contours3<float>;
393
394MR_CANONICAL_TYPEDEFS( (template <typename T> struct), Plane3,
395 ( Plane3f, Plane3<float> )
396 ( Plane3d, Plane3<double> )
397)
398
399MR_CANONICAL_TYPEDEFS( (template <typename V> struct MRMESH_CLASS), Box,
400 ( Box1i, Box<int> )
401 ( Box1i64, Box<Int64> )
402 ( Box1f, Box<float> )
403 ( Box1d, Box<double> )
404 ( Box2i, Box<Vector2<int>> )
405 ( Box2i64, Box<Vector2<Int64>> )
406 ( Box2f, Box<Vector2<float>> )
407 ( Box2d, Box<Vector2<double>> )
408 ( Box3i, Box<Vector3<int>> )
409 ( Box3i64, Box<Vector3<Int64>> )
410 ( Box3f, Box<Vector3<float>> )
411 ( Box3d, Box<Vector3<double>> )
412)
413#if !MR_PARSING_FOR_ANY_BINDINGS
414using Box1ll [[deprecated("Use `Box1i64` instead.")]] = Box<long long>;
415using Box2ll [[deprecated("Use `Box2i64` instead.")]] = Box<Vector2<long long>>;
416using Box3ll [[deprecated("Use `Box3i64` instead.")]] = Box<Vector3<long long>>;
417#endif
418
419template <typename T> using MinMax = Box<T>;
420using MinMaxf = MinMax<float>;
421using MinMaxd = MinMax<double>;
422using MinMaxi = MinMax<int>;
423
424template <typename T> using Box1 = Box<T>;
425template <typename T> using Box2 = Box<Vector2<T>>;
426template <typename T> using Box3 = Box<Vector3<T>>;
427
428template<typename T, typename I> struct MinArg;
429template<typename T, typename I> struct MaxArg;
430template<typename T, typename I> struct MinMaxArg;
431
432MR_CANONICAL_TYPEDEFS( (template <typename V> struct MRMESH_CLASS), Ball,
433 ( Ball1f, Ball<float> )
434 ( Ball1d, Ball<double> )
435 ( Ball2f, Ball<Vector2<float>> )
436 ( Ball2d, Ball<Vector2<double>> )
437 ( Ball3f, Ball<Vector3<float>> )
438 ( Ball3d, Ball<Vector3<double>> )
439)
440template <typename T> using Ball1 = Ball<T>;
441template <typename T> using Ball2 = Ball<Vector2<T>>;
442template <typename T> using Ball3 = Ball<Vector3<T>>;
443
444MR_CANONICAL_TYPEDEFS( (template <typename V> struct MRMESH_CLASS), CubicBezierCurve,
445 ( CubicBezierCurve2f, CubicBezierCurve<Vector2<float>> )
446 ( CubicBezierCurve2d, CubicBezierCurve<Vector2<double>> )
447 ( CubicBezierCurve3f, CubicBezierCurve<Vector3<float>> )
448 ( CubicBezierCurve3d, CubicBezierCurve<Vector3<double>> )
449)
450template <typename T> using CubicBezierCurve2 = CubicBezierCurve<Vector2<T>>;
451template <typename T> using CubicBezierCurve3 = CubicBezierCurve<Vector3<T>>;
452
453MR_CANONICAL_TYPEDEFS( (template <typename V> struct), QuadraticForm,
454 ( QuadraticForm2f, QuadraticForm<Vector2<float>> )
455 ( QuadraticForm2d, QuadraticForm<Vector2<double>> )
456 ( QuadraticForm3f, QuadraticForm<Vector3<float>> )
457 ( QuadraticForm3d, QuadraticForm<Vector3<double>> )
458)
459template <typename T> using QuadraticForm2 = QuadraticForm<Vector2<T>>;
460template <typename T> using QuadraticForm3 = QuadraticForm<Vector3<T>>;
461
462MR_CANONICAL_TYPEDEFS( (template <typename T> struct), Quaternion,
463 ( Quaternionf, Quaternion<float> )
464 ( Quaterniond, Quaternion<double> )
465)
466
468template <typename T> using Triangle3 = std::array<Vector3<T>, 3>;
469using Triangle3i = Triangle3<int>;
470using Triangle3f = Triangle3<float>;
471using Triangle3d = Triangle3<double>;
472
473class PointAccumulator;
474
475MR_CANONICAL_TYPEDEFS( (template <typename T> struct), SegmPoint,
476 ( SegmPointf, SegmPoint<float> )
477 ( SegmPointd, SegmPoint<double> )
478)
479
483using SurfacePath = std::vector<MeshEdgePoint>;
484using SurfacePaths = std::vector<SurfacePath>;
491class Laplacian;
492
493using VertPair = std::pair<VertId, VertId>;
494using FacePair = std::pair<FaceId, FaceId>;
495using EdgePair = std::pair<EdgeId, EdgeId>;
496using UndirectedEdgePair = std::pair<UndirectedEdgeId, UndirectedEdgeId>;
497
498MR_CANONICAL_TYPEDEFS( (template <typename T> struct), TriPoint,
499 ( TriPointf, TriPoint<float> )
500 ( TriPointd, TriPoint<double> )
501)
502
511template <typename T> struct IntersectionPrecomputes;
512
513template <typename I> struct IteratorRange;
514
517using UVCoord = Vector2f;
518
520using TwoVertIds = std::array<VertId, 2>;
521
523using ThreeVertIds = std::array<VertId, 3>;
524
526using ThreeUVCoords = std::array<UVCoord, 3>;
527
529
530MR_CANONICAL_TYPEDEFS( (template <typename T, typename I> class MRMESH_CLASS), Vector,
532 ( Edges, Vector<TwoVertIds, UndirectedEdgeId> )
533
535 ( Triangulation, Vector<ThreeVertIds, FaceId> )
536
538 ( TriCornerUVCoords, Vector<ThreeUVCoords, FaceId> )
539
540 ( Dipoles, Vector<Dipole, NodeId> )
541
542 ( FaceMap, Vector<FaceId, FaceId> )
543 ( VertMap, Vector<VertId, VertId> )
544 ( EdgeMap, Vector<EdgeId, EdgeId> )
545 ( UndirectedEdgeMap, Vector<UndirectedEdgeId, UndirectedEdgeId> )
546 ( ObjMap, Vector<ObjId, ObjId> )
547
549 ( WholeEdgeMap, Vector<EdgeId, UndirectedEdgeId> )
550 ( UndirectedEdge2RegionMap, Vector<RegionId, UndirectedEdgeId> )
551 ( Face2RegionMap, Vector<RegionId, FaceId> )
552 ( Vert2RegionMap, Vector<RegionId, VertId> )
553
554 ( VertCoords, Vector<Vector3f, VertId> )
555 ( VertCoords2, Vector<Vector2f, VertId> )
556 ( VertNormals, Vector<Vector3f, VertId> )
557 ( VertUVCoords, Vector<UVCoord, VertId> )
558 ( FaceNormals, Vector<Vector3f, FaceId> )
559
560 ( TexturePerFace, Vector<TextureId, FaceId> )
561 ( VertColors, Vector<Color, VertId> )
562 ( FaceColors, Vector<Color, FaceId> )
563 ( EdgeColors, Vector<Color, EdgeId> )
564 ( UndirectedEdgeColors, Vector<Color, UndirectedEdgeId> )
565
566 ( VertScalars, Vector<float, VertId> )
567 ( FaceScalars, Vector<float, FaceId> )
568 ( EdgeScalars, Vector<float, EdgeId> )
569 ( UndirectedEdgeScalars, Vector<float, UndirectedEdgeId> )
570)
571
572using VertPredicate = std::function<bool( VertId )>;
573using FacePredicate = std::function<bool( FaceId )>;
574using EdgePredicate = std::function<bool( EdgeId )>;
575using UndirectedEdgePredicate = std::function<bool( UndirectedEdgeId )>;
576
577using PreCollapseCallback = std::function<bool( EdgeId edgeToCollapse, const Vector3f& newEdgeOrgPos )>;
578using OnEdgeSplit = std::function<void( EdgeId e1, EdgeId e )>;
579
580template <typename T>
581[[nodiscard]] inline bool contains( const std::function<bool( Id<T> )> & pred, Id<T> id )
582{
583 return id.valid() && ( !pred || pred( id ) );
584}
585
586using VertMetric = std::function<float( VertId )>;
587using FaceMetric = std::function<float( FaceId )>;
588using EdgeMetric = std::function<float( EdgeId )>;
589using UndirectedEdgeMetric = std::function<float( UndirectedEdgeId )>;
590
591MR_CANONICAL_TYPEDEFS( (template <typename T, typename I> struct MRMESH_CLASS), BMap,
592 ( FaceBMap, BMap<FaceId, FaceId> )
593 ( VertBMap, BMap<VertId, VertId> )
594 ( EdgeBMap, BMap<EdgeId, EdgeId> )
595 ( UndirectedEdgeBMap, BMap<UndirectedEdgeId, UndirectedEdgeId> )
596 ( WholeEdgeBMap, BMap<EdgeId, UndirectedEdgeId> )
597)
598
599template <typename T, typename Hash = phmap::priv::hash_default_hash<T>, typename Eq = phmap::priv::hash_default_eq<T>>
600using HashSet = phmap::flat_hash_set<T, Hash, Eq>;
601template <typename T, typename Hash = phmap::priv::hash_default_hash<T>, typename Eq = phmap::priv::hash_default_eq<T>>
602using ParallelHashSet = phmap::parallel_flat_hash_set<T, Hash, Eq>;
603
605using FaceHashSet = HashSet<FaceId>;
606using VertHashSet = HashSet<VertId>;
607using EdgeHashSet = HashSet<EdgeId>;
608
609template <typename K, typename V, typename Hash = phmap::priv::hash_default_hash<K>, typename Eq = phmap::priv::hash_default_eq<K>>
610using HashMap = phmap::flat_hash_map<K, V, Hash, Eq>;
611template <typename K, typename V, typename Hash = phmap::priv::hash_default_hash<K>, typename Eq = phmap::priv::hash_default_eq<K>>
612using ParallelHashMap = phmap::parallel_flat_hash_map<K, V, Hash, Eq>;
613
614using FaceHashMap = HashMap<FaceId, FaceId>;
615using VertHashMap = HashMap<VertId, VertId>;
616using EdgeHashMap = HashMap<EdgeId, EdgeId>;
617using UndirectedEdgeHashMap = HashMap<UndirectedEdgeId, UndirectedEdgeId>;
619using WholeEdgeHashMap = HashMap<UndirectedEdgeId, EdgeId>;
620
621template <typename K, typename V>
623
624using FaceMapOrHashMap = MapOrHashMap<FaceId, FaceId>;
625using VertMapOrHashMap = MapOrHashMap<VertId, VertId>;
626using EdgeMapOrHashMap = MapOrHashMap<EdgeId, EdgeId>;
627using UndirectedEdgeMapOrHashMap = MapOrHashMap<UndirectedEdgeId, UndirectedEdgeId>;
629using WholeEdgeMapOrHashMap = MapOrHashMap<UndirectedEdgeId, EdgeId>;
630
631template <typename I> class UnionFind;
632template <typename T, typename I, typename P> class Heap;
633
651
653 ( MeshPart, MeshRegion<FaceTag> )
654 ( MeshVertPart, MeshRegion<VertTag> )
655)
656
657template<typename T> class UniqueThreadSafeOwner;
658template<typename T> class SharedThreadSafeOwner;
659
660class PolylineTopology;
661
662MR_CANONICAL_TYPEDEFS( (template<typename V> struct), Polyline,
663 ( Polyline2, Polyline<Vector2f> )
664 ( Polyline3, Polyline<Vector3f> )
665)
666
669 ( AABBTreePolyline3, AABBTreePolyline<Vector3f> )
670)
671
672template<typename T> struct IntersectionPrecomputes;
673template<typename T> struct IntersectionPrecomputes2;
674
675MR_CANONICAL_TYPEDEFS( (template<typename V> struct [[nodiscard]]), PolylineProjectionResult,
676 ( PolylineProjectionResult2, PolylineProjectionResult<Vector2f> )
677 ( PolylineProjectionResult3, PolylineProjectionResult<Vector3f> )
678)
679
682 ( PolylineProjectionWithOffsetResult3, PolylineProjectionWithOffsetResult<Vector3f> )
683)
684
685class DistanceMap;
688
689using GcodeSource = std::vector<std::string>;
690
691class Object;
692class SceneRootObject;
693class VisualObject;
694class ObjectMeshHolder;
695class ObjectMesh;
699class ObjectPoints;
701class ObjectLines;
703class ObjectLabel;
704class ObjectGcode;
705class PointObject;
706class LineObject;
707class CircleObject;
708class PlaneObject;
709class SphereObject;
710class CylinderObject;
711class ConeObject;
712
714
717
718class HistoryAction;
725class ChangeMeshAction;
733class ChangeXfAction;
735class SwapRootAction;
736
737MR_CANONICAL_TYPEDEFS( (template <typename Tag> class MRMESH_CLASS), ColorMapAggregator,
738 ( VertColorMapAggregator, ColorMapAggregator<VertTag> )
739 ( UndirEdgeColorMapAggregator, ColorMapAggregator<UndirectedEdgeTag> )
740 ( FaceColorMapAggregator, ColorMapAggregator<FaceTag> )
741)
742
743template<typename T>
744class FewSmallest;
745
746class Graph;
747class WatershedGraph;
748
750
752namespace SceneSave { struct Settings; }
753namespace ObjectSave { struct Settings; }
754
758typedef std::function<bool( float )> ProgressCallback;
759
760enum class FilterType : char;
761enum class WrapType : char;
762enum class Reorder : char;
763
764struct TransparencyMode;
765
767template <typename T>
768constexpr inline T sqr( T x ) noexcept { return x * x; }
769
771template <typename T>
772constexpr inline int sgn( T x ) noexcept { return x > 0 ? 1 : ( x < 0 ? -1 : 0 ); }
773
775template <typename T>
776constexpr inline T distance( T x, T y ) noexcept { return x >= y ? x - y : y - x; }
777
779template <typename T>
780constexpr inline T distanceSq( T x, T y ) noexcept { return sqr( x - y ); }
781
783template <typename V, typename T>
784constexpr inline auto lerp( V v0, V v1, T t ) noexcept { return ( 1 - t ) * v0 + t * v1; }
785
786template<typename...>
787inline constexpr bool dependent_false = false;
788
789template<class... Ts>
790struct overloaded : Ts... { using Ts::operator()...; };
791
793template<class... Ts>
794overloaded(Ts...) -> overloaded<Ts...>;
795
798class IPointsProjector;
799
800namespace MeshBuilder
801{
802
803struct BuildSettings;
804struct Triangle;
805struct VertDuplication;
806
807}
808
809namespace Locale
810{
811
813constexpr inline auto translate_noop( const char* str ) noexcept { return str; }
814constexpr inline auto translate_noop( const char* ctx, const char* str ) noexcept { (void)ctx; return str; }
815constexpr inline auto translate_noop( const char* single, const char* plural, Int64 n ) noexcept { return n == 1 ? single : plural; }
816constexpr inline auto translate_noop( const char* ctx, const char* single, const char* plural, Int64 n ) noexcept { (void)ctx; return n == 1 ? single : plural; }
817
818}
819
820}
821
822#ifdef __cpp_lib_unreachable
823# define MR_UNREACHABLE std::unreachable();
824# define MR_UNREACHABLE_NO_RETURN std::unreachable();
825#else
826# ifdef __GNUC__
827# define MR_UNREACHABLE __builtin_unreachable();
828# define MR_UNREACHABLE_NO_RETURN __builtin_unreachable();
829# else
830# include <cassert>
831# define MR_UNREACHABLE { assert( false ); return {}; }
832# define MR_UNREACHABLE_NO_RETURN assert( false );
833# endif
834#endif
835
836#ifndef MR_NO_I18N_MACROS
837#define _t( ... ) MR::Locale::translate_noop( __VA_ARGS__ )
838#endif
#define MR_CANONICAL_TYPEDEFS(type_, name_, aliases_)
Definition MRCanonicalTypedefs.h:23
#define MRMESH_CLASS
Definition MRMeshFwd.h:87
Definition MRAABBTreeObjects.h:22
bounding volume hierarchy for point cloud structure
Definition MRAABBTreePoints.h:16
bounding volume hierarchy for line segments
Definition MRAABBTreePolyline.h:30
Definition MRAABBTree.h:16
Definition MRVisualObject.h:53
Definition MRBitSet.h:69
std::vector<V>-like container that is 1) resized without initialization of its elements,...
Definition MRBuffer.h:58
Undo action for ObjectMesh mesh change.
Definition MRChangeMeshAction.h:16
Undo action for ObjectMesh creases.
Definition MRChangeSelectionAction.h:122
Undo action for ObjectMeshData change.
Definition MRChangeMeshDataAction.h:14
Undo action for ObjectMesh edge selection.
Definition MRChangeSelectionAction.h:68
Undo action for ObjectMesh face selection.
Definition MRChangeSelectionAction.h:14
Undo action for ObjectMesh points only (not topology) change.
Definition MRChangeMeshAction.h:190
Undo action for ObjectMesh topology only (not points) change.
Definition MRChangeMeshAction.h:254
Definition MRChangeObjectAction.h:17
Undo action for ObjectPoints point selection.
Definition MRChangeSelectionAction.h:176
Definition MRChangeSceneAction.h:16
Definition MRChangeXfAction.h:16
Definition MRCircleObject.h:17
Class for aggregate several color map in one Color maps are aggregated according order.
Definition MRColorMapAggregator.h:20
Definition MRCombinedHistoryAction.h:15
Definition MRConeObject.h:22
Definition MRCylinderObject.h:21
Definition MRDistanceMap.h:24
the class stores some number of smallest elements from a larger number of candidates
Definition MRFewSmallest.h:17
mathematical graph consisting from vertices and undirected edges
Definition MRGraph.h:17
stores map from element id in[0, size) to T;
Definition MRHeap.h:23
Definition MRHistoryAction.h:15
Abstract class for fast approximate computation of generalized winding number for a mesh (using its A...
Definition MRFastWindingNumber.h:15
abstract class for computing the closest points of point clouds
Definition MRPointsProject.h:93
Abstract class, computes the closest point on mesh to each of given points. Pure virtual functions mu...
Definition MRPointsToMeshProjector.h:16
stores index of some element, it is made as template class to avoid mixing faces, edges and vertices
Definition MRId.h:19
Definition MRLaplacian.h:24
Definition MRLineObject.h:16
Definition MRMeshOrPoints.h:21
Definition MRMeshTopology.h:23
Definition MRObjectDistanceMap.h:16
Definition MRObjectGcode.h:17
Definition MRObjectLabel.h:29
Definition MRObjectLinesHolder.h:30
Definition MRObjectLines.h:14
Definition MRObjectMeshHolder.h:35
Definition MRObjectMesh.h:14
Definition MRObjectPointsHolder.h:24
Definition MRObjectPoints.h:14
named object in the data model
Definition MRObject.h:62
Undo action for efficiently storage of partial change in mesh (e.g. a modification of small region)
Definition MRPartialChangeMeshAction.h:25
Undo action for efficiently storage of partial change in mesh points (e.g. a modification of small re...
Definition MRPartialChangeMeshAction.h:85
Undo action for efficiently storage of partial change in mesh topology (e.g. a modification of small ...
Definition MRPartialChangeMeshAction.h:151
Definition MRPlaneObject.h:15
Class to accumulate points and make best line / plane approximation.
Definition MRBestFit.h:20
Definition MRPointObject.h:17
Definition MRPointToPlaneAligningTransform.h:20
Definition MRPointToPointAligningTransform.h:16
Definition MRPolylineTopology.h:18
Object that is parent of all scene.
Definition MRSceneRoot.h:14
Definition MRSharedThreadSafeOwner.h:19
Definition MRSphereObject.h:18
Definition MRSwapRootAction.h:16
Definition MRBitSet.h:277
Union-find data structure for representing disjoin sets of elements with few very quick operations: 1...
Definition MRUnionFind.h:23
Definition MRUniqueThreadSafeOwner.h:18
Definition MRVersatileChangeMeshAction.h:14
Definition MRViewportId.h:16
stores mask of viewport unique identifiers
Definition MRViewportId.h:42
Visual Object.
Definition MRVisualObject.h:115
graphs representing rain basins on the mesh
Definition MRWatershedGraph.h:15
bool contains(const TypedBitSet< I > *bitset, I id)
Definition MRBitSet.h:405
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:758
CubicBezierCurve< Vector2< T > > CubicBezierCurve2
Definition MRMeshFwd.h:450
std::function< float(VertId)> VertMetric
Definition MRMeshFwd.h:586
phmap::parallel_flat_hash_map< K, V, Hash, Eq > ParallelHashMap
Definition MRMeshFwd.h:612
std::vector< EdgeId > EdgeLoop
Definition MRMeshFwd.h:150
std::vector< std::string > GcodeSource
Definition MRMeshFwd.h:689
WrapType
Definition MREnums.h:18
struct
Definition MRMeshFwd.h:206
Contour
Definition MRObjectLabel.h:20
std::array< VertId, 2 > TwoVertIds
two vertex ids describing an edge with the ends in vertices given by their ids
Definition MRMeshFwd.h:520
std::vector< SurfacePath > SurfacePaths
Definition MRMeshFwd.h:484
std::vector< EdgeLoop > EdgeLoops
Definition MRMeshFwd.h:151
Contour3< float > Contour3f
Definition MRMeshFwd.h:384
class MRMESH_CLASS UndirectedEdgeTag
Definition MRMeshFwd.h:102
constexpr T sqr(T x) noexcept
squared value
Definition MRMeshFwd.h:768
AABBTreePolyline2
Definition MRMeshFwd.h:668
LineSegm< Vector3< T > > LineSegm3
Definition MRMeshFwd.h:355
MapOrHashMap< FaceId, FaceId > FaceMapOrHashMap
Definition MRMeshFwd.h:624
class MRMESH_CLASS ObjTag
Definition MRMeshFwd.h:109
CubicBezierCurve< Vector3< T > > CubicBezierCurve3
Definition MRMeshFwd.h:451
Box< T > MinMax
Definition MRMeshFwd.h:419
std::function< bool(FaceId)> FacePredicate
Definition MRMeshFwd.h:573
MinMax< float > MinMaxf
Definition MRMeshFwd.h:420
Contour2< double > Contour2d
Definition MRMeshFwd.h:381
struct MRMESH_CLASS Eq
Definition MRMeshFwd.h:599
class MRMESH_CLASS NodeTag
Definition MRMeshFwd.h:108
Box< Vector3< T > > Box3
Definition MRMeshFwd.h:426
HashSet< VertId > VertHashSet
Definition MRMeshFwd.h:606
std::function< bool(EdgeId)> EdgePredicate
Definition MRMeshFwd.h:574
Contour2< float > Contour2f
Definition MRMeshFwd.h:382
std::array< UVCoord, 3 > ThreeUVCoords
three UV-coordinates describing texturing of a triangle
Definition MRMeshFwd.h:526
Contours2< double > Contours2d
Definition MRMeshFwd.h:389
Contours3< float > Contours3f
Definition MRMeshFwd.h:392
std::uint64_t Uint64
Definition MRMeshFwd.h:203
std::function< bool(UndirectedEdgeId)> UndirectedEdgePredicate
Definition MRMeshFwd.h:575
Ball< Vector2< T > > Ball2
Definition MRMeshFwd.h:441
MapOrHashMap< VertId, VertId > VertMapOrHashMap
Definition MRMeshFwd.h:625
Contours3< double > Contours3d
Definition MRMeshFwd.h:391
SurfacePaths PlaneSections
Definition MRMeshFwd.h:488
MapOrHashMap< EdgeId, EdgeId > EdgeMapOrHashMap
Definition MRMeshFwd.h:626
HashMap< VertId, VertId > VertHashMap
Definition MRMeshFwd.h:615
QuadraticForm< Vector3< T > > QuadraticForm3
Definition MRMeshFwd.h:460
class MRMESH_CLASS VoxelTag
Definition MRMeshFwd.h:106
Ball< T > Ball1
Definition MRMeshFwd.h:440
FilterType
Definition MREnums.h:12
SurfacePath IsoLine
Definition MRMeshFwd.h:485
Vector2f UVCoord
Definition MRMeshFwd.h:517
Triangle3< int > Triangle3i
Definition MRMeshFwd.h:469
Ball< Vector3< T > > Ball3
Definition MRMeshFwd.h:442
Sphere< Vector3< T > > Sphere3
Definition MRMeshFwd.h:337
std::vector< MeshEdgePoint > SurfacePath
Definition MRMeshFwd.h:483
HashMap< UndirectedEdgeId, EdgeId > WholeEdgeHashMap
mapping of whole edges: map[e]->f, map[e.sym()]->f.sym(), where only map[e] for even edges is stored
Definition MRMeshFwd.h:619
class MRMESH_CLASS FaceTag
Definition MRMeshFwd.h:103
class MRMESH_CLASS TextureTag
Definition MRMeshFwd.h:110
class MRMESH_CLASS I
Definition MRMeshFwd.h:139
class MRMESH_CLASS PixelTag
Definition MRMeshFwd.h:105
Line< Vector3< T > > Line3
Definition MRMeshFwd.h:346
Contours< Vector2< T > > Contours2
Definition MRMeshFwd.h:387
overloaded(Ts...) -> overloaded< Ts... >
explicit deduction guide (not needed as of C++20, but still needed in Clang)
constexpr int sgn(T x) noexcept
sign of given value in { -1, 0, 1 }
Definition MRMeshFwd.h:772
Contours2< float > Contours2f
Definition MRMeshFwd.h:390
std::function< float(EdgeId)> EdgeMetric
Definition MRMeshFwd.h:588
MinMax< double > MinMaxd
Definition MRMeshFwd.h:421
Box< Vector2< T > > Box2
Definition MRMeshFwd.h:425
std::function< bool(EdgeId edgeToCollapse, const Vector3f &newEdgeOrgPos)> PreCollapseCallback
Definition MRMeshFwd.h:577
MinMax< int > MinMaxi
Definition MRMeshFwd.h:422
EdgePoint MeshEdgePoint
Definition MRMeshFwd.h:482
Box< T > Box1
Definition MRMeshFwd.h:424
Contour< Vector2< T > > Contour2
Definition MRMeshFwd.h:379
Contour3< double > Contour3d
Definition MRMeshFwd.h:383
TypedBitSet< Id< T > > TaggedBitSet
Definition MRMeshFwd.h:171
SurfacePath PlaneSection
Definition MRMeshFwd.h:487
HashMap< FaceId, FaceId > FaceHashMap
Definition MRMeshFwd.h:614
std::function< float(FaceId)> FaceMetric
Definition MRMeshFwd.h:587
class MRMESH_CLASS LocaleDomainTag
Definition MRMeshFwd.h:113
MapOrHashMap< UndirectedEdgeId, EdgeId > WholeEdgeMapOrHashMap
mapping of whole edges: map[e]->f, map[e.sym()]->f.sym(), where only map[e] for even edges is stored
Definition MRMeshFwd.h:629
Polyline2
Definition MRMeshFwd.h:663
Triangle3< double > Triangle3d
Definition MRMeshFwd.h:471
Contour< Vector3< T > > Contour3
Definition MRMeshFwd.h:380
HashSet< FaceId > FaceHashSet
No canonical typedefs because phmap::... is not under our control.
Definition MRMeshFwd.h:605
std::vector< EdgeId > EdgePath
Definition MRMeshFwd.h:149
std::array< VertId, 3 > ThreeVertIds
three vertex ids describing a triangle with the corners in vertices given by their ids
Definition MRMeshFwd.h:523
class MRMESH_CLASS VertTag
Definition MRMeshFwd.h:104
std::pair< FaceId, FaceId > FacePair
Definition MRMeshFwd.h:494
constexpr NoInit noInit
Definition MRMeshFwd.h:98
HashSet< EdgeId > EdgeHashSet
Definition MRMeshFwd.h:607
std::pair< UndirectedEdgeId, UndirectedEdgeId > UndirectedEdgePair
Definition MRMeshFwd.h:496
std::pair< EdgeId, EdgeId > EdgePair
Definition MRMeshFwd.h:495
std::int64_t Int64
Definition MRMeshFwd.h:202
std::function< void(EdgeId e1, EdgeId e)> OnEdgeSplit
Definition MRMeshFwd.h:578
std::function< float(UndirectedEdgeId)> UndirectedEdgeMetric
Definition MRMeshFwd.h:589
constexpr auto lerp(V v0, V v1, T t) noexcept
Linear interpolation: returns v0 when t==0 and v1 when t==1.
Definition MRMeshFwd.h:784
constexpr bool dependent_false
Definition MRMeshFwd.h:787
Triangle3< float > Triangle3f
Definition MRMeshFwd.h:470
SurfacePaths IsoLines
Definition MRMeshFwd.h:486
constexpr auto translate_noop(const char *str) noexcept
special no-op inline functions to mark string literal as translatable
Definition MRMeshFwd.h:813
class MRMESH_CLASS EdgeTag
Definition MRMeshFwd.h:101
AffineXf< Vector3< T > > AffineXf3
Definition MRMeshFwd.h:315
std::vector< Contour< V > > Contours
Definition MRMeshFwd.h:386
Polyline2ProjectionWithOffsetResult
Definition MRMeshFwd.h:681
HashMap< EdgeId, EdgeId > EdgeHashMap
Definition MRMeshFwd.h:616
struct MRMESH_CLASS Hash
Definition MRMeshFwd.h:599
phmap::parallel_flat_hash_set< T, Hash, Eq > ParallelHashSet
Definition MRMeshFwd.h:602
MapOrHashMap< UndirectedEdgeId, UndirectedEdgeId > UndirectedEdgeMapOrHashMap
Definition MRMeshFwd.h:627
std::pair< VertId, VertId > VertPair
Definition MRMeshFwd.h:493
HashMap< UndirectedEdgeId, UndirectedEdgeId > UndirectedEdgeHashMap
Definition MRMeshFwd.h:617
Contours< Vector3< T > > Contours3
Definition MRMeshFwd.h:388
class MRMESH_CLASS RegionTag
Definition MRMeshFwd.h:107
class MRMESH_CLASS GraphVertTag
Definition MRMeshFwd.h:111
phmap::flat_hash_map< K, V, Hash, Eq > HashMap
Definition MRMeshFwd.h:610
class MRMESH_CLASS GraphEdgeTag
Definition MRMeshFwd.h:112
Reorder
determines how points to be ordered
Definition MREnums.h:26
std::optional< T > distanceSq(const Plane3< T > &plane1, const Plane3< T > &plane2, T errorLimit=std::numeric_limits< T >::epsilon() *T(20))
Definition MRIntersection.h:90
std::optional< T > distance(const Plane3< T > &plane1, const Plane3< T > &plane2, T errorLimit=std::numeric_limits< T >::epsilon() *T(20))
Definition MRIntersection.h:104
Definition MRMeshFwd.h:810
Building topologies by triangles.
Definition MRIdentifyVertices.h:16
Definition MRIOFormatsRegistry.h:361
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRAffineXf.h:26
triangulations for all points, with easy access by VertId
Definition MRLocalTriangulations.h:51
flat map: I -> T
Definition MRBuffer.h:136
a ball = points surrounded by a sphere in arbitrary space with vector type V
Definition MRBall.h:15
Box given by its min- and max- corners.
Definition MRBox.h:27
mapping among elements of source point cloud, from which a part is taken, and target (this) point clo...
Definition MRCloudPartMapping.h:13
Definition MRColor.h:12
Cubic Bezier curve.
Definition MRBezier.h:16
Definition MRDipole.h:14
options determining computation of distance from a point to a mesh
Definition MRDistanceToMeshOptions.h:14
Definition MREdgeLengthMesh.h:16
two edge-points (e.g. representing collision point of two edges)
Definition MREdgePoint.h:53
encodes a point on an edge of mesh or of polyline
Definition MREdgePoint.h:14
Represents a segment on one edge.
Definition MREdgePoint.h:64
a pair of faces
Definition MRFaceFace.h:14
Definition MRFillHoleNicely.h:59
Parameters structure for MR::fillHole Structure has some options to control MR::fillHole.
Definition MRMeshFillHole.h:26
Definition MRSurfacePath.h:20
settings defining regular grid, where each quadrangular cell is split on two triangles in one of two ...
Definition MRGridSettings.h:14
Definition MRImage.h:19
Definition MRIntersectionPrecomputes2.h:35
Definition MRIntersectionPrecomputes.h:117
Definition MRIteratorRange.h:13
a segment of straight dimensional line
Definition MRLineSegm.h:15
Definition MRLine.h:16
ObjectMeshData and additional information from mesh importer.
Definition MRLoadedMeshData.h:15
result of loading (e.g. from a file) as a number of objects
Definition MRLoadedObjects.h:36
Definition MRMapOrHashMap.h:19
Definition MRMatrix2.h:24
Definition MRMatrix3.h:24
Definition MRMatrix4.h:25
Definition MRMinMaxArg.h:49
Definition MRMeshIntersect.h:18
an object and its transformation to global space with other objects
Definition MRMeshOrPoints.h:109
Definition MRMeshProject.h:18
Definition MRMeshPart.h:15
Definition MRMeshTexture.h:13
Definition MRMeshTriPoint.h:26
Definition MRMesh.h:23
Definition MRMinMaxArg.h:16
Definition MRMinMaxArg.h:82
this class is similar to T, but does not make default initialization of the fields for best performan...
Definition MRNoDefInit.h:14
Definition MRMeshFwd.h:97
mesh and its per-element attributes for ObjectMeshHolder
Definition MRObjectMeshData.h:17
Definition MRBuffer.h:144
mapping among elements of source mesh, from which a part is taken, and target mesh
Definition MRPartMapping.h:13
represents full point cloud (if region is nullptr) or some portion of point cloud (if region pointer ...
Definition MRPointCloudPart.h:13
Definition MRPointCloud.h:17
a point located on some mesh's face
Definition MRPointOnFace.h:16
Definition MRPointOnObject.h:21
Definition MRPointsProject.h:15
Definition MRPolylineProject.h:15
Definition MRPolylineProject.h:73
Definition MRPolyline.h:18
Definition MRQuadraticForm.h:16
determines how to save points/lines/mesh
Definition MRSaveSettings.h:20
options determining computation of signed distance from a point to a mesh
Definition MRDistanceToMeshOptions.h:40
describes a number of local triangulations of some points (e.g. assigned to a thread)
Definition MRLocalTriangulations.h:43
Definition MRSphere.h:14
Definition MRSymMatrix2.h:17
Definition MRSymMatrix3.h:18
Definition MRSymMatrix4.h:16
Definition MRTbbTaskArenaAndGroup.h:16
struct to determine transparent rendering mode
Definition MRRenderModelParameters.h:13
Definition MRTriMesh.h:16
a pair of undirected edges
Definition MRFaceFace.h:24
Definition MRUnorientedTriangle.h:16
Definition MRVector2.h:29
Definition MRVector3.h:33
Definition MRVector4.h:26
Definition MRMeshFwd.h:790