MeshLib C# Docs
Loading...
Searching...
No Matches

This class can hold either mesh part or point cloud. It is used for generic algorithms operating with either of them Generated from class MR.MeshOrPoints. This is the non-const half of the class. More...

Inheritance diagram for MR.MeshOrPoints:

Public Member Functions

unsafe MeshOrPoints (MR.Const_MeshOrPoints _other)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
 MeshOrPoints (MeshOrPoints _other)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
unsafe MeshOrPoints (MR.Const_MeshPart mp)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
unsafe MeshOrPoints (MR.Const_PointCloudPart pcp)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
unsafe MeshOrPoints (MR.Const_Mesh mesh)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
unsafe MeshOrPoints (MR.Const_PointCloud pc)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
unsafe MR.MeshOrPoints assign (MR.Const_MeshOrPoints _other)
 Generated from method MR::MeshOrPoints::operator=.
Public Member Functions inherited from MR.Const_MeshOrPoints
virtual void Dispose ()
unsafe Const_MeshOrPoints (MR.Const_MeshOrPoints _other)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
 Const_MeshOrPoints (MeshOrPoints _other)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
unsafe Const_MeshOrPoints (MR.Const_MeshPart mp)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
unsafe Const_MeshOrPoints (MR.Const_PointCloudPart pcp)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
unsafe Const_MeshOrPoints (MR.Const_Mesh mesh)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
unsafe Const_MeshOrPoints (MR.Const_PointCloud pc)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
unsafe MR.? Const_MeshPart asMeshPart ()
 if this object holds a mesh part then returns pointer on it, otherwise returns nullptr Generated from method MR.MeshOrPoints.asMeshPart.
unsafe MR.? Const_PointCloudPart asPointCloudPart ()
 if this object holds a point cloud part then returns pointer on it, otherwise returns nullptr Generated from method MR.MeshOrPoints.asPointCloudPart.
unsafe MR.Box3f getObjBoundingBox ()
 returns the minimal bounding box containing all valid vertices of the object (and not only part of mesh); implemented via obj.getAABBTree() Generated from method MR.MeshOrPoints.getObjBoundingBox.
unsafe void cacheAABBTree ()
 if AABBTree is already built does nothing otherwise builds and caches it Generated from method MR.MeshOrPoints.cacheAABBTree.
unsafe MR.Box3f computeBoundingBox (MR.AffineXf3f? toWorld=null)
 passes through all valid vertices and finds the minimal bounding box containing all of them; if toWorld transformation is given then returns minimal bounding box in world space Generated from method MR.MeshOrPoints.computeBoundingBox.
unsafe void accumulate (MR.PointAccumulator accum, MR.AffineXf3f? xf=null)
 Adds in existing PointAccumulator the elements of the contained object Generated from method MR.MeshOrPoints.accumulate.
unsafe MR.Std.Optional_MRVertBitSet pointsGridSampling (float voxelSize, ulong? maxVoxels=null, MR.Std.Const_Function_Bool_From_Float? cb=null)
 performs sampling of vertices or points; subdivides bounding box of the object on voxels of approximately given size and returns at most one vertex per voxel; voxelSize is automatically increased to avoid more voxels than
unsafe MR.Const_VertCoords points ()
 gives access to points-vector (which can include invalid points as well) Generated from method MR.MeshOrPoints.points.
unsafe MR.Const_VertBitSet validPoints ()
 gives access to bit set of valid points Generated from method MR.MeshOrPoints.validPoints.
unsafe MR.Std.Function_MRVector3f_From_MRVertId normals ()
 returns normals generating function: VertId->normal (or empty for point cloud without normals) Generated from method MR.MeshOrPoints.normals.
unsafe MR.Std.Function_Float_From_MRVertId weights ()
 returns weights generating function: VertId->float: for mesh it is double area of surrounding triangles, and for point cloud - nothing Generated from method MR.MeshOrPoints.weights.
unsafe MR.Std.Function_MRMeshOrPointsProjectionResult_From_ConstMRVector3fRef projector ()
 returns a function that finds projection (closest) points on this: Vector3f->ProjectionResult Generated from method MR.MeshOrPoints.projector.
