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

Generated from class MR.PointCloud. This is the const half of the class. More...

Inheritance diagram for MR.Const_PointCloud:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_PointCloud ()
 Constructs an empty (default-constructed) instance.
unsafe Const_PointCloud (MR._ByValue_PointCloud _other)
 Generated from constructor MR.PointCloud.PointCloud.
 Const_PointCloud (Const_PointCloud _other)
 Generated from constructor MR.PointCloud.PointCloud.
 Const_PointCloud (PointCloud _other)
 Generated from constructor MR.PointCloud.PointCloud.
unsafe ulong calcNumValidPoints ()
 computes the total number of valid points in the cloud Generated from method MR.PointCloud.calcNumValidPoints.
unsafe bool hasNormals ()
 returns true if there is a normal for each point Generated from method MR.PointCloud.hasNormals.
unsafe MR.Const_VertBitSet getVertIds (MR.Const_VertBitSet? region)
 if region pointer is not null then converts it in reference, otherwise returns all valid points in the cloud Generated from method MR.PointCloud.getVertIds.
unsafe MR.Const_AABBTreePoints getAABBTree ()
 returns cached aabb-tree for this point cloud, creating it if it did not exist in a thread-safe manner Generated from method MR.PointCloud.getAABBTree.
unsafe MR.? Const_AABBTreePoints getAABBTreeNotCreate ()
 returns cached aabb-tree for this point cloud, but does not create it if it did not exist Generated from method MR.PointCloud.getAABBTreeNotCreate.
unsafe MR.Box3f getBoundingBox ()
 returns the minimal bounding box containing all valid vertices (implemented via getAABBTree()) Generated from method MR.PointCloud.getBoundingBox.
unsafe MR.Box3f computeBoundingBox (MR.AffineXf3f? toWorld=null)
 passes through all valid points 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.PointCloud.computeBoundingBox.
unsafe MR.Box3f computeBoundingBox (MR.Const_VertBitSet? region, MR.AffineXf3f? toWorld=null)
 passes through all given vertices (or all valid vertices if region == null) 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.PointCloud.computeBoundingBox.
unsafe MR.Vector3f findCenterFromPoints ()
 computes average position of all valid points Generated from method MR.PointCloud.findCenterFromPoints.
unsafe MR.Vector3f findCenterFromBBox ()
 computes bounding box and returns its center Generated from method MR.PointCloud.findCenterFromBBox.
unsafe MR.Std.Vector_MRVertId getLexicographicalOrder ()
 returns all valid point ids sorted lexicographically by their coordinates (optimal for uniform sampling) Generated from method MR.PointCloud.getLexicographicalOrder.
unsafe ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.PointCloud.heapBytes.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Properties

unsafe MR.Const_VertCoords points [get, protected set]
 coordinates of points
unsafe MR.Const_VertCoords normals [get, protected set]
 unit normal directions of points (can be empty if no normals are known)
unsafe MR.Const_VertBitSet validPoints [get, protected set]
 only points and normals corresponding to set bits here are valid

Detailed Description

Generated from class MR.PointCloud. This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_PointCloud() [1/4]

unsafe MR.Const_PointCloud.Const_PointCloud ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_PointCloud() [2/4]

unsafe MR.Const_PointCloud.Const_PointCloud ( MR._ByValue_PointCloud _other)
inline

Generated from constructor MR.PointCloud.PointCloud.

◆ Const_PointCloud() [3/4]

MR.Const_PointCloud.Const_PointCloud ( Const_PointCloud _other)
inline

Generated from constructor MR.PointCloud.PointCloud.

◆ Const_PointCloud() [4/4]

MR.Const_PointCloud.Const_PointCloud ( PointCloud _other)
inline

Generated from constructor MR.PointCloud.PointCloud.

Member Function Documentation

◆ calcNumValidPoints()

unsafe ulong MR.Const_PointCloud.calcNumValidPoints ( )
inline

computes the total number of valid points in the cloud Generated from method MR.PointCloud.calcNumValidPoints.

◆ computeBoundingBox() [1/2]

unsafe MR.Box3f MR.Const_PointCloud.computeBoundingBox ( MR.AffineXf3f? toWorld = null)
inline

passes through all valid points 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.PointCloud.computeBoundingBox.

◆ computeBoundingBox() [2/2]

unsafe MR.Box3f MR.Const_PointCloud.computeBoundingBox ( MR.Const_VertBitSet? region,
MR.AffineXf3f? toWorld = null )
inline

passes through all given vertices (or all valid vertices if region == null) 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.PointCloud.computeBoundingBox.

◆ Dispose() [1/2]

virtual void MR.Const_PointCloud.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_PointCloud.Dispose ( bool disposing)
inlineprotectedvirtual

◆ findCenterFromBBox()

unsafe MR.Vector3f MR.Const_PointCloud.findCenterFromBBox ( )
inline

computes bounding box and returns its center Generated from method MR.PointCloud.findCenterFromBBox.

◆ findCenterFromPoints()

unsafe MR.Vector3f MR.Const_PointCloud.findCenterFromPoints ( )
inline

computes average position of all valid points Generated from method MR.PointCloud.findCenterFromPoints.

◆ getAABBTree()

unsafe MR.Const_AABBTreePoints MR.Const_PointCloud.getAABBTree ( )
inline

returns cached aabb-tree for this point cloud, creating it if it did not exist in a thread-safe manner Generated from method MR.PointCloud.getAABBTree.

◆ getAABBTreeNotCreate()

unsafe MR.? Const_AABBTreePoints MR.Const_PointCloud.getAABBTreeNotCreate ( )
inline

returns cached aabb-tree for this point cloud, but does not create it if it did not exist Generated from method MR.PointCloud.getAABBTreeNotCreate.

◆ getBoundingBox()

unsafe MR.Box3f MR.Const_PointCloud.getBoundingBox ( )
inline

returns the minimal bounding box containing all valid vertices (implemented via getAABBTree()) Generated from method MR.PointCloud.getBoundingBox.

◆ getLexicographicalOrder()

unsafe MR.Std.Vector_MRVertId MR.Const_PointCloud.getLexicographicalOrder ( )
inline

returns all valid point ids sorted lexicographically by their coordinates (optimal for uniform sampling) Generated from method MR.PointCloud.getLexicographicalOrder.

◆ getVertIds()

unsafe MR.Const_VertBitSet MR.Const_PointCloud.getVertIds ( MR.Const_VertBitSet? region)
inline

if region pointer is not null then converts it in reference, otherwise returns all valid points in the cloud Generated from method MR.PointCloud.getVertIds.

◆ hasNormals()

unsafe bool MR.Const_PointCloud.hasNormals ( )
inline

returns true if there is a normal for each point Generated from method MR.PointCloud.hasNormals.

◆ heapBytes()

unsafe ulong MR.Const_PointCloud.heapBytes ( )
inline

returns the amount of memory this object occupies on heap Generated from method MR.PointCloud.heapBytes.

Property Documentation

◆ normals

unsafe MR.Const_VertCoords MR.Const_PointCloud.normals
getprotected set

unit normal directions of points (can be empty if no normals are known)

◆ points

unsafe MR.Const_VertCoords MR.Const_PointCloud.points
getprotected set

coordinates of points

◆ validPoints

unsafe MR.Const_VertBitSet MR.Const_PointCloud.validPoints
getprotected set

only points and normals corresponding to set bits here are valid


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