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

Classes

class  _ByValue_DistanceVolumeCreationParams
 This is used as a function parameter when the underlying function receives DistanceVolumeCreationParams by value. Usage:
 
class  _ByValue_ParametersBase
 This is used as a function parameter when the underlying function receives ParametersBase by value. Usage:
 
class  _ByValue_ParametersMetric
 This is used as a function parameter when the underlying function receives ParametersMetric by value. Usage:
 
class  _ByValue_ParametersRegions
 This is used as a function parameter when the underlying function receives ParametersRegions by value. Usage:
 
class  _InOptConst_DistanceVolumeCreationParams
 This is used for optional parameters of class DistanceVolumeCreationParams with default arguments. This is only used const parameters. For non-const ones we have _InOptMut_DistanceVolumeCreationParams. Usage:
 
class  _InOptConst_ParametersBase
 This is used for optional parameters of class ParametersBase with default arguments. This is only used const parameters. For non-const ones we have _InOptMut_ParametersBase. Usage:
 
class  _InOptConst_ParametersMetric
 This is used for optional parameters of class ParametersMetric with default arguments. This is only used const parameters. For non-const ones we have _InOptMut_ParametersMetric. Usage:
 
class  _InOptConst_ParametersRegions
 This is used for optional parameters of class ParametersRegions with default arguments. This is only used const parameters. For non-const ones we have _InOptMut_ParametersRegions. Usage:
 
class  _InOptMut_DistanceVolumeCreationParams
 This is used for optional parameters of class DistanceVolumeCreationParams with default arguments. This is only used mutable parameters. For const ones we have _InOptConst_DistanceVolumeCreationParams. Usage:
 
class  _InOptMut_ParametersBase
 This is used for optional parameters of class ParametersBase with default arguments. This is only used mutable parameters. For const ones we have _InOptConst_ParametersBase. Usage:
 
class  _InOptMut_ParametersMetric
 This is used for optional parameters of class ParametersMetric with default arguments. This is only used mutable parameters. For const ones we have _InOptConst_ParametersMetric. Usage:
 
class  _InOptMut_ParametersRegions
 This is used for optional parameters of class ParametersRegions with default arguments. This is only used mutable parameters. For const ones we have _InOptConst_ParametersRegions. Usage:
 
class  Const_DistanceVolumeCreationParams
 Generated from class MR.WeightedShell.DistanceVolumeCreationParams. This is the const half of the class.
 
class  Const_ParametersBase
 Generated from class MR.WeightedShell.ParametersBase. Derived classes: Direct: (non-virtual) MR.WeightedShell.ParametersMetric MR.WeightedShell.ParametersRegions This is the const half of the class.
 
class  Const_ParametersMetric
 Generated from class MR.WeightedShell.ParametersMetric. Base classes: Direct: (non-virtual) MR.WeightedShell.ParametersBase This is the const half of the class.
 
class  Const_ParametersRegions
 Generated from class MR.WeightedShell.ParametersRegions. Base classes: Direct: (non-virtual) MR.WeightedShell.ParametersBase This is the const half of the class.
 
class  DistanceVolumeCreationParams
 Generated from class MR.WeightedShell.DistanceVolumeCreationParams. This is the non-const half of the class. More...
 
class  ParametersBase
 Generated from class MR.WeightedShell.ParametersBase. Derived classes: Direct: (non-virtual) MR.WeightedShell.ParametersMetric MR.WeightedShell.ParametersRegions This is the non-const half of the class. More...
 
class  ParametersMetric
 Generated from class MR.WeightedShell.ParametersMetric. Base classes: Direct: (non-virtual) MR.WeightedShell.ParametersBase This is the non-const half of the class. More...
 
class  ParametersRegions
 Generated from class MR.WeightedShell.ParametersRegions. Base classes: Direct: (non-virtual) MR.WeightedShell.ParametersBase This is the non-const half of the class. More...
 

Static Public Member Functions

static unsafe MR.FunctionVolume pointsToDistanceVolume (MR.Const_PointCloud cloud, MR.WeightedShell.Const_DistanceVolumeCreationParams params_)
 makes FunctionVolume representing minimal distance to weighted points Generated from function MR.WeightedShell.pointsToDistanceVolume.
 
static unsafe MR.FunctionVolume meshToDistanceVolume (MR.Const_Mesh mesh, MR.WeightedShell.Const_DistanceVolumeCreationParams params_)
 makes FunctionVolume representing minimal distance to mesh with weighted vertices Generated from function MR.WeightedShell.meshToDistanceVolume.
 
static unsafe MR.Mesh pointsShell (MR.Const_PointCloud cloud, MR.Const_VertScalars pointWeights, MR.WeightedShell.Const_ParametersMetric params_)
 consider a point cloud where each point has additive weight (taken from pointWeights and not from params), and the distance to a point is considered equal to (euclidean distance - weight), constructs iso-surface of such distance field corresponding to params.offset value using marching cubes Generated from function MR.WeightedShell.pointsShell.
 
