Generated from class MR.PointCloud. This is the const half of the class.
More...
Inheritance diagram for MR.Const_PointCloud:Classes | |
| struct | _Underlying |
| struct | _UnderlyingShared |
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. | |
| 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 | |
| unsafe void | _LateMakeShared (_Underlying *ptr) |
| virtual unsafe void | Dispose (bool disposing) |
Properties | |
| override unsafe bool | _IsOwning [get] |
| Check if the underlying shared pointer is owning or not. | |
| unsafe MR.Const_VertCoords | points [get] |
| coordinates of points | |
| unsafe MR.Const_VertCoords | normals [get] |
| unit normal directions of points (can be empty if no normals are known) | |
| unsafe MR.Const_VertBitSet | validPoints [get] |
| only points and normals corresponding to set bits here are valid | |
Properties inherited from MR.Misc.SharedObject< Const_PointCloud > | |
| override bool | _IsOwning [get] |
This checks if the shared_ptr itself is owning or not, rather than whether we own our shared_ptr, which isn't a given. The derived classes have to implement this, since it depends on the specific shared_ptr type. | |
| bool | _IsOwningSharedPtr [get] |
This checks if we own the underlying shared_ptr instance, regardless of whether it owns the underlying object, which is orthogonal. We repurpose _IsOwningVal for this. | |
Generated from class MR.PointCloud. This is the const half of the class.