MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_UniformSamplingSettings Class Reference

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_BoolFuncFromFloat progress)
 Constructs MR.UniformSamplingSettings elementwise.
 
unsafe Const_UniformSamplingSettings (MR._ByValue_UniformSamplingSettings _other)
 Generated from constructor MR.UniformSamplingSettings.UniformSamplingSettings.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

unsafe float distance [get]
 minimal distance between samples
 
unsafe float minNormalDot [get]
 
unsafe bool lexicographicalOrder [get]
 
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_BoolFuncFromFloat progress [get]
 to report progress and cancel processing
 
- Properties inherited from MR.Misc.Object< Const_UniformSamplingSettings >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_UniformSamplingSettings >
bool _IsOwningVal
 

Detailed Description

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

Property Documentation

◆ 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)


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