unsafe MR.Std.Function_Bool_From_ConstMRVector3fRef_MRMeshOrPointsProjectionResultRef limitedProjector ()
 returns a function that updates previously known projection (closest) points on this, the update takes place only if newly found closest point is closer to p than sqrt(res.distSq) given on input The function returns true if the update has taken place. Generated from method MR.MeshOrPoints.limitedProjector.

Static Public Member Functions

static unsafe implicit operator MeshOrPoints (MR.Const_MeshPart mp)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
static unsafe implicit operator MeshOrPoints (MR.Const_PointCloudPart pcp)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
static unsafe implicit operator MeshOrPoints (MR.Const_Mesh mesh)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
static unsafe implicit operator MeshOrPoints (MR.Const_PointCloud pc)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
Static Public Member Functions inherited from MR.Const_MeshOrPoints
static unsafe implicit operator Const_MeshOrPoints (MR.Const_MeshPart mp)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
static unsafe implicit operator Const_MeshOrPoints (MR.Const_PointCloudPart pcp)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
static unsafe implicit operator Const_MeshOrPoints (MR.Const_Mesh mesh)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.
static unsafe implicit operator Const_MeshOrPoints (MR.Const_PointCloud pc)
 Generated from constructor MR.MeshOrPoints.MeshOrPoints.

Additional Inherited Members

Protected Member Functions inherited from MR.Const_MeshOrPoints
virtual unsafe void Dispose (bool disposing)

Detailed Description

This class can hold either mesh part or point cloud. It is used for generic algorithms operating with either of them Generated from class MR.MeshOrPoints. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ MeshOrPoints() [1/6]

unsafe MR.MeshOrPoints.MeshOrPoints ( MR.Const_MeshOrPoints _other)
inline

Generated from constructor MR.MeshOrPoints.MeshOrPoints.

◆ MeshOrPoints() [2/6]

MR.MeshOrPoints.MeshOrPoints ( MeshOrPoints _other)
inline

Generated from constructor MR.MeshOrPoints.MeshOrPoints.

◆ MeshOrPoints() [3/6]

unsafe MR.MeshOrPoints.MeshOrPoints ( MR.Const_MeshPart mp)
inline

Generated from constructor MR.MeshOrPoints.MeshOrPoints.

◆ MeshOrPoints() [4/6]

unsafe MR.MeshOrPoints.MeshOrPoints ( MR.Const_PointCloudPart pcp)
inline

Generated from constructor MR.MeshOrPoints.MeshOrPoints.

◆ MeshOrPoints() [5/6]

unsafe MR.MeshOrPoints.MeshOrPoints ( MR.Const_Mesh mesh)
inline

Generated from constructor MR.MeshOrPoints.MeshOrPoints.

◆ MeshOrPoints() [6/6]

unsafe MR.MeshOrPoints.MeshOrPoints ( MR.Const_PointCloud pc)
inline

Generated from constructor MR.MeshOrPoints.MeshOrPoints.

Member Function Documentation

◆ assign()

unsafe MR.MeshOrPoints MR.MeshOrPoints.assign ( MR.Const_MeshOrPoints _other)
inline

Generated from method MR::MeshOrPoints::operator=.

◆ operator MeshOrPoints() [1/4]

unsafe implicit MR.MeshOrPoints.operator MeshOrPoints ( MR.Const_Mesh mesh)
inlinestatic

Generated from constructor MR.MeshOrPoints.MeshOrPoints.

◆ operator MeshOrPoints() [2/4]

unsafe implicit MR.MeshOrPoints.operator MeshOrPoints ( MR.Const_MeshPart mp)
inlinestatic

Generated from constructor MR.MeshOrPoints.MeshOrPoints.

◆ operator MeshOrPoints() [3/4]

unsafe implicit MR.MeshOrPoints.operator MeshOrPoints ( MR.Const_PointCloud pc)
inlinestatic

Generated from constructor MR.MeshOrPoints.MeshOrPoints.

◆ operator MeshOrPoints() [4/4]

unsafe implicit MR.MeshOrPoints.operator MeshOrPoints ( MR.Const_PointCloudPart pcp)
inlinestatic

Generated from constructor MR.MeshOrPoints.MeshOrPoints.


The documentation for this class was generated from the following file: