Generated from class MR.PointCloud. This is the non-const half of the class.
More...
Inheritance diagram for MR.PointCloud:Public Member Functions | |
| unsafe | PointCloud () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | PointCloud (MR._ByValue_PointCloud _other) |
Generated from constructor MR.PointCloud.PointCloud. | |
| PointCloud (Const_PointCloud _other) | |
Generated from constructor MR.PointCloud.PointCloud. | |
| PointCloud (PointCloud _other) | |
Generated from constructor MR.PointCloud.PointCloud. | |
| unsafe MR.PointCloud | assign (MR._ByValue_PointCloud _other) |
Generated from method MR.PointCloud.operator=. | |
| unsafe void | transform (in MR.AffineXf3f xf, MR.Const_VertBitSet? region=null) |
applies given transformation to specified points and corresponding transformation to their normals if present; if region is nullptr, all valid points are modified Generated from method MR.PointCloud.transform. | |
| unsafe void | addPartByMask (MR.Const_PointCloud from, MR.Const_VertBitSet fromVerts, MR.Const_CloudPartMapping? outMap=null, MR.Const_VertCoords? extNormals=null) |
| appends points (and normals if it possible) (from) in addition to this points if this obj have normals and from obj has not it then don't do anything | |
| unsafe MR.VertId | addPoint (in MR.Vector3f point) |
appends a point and returns its VertId Generated from method MR.PointCloud.addPoint. | |
| unsafe MR.VertId | addPoint (in MR.Vector3f point, in MR.Vector3f normal) |
appends a point with normal and returns its VertId Generated from method MR.PointCloud.addPoint. | |
| unsafe void | mirror (MR.Const_Plane3f plane) |
reflects the points from a given plane Generated from method MR.PointCloud.mirror. | |
| unsafe void | flipOrientation (MR.Const_VertBitSet? region=null) |
flip orientation (normals) of given points (or all valid points is nullptr) Generated from method MR.PointCloud.flipOrientation. | |
| unsafe bool | pack (MR.VertMap? outNew2Old=null) |
tightly packs all arrays eliminating invalid points, but relative order of valid points is preserved; returns false if the cloud was packed before the call and nothing has been changed; if pack is done optionally returns mappings: new.id -> old.id Generated from method MR.PointCloud.pack. | |
| unsafe MR.VertBMap | pack (MR.Reorder reoder) |
| tightly packs all arrays eliminating invalid points, reorders valid points according to given strategy; | |
| unsafe void | invalidateCaches () |
Invalidates caches (e.g. aabb-tree) after a change in point cloud Generated from method MR.PointCloud.invalidateCaches. | |
Properties | |
| new unsafe MR.VertCoords | points [get, protected set] |
| coordinates of points | |
| new unsafe MR.VertCoords | normals [get, protected set] |
| unit normal directions of points (can be empty if no normals are known) | |
| new unsafe MR.VertBitSet | validPoints [get, protected set] |
| only points and normals corresponding to set bits here are valid | |
Generated from class MR.PointCloud. This is the non-const half of the class.
|
inline |
Constructs an empty (default-constructed) instance.
|
inline |
Generated from constructor MR.PointCloud.PointCloud.
|
inline |
Generated from constructor MR.PointCloud.PointCloud.
|
inline |
Generated from constructor MR.PointCloud.PointCloud.
|
inline |
appends points (and normals if it possible) (from) in addition to this points if this obj have normals and from obj has not it then don't do anything
| extNormals | if given then they will be copied instead of from.normals Generated from method MR.PointCloud.addPartByMask. Parameter outMap defaults to {}. |
|
inline |
appends a point and returns its VertId Generated from method MR.PointCloud.addPoint.
|
inline |
appends a point with normal and returns its VertId Generated from method MR.PointCloud.addPoint.
|
inline |
Generated from method MR.PointCloud.operator=.
|
inline |
flip orientation (normals) of given points (or all valid points is nullptr) Generated from method MR.PointCloud.flipOrientation.
|
inline |
Invalidates caches (e.g. aabb-tree) after a change in point cloud Generated from method MR.PointCloud.invalidateCaches.
|
inline |
reflects the points from a given plane Generated from method MR.PointCloud.mirror.
|
inline |
tightly packs all arrays eliminating invalid points, reorders valid points according to given strategy;
MR.PointCloud.pack.
|
inline |
tightly packs all arrays eliminating invalid points, but relative order of valid points is preserved; returns false if the cloud was packed before the call and nothing has been changed; if pack is done optionally returns mappings: new.id -> old.id Generated from method MR.PointCloud.pack.
|
inline |
applies given transformation to specified points and corresponding transformation to their normals if present; if region is nullptr, all valid points are modified Generated from method MR.PointCloud.transform.
|
getprotected set |
unit normal directions of points (can be empty if no normals are known)
|
getprotected set |
coordinates of points
|
getprotected set |
only points and normals corresponding to set bits here are valid