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...
|
| 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=.
|
| 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.getBoundingBox() Generated from method MR.MeshOrPoints.getObjBoundingBox.
|
| unsafe void | cacheAABBTree () |
| | if the tree used by projections (AABBTree of a mesh, AABBTreePoints of a cloud) 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, nuint? 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.VertBitSet | surfaceGridSampling (float voxelSize, MR.Std.SharedPtr_MRPointCloud cloud) |
| | performs grid sampling as pointsGridSampling, but a mesh with triangles too big for the sampling is sampled from its dense point cloud (see meshToDensePointCloud) returned in (cloud) with Mesh.pseudonormal in every point, and then the ids refer to the points of that cloud; otherwise (cloud) is reset and the ids refer to the points of this object Generated from method MR.MeshOrPoints.surfaceGridSampling.
|
| 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.
|
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.