static unsafe MR.Mesh meshShell (MR.Const_Mesh mesh, MR.Const_VertScalars vertWeights, MR.WeightedShell.Const_ParametersMetric params_)
 consider a mesh where each vertex has additive weight (taken from vertWeights and not from params), and this weight is linearly interpolated in mesh triangles, and the distance to a point is considered equal to (euclidean distance - weight), constructs iso-surface of such distance field corresponding to params.offset value using marching cubes Generated from function MR.WeightedShell.meshShell.
 
static unsafe MR.VertScalars calculateShellWeightsFromRegions (MR.Const_Mesh mesh, MR.Std.Const_Vector_MRWeightedShellParametersRegionsRegion regions, float interpolationDist)
 interpolate set of regions and assign weight to each vertex of the mesh Generated from function MR.WeightedShell.calculateShellWeightsFromRegions.
 
static unsafe MR.Mesh meshShell (MR.Const_Mesh mesh, MR.WeightedShell.Const_ParametersRegions params_)
 this overload supports linear interpolation between the regions with different weight Generated from function MR.WeightedShell.meshShell.
 
static unsafe MR.Mesh meshShell (MR.Const_Mesh mesh, MR.WeightedShell.Const_ParametersRegions params_, MR.Std._ByValue_Function_MRFunctionVolumeFuncFromConstMRMeshRefConstMRWeightedShellDistanceVolumeCreationParamsRef volumeBuilder)
 this overload allows to control how distance volume is build during the offset Generated from function MR.WeightedShell.meshShell.
 

Member Function Documentation

◆ calculateShellWeightsFromRegions()

static unsafe MR.VertScalars MR.WeightedShell.calculateShellWeightsFromRegions ( MR.Const_Mesh mesh,
MR.Std.Const_Vector_MRWeightedShellParametersRegionsRegion regions,
float interpolationDist )
inlinestatic

interpolate set of regions and assign weight to each vertex of the mesh Generated from function MR.WeightedShell.calculateShellWeightsFromRegions.

◆ meshShell() [1/3]

static unsafe MR.Mesh MR.WeightedShell.meshShell ( MR.Const_Mesh mesh,
MR.Const_VertScalars vertWeights,
MR.WeightedShell.Const_ParametersMetric params_ )
inlinestatic

consider a mesh where each vertex has additive weight (taken from vertWeights and not from params), and this weight is linearly interpolated in mesh triangles, and the distance to a point is considered equal to (euclidean distance - weight), constructs iso-surface of such distance field corresponding to params.offset value using marching cubes Generated from function MR.WeightedShell.meshShell.

◆ meshShell() [2/3]

static unsafe MR.Mesh MR.WeightedShell.meshShell ( MR.Const_Mesh mesh,
MR.WeightedShell.Const_ParametersRegions params_ )
inlinestatic

this overload supports linear interpolation between the regions with different weight Generated from function MR.WeightedShell.meshShell.

◆ meshShell() [3/3]

static unsafe MR.Mesh MR.WeightedShell.meshShell ( MR.Const_Mesh mesh,
MR.WeightedShell.Const_ParametersRegions params_,
MR.Std._ByValue_Function_MRFunctionVolumeFuncFromConstMRMeshRefConstMRWeightedShellDistanceVolumeCreationParamsRef volumeBuilder )
inlinestatic

this overload allows to control how distance volume is build during the offset Generated from function MR.WeightedShell.meshShell.

◆ meshToDistanceVolume()

static unsafe MR.FunctionVolume MR.WeightedShell.meshToDistanceVolume ( MR.Const_Mesh mesh,
MR.WeightedShell.Const_DistanceVolumeCreationParams params_ )
inlinestatic

makes FunctionVolume representing minimal distance to mesh with weighted vertices Generated from function MR.WeightedShell.meshToDistanceVolume.

◆ pointsShell()

static unsafe MR.Mesh MR.WeightedShell.pointsShell ( MR.Const_PointCloud cloud,
MR.Const_VertScalars pointWeights,
MR.WeightedShell.Const_ParametersMetric params_ )
inlinestatic

consider a point cloud where each point has additive weight (taken from pointWeights and not from params), and the distance to a point is considered equal to (euclidean distance - weight), constructs iso-surface of such distance field corresponding to params.offset value using marching cubes Generated from function MR.WeightedShell.pointsShell.

◆ pointsToDistanceVolume()

static unsafe MR.FunctionVolume MR.WeightedShell.pointsToDistanceVolume ( MR.Const_PointCloud cloud,
MR.WeightedShell.Const_DistanceVolumeCreationParams params_ )
inlinestatic

makes FunctionVolume representing minimal distance to weighted points Generated from function MR.WeightedShell.pointsToDistanceVolume.


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