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

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

Inheritance diagram for MR.Const_UniformSamplingSettings:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_UniformSamplingSettings ()
 Constructs an empty (default-constructed) instance.
unsafe Const_UniformSamplingSettings (float distance, float minNormalDot, bool lexicographicalOrder, MR.Const_VertCoords? pNormals, MR.Std._ByValue_Function_Bool_From_Float progress)
 Constructs MR.UniformSamplingSettings elementwise.
unsafe Const_UniformSamplingSettings (MR._ByValue_UniformSamplingSettings _other)
 Generated from constructor MR.UniformSamplingSettings.UniformSamplingSettings.
 Const_UniformSamplingSettings (Const_UniformSamplingSettings _other)
 Generated from constructor MR.UniformSamplingSettings.UniformSamplingSettings.
 Const_UniformSamplingSettings (UniformSamplingSettings _other)
 Generated from constructor MR.UniformSamplingSettings.UniformSamplingSettings.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe float * __ref_storage_distance
unsafe float * __ref_storage_minNormalDot
unsafe bool * __ref_storage_lexicographicalOrder
unsafe MR.Const_VertCoords._Underlying ** __ptr_storage_pNormals

Properties

unsafe float distance [get]
 minimal distance between samples
unsafe float minNormalDot [get]
 if point cloud has normals then automatically decreases local distance to make sure that all points inside have absolute normal dot product not less than this value; this is to make sampling denser in the regions of high curvature; value <=0 means ignore normals; value >=1 means select all points (practically useless)
unsafe bool lexicographicalOrder [get]
 if true process the points in lexicographical order, which gives tighter and more uniform samples; if false process the points according to their ids, which is faster
unsafe MR.? Const_VertCoords pNormals [get]
 if not nullptr then these normals will be used during sampling instead of normals in the cloud itself
unsafe MR.Std.Const_Function_Bool_From_Float progress [get, protected set]
 to report progress and cancel processing

Detailed Description

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

Constructor & Destructor Documentation

◆ Const_UniformSamplingSettings() [1/5]

unsafe MR.Const_UniformSamplingSettings.Const_UniformSamplingSettings ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_UniformSamplingSettings() [2/5]

unsafe MR.Const_UniformSamplingSettings.Const_UniformSamplingSettings ( float distance,
float minNormalDot,
bool lexicographicalOrder,
MR.Const_VertCoords? pNormals,
MR.Std._ByValue_Function_Bool_From_Float progress )
inline

Constructs MR.UniformSamplingSettings elementwise.

◆ Const_UniformSamplingSettings() [3/5]

unsafe MR.Const_UniformSamplingSettings.Const_UniformSamplingSettings ( MR._ByValue_UniformSamplingSettings _other)
inline

◆ Const_UniformSamplingSettings() [4/5]

MR.Const_UniformSamplingSettings.Const_UniformSamplingSettings ( Const_UniformSamplingSettings _other)
inline

◆ Const_UniformSamplingSettings() [5/5]

MR.Const_UniformSamplingSettings.Const_UniformSamplingSettings ( UniformSamplingSettings _other)
inline

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_UniformSamplingSettings.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

Member Data Documentation

◆ __ptr_storage_pNormals

unsafe MR.Const_VertCoords._Underlying** MR.Const_UniformSamplingSettings.__ptr_storage_pNormals
protected

◆ __ref_storage_distance

unsafe float* MR.Const_UniformSamplingSettings.__ref_storage_distance
protected

◆ __ref_storage_lexicographicalOrder

unsafe bool* MR.Const_UniformSamplingSettings.__ref_storage_lexicographicalOrder
protected

◆ __ref_storage_minNormalDot

unsafe float* MR.Const_UniformSamplingSettings.__ref_storage_minNormalDot
protected

Property Documentation

◆ distance

unsafe float MR.Const_UniformSamplingSettings.distance
get

minimal distance between samples

◆ lexicographicalOrder

unsafe bool MR.Const_UniformSamplingSettings.lexicographicalOrder
get

if true process the points in lexicographical order, which gives tighter and more uniform samples; if false process the points according to their ids, which is faster

◆ minNormalDot

unsafe float MR.Const_UniformSamplingSettings.minNormalDot
get

if point cloud has normals then automatically decreases local distance to make sure that all points inside have absolute normal dot product not less than this value; this is to make sampling denser in the regions of high curvature; value <=0 means ignore normals; value >=1 means select all points (practically useless)

◆ pNormals

unsafe MR.? Const_VertCoords MR.Const_UniformSamplingSettings.pNormals
get

if not nullptr then these normals will be used during sampling instead of normals in the cloud itself

◆ progress

unsafe MR.Std.Const_Function_Bool_From_Float MR.Const_UniformSamplingSettings.progress
getprotected set

to report progress and cancel processing


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