MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.PointsToDistanceVolumeParams Class Reference
Inheritance diagram for meshlib.PointsToDistanceVolumeParams:

Public Member Functions

 PointsToDistanceVolumeParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 PointsToDistanceVolumeParams ()
 PointsToDistanceVolumeParams (meshlib.PointsToDistanceVolumeParams _other)
meshlib.PointsToDistanceVolumeParams assignFromAnother (meshlib.PointsToDistanceVolumeParams _other)
float sigma ()
void setSigma (float value)
float minWeight ()
void setMinWeight (float value)
float invSigmaModifier ()
void setInvSigmaModifier (float value)
boolean sqrtAngleWeight ()
void setSqrtAngleWeight (boolean value)
java.lang.foreign.MemorySegment ptNormals ()
void setPtNormals (meshlib.VertCoords value)
meshlib.Vector3f origin ()
void setOrigin (meshlib.Vector3f value)
meshlib.std_function_bool_from_float cb ()
void setCb (meshlib.std_function_bool_from_float value)
meshlib.Vector3f voxelSize ()
void setVoxelSize (meshlib.Vector3f value)
meshlib.Vector3i dimensions ()
void setDimensions (meshlib.Vector3i value)
meshlib.DistanceVolumeParams upcastToDistanceVolumeParams ()
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Static Public Member Functions

static meshlib.PointsToDistanceVolumeParams staticDowncastFromDistanceVolumeParams (meshlib.DistanceVolumeParams object)

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

Generated from class MR::PointsToDistanceVolumeParams. Base classes: Direct: (non-virtual) MR::DistanceVolumeParams

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ PointsToDistanceVolumeParams() [1/3]

meshlib.PointsToDistanceVolumeParams.PointsToDistanceVolumeParams ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ PointsToDistanceVolumeParams() [2/3]

meshlib.PointsToDistanceVolumeParams.PointsToDistanceVolumeParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_PointsToDistanceVolumeParams_DefaultConstruct().

◆ PointsToDistanceVolumeParams() [3/3]

meshlib.PointsToDistanceVolumeParams.PointsToDistanceVolumeParams ( meshlib.PointsToDistanceVolumeParams _other)

Generated from constructor MR::PointsToDistanceVolumeParams::PointsToDistanceVolumeParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_PointsToDistanceVolumeParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.PointsToDistanceVolumeParams meshlib.PointsToDistanceVolumeParams.assignFromAnother ( meshlib.PointsToDistanceVolumeParams _other)

Generated from method MR::PointsToDistanceVolumeParams::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_PointsToDistanceVolumeParams_AssignFromAnother().

◆ cb()

meshlib.std_function_bool_from_float meshlib.PointsToDistanceVolumeParams.cb ( )

progress callback Returns a pointer to a member variable of class MR::PointsToDistanceVolumeParams named cb. The reference to this object might be preserved as the return value.

Calls MR_PointsToDistanceVolumeParams_Get_cb().

◆ dimensions()

meshlib.Vector3i meshlib.PointsToDistanceVolumeParams.dimensions ( )

num voxels along each axis Returns a pointer to a member variable of class MR::PointsToDistanceVolumeParams named dimensions. The reference to this object might be preserved as the return value.

Calls MR_PointsToDistanceVolumeParams_Get_dimensions().

◆ invSigmaModifier()

float meshlib.PointsToDistanceVolumeParams.invSigmaModifier ( )

coefficient used for weight calculation: e^(dist^2 * -invSigmaModifier * sigma^-2) values: (0;inf) Returns a pointer to a member variable of class MR::PointsToDistanceVolumeParams named invSigmaModifier. The reference to this object might be preserved as the return value.

Calls MR_PointsToDistanceVolumeParams_Get_invSigmaModifier().

◆ minWeight()

float meshlib.PointsToDistanceVolumeParams.minWeight ( )

minimum sum of influence weights from surrounding points for a voxel to get a value, meaning that there shall be at least this number of points in close proximity Returns a pointer to a member variable of class MR::PointsToDistanceVolumeParams named minWeight. The reference to this object might be preserved as the return value.

Calls MR_PointsToDistanceVolumeParams_Get_minWeight().

◆ origin()

meshlib.Vector3f meshlib.PointsToDistanceVolumeParams.origin ( )

origin point of voxels box Returns a pointer to a member variable of class MR::PointsToDistanceVolumeParams named origin. The reference to this object might be preserved as the return value.

Calls MR_PointsToDistanceVolumeParams_Get_origin().

◆ ptNormals()

java.lang.foreign.MemorySegment meshlib.PointsToDistanceVolumeParams.ptNormals ( )

optional input: if this pointer is set then function will use these normals instead of ones present in cloud Returns a pointer to a member variable of class MR::PointsToDistanceVolumeParams named ptNormals. The reference to this object might be preserved as the return value.

Calls MR_PointsToDistanceVolumeParams_Get_ptNormals(). Some types are raw C types, see the C bindings for the details.

◆ setCb()

void meshlib.PointsToDistanceVolumeParams.setCb ( meshlib.std_function_bool_from_float value)

progress callback Modifies a member variable of class MR::PointsToDistanceVolumeParams named cb. The reference to the parameter value might be preserved in this object in element cb.

Calls MR_PointsToDistanceVolumeParams_Set_cb().

◆ setDimensions()

void meshlib.PointsToDistanceVolumeParams.setDimensions ( meshlib.Vector3i value)

num voxels along each axis Modifies a member variable of class MR::PointsToDistanceVolumeParams named dimensions. The reference to the parameter value might be preserved in this object in element dimensions.

Calls MR_PointsToDistanceVolumeParams_Set_dimensions().

◆ setInvSigmaModifier()

void meshlib.PointsToDistanceVolumeParams.setInvSigmaModifier ( float value)

coefficient used for weight calculation: e^(dist^2 * -invSigmaModifier * sigma^-2) values: (0;inf) Modifies a member variable of class MR::PointsToDistanceVolumeParams named invSigmaModifier.

Calls MR_PointsToDistanceVolumeParams_Set_invSigmaModifier().

◆ setMinWeight()

void meshlib.PointsToDistanceVolumeParams.setMinWeight ( float value)

minimum sum of influence weights from surrounding points for a voxel to get a value, meaning that there shall be at least this number of points in close proximity Modifies a member variable of class MR::PointsToDistanceVolumeParams named minWeight.

Calls MR_PointsToDistanceVolumeParams_Set_minWeight().

◆ setOrigin()

void meshlib.PointsToDistanceVolumeParams.setOrigin ( meshlib.Vector3f value)

origin point of voxels box Modifies a member variable of class MR::PointsToDistanceVolumeParams named origin. The reference to the parameter value might be preserved in this object in element origin.

Calls MR_PointsToDistanceVolumeParams_Set_origin().

◆ setPtNormals()

void meshlib.PointsToDistanceVolumeParams.setPtNormals ( meshlib.VertCoords value)

optional input: if this pointer is set then function will use these normals instead of ones present in cloud Modifies a member variable of class MR::PointsToDistanceVolumeParams named ptNormals. The reference to the parameter value might be preserved in this object in element ptNormals.

Calls MR_PointsToDistanceVolumeParams_Set_ptNormals().

◆ setSigma()

void meshlib.PointsToDistanceVolumeParams.setSigma ( float value)

it the distance of highest influence of a point; the maximal influence distance is 3*sigma; beyond that distance the influence is strictly zero Modifies a member variable of class MR::PointsToDistanceVolumeParams named sigma.

Calls MR_PointsToDistanceVolumeParams_Set_sigma().

◆ setSqrtAngleWeight()

void meshlib.PointsToDistanceVolumeParams.setSqrtAngleWeight ( boolean value)

changes the way point angle affects weight, by default it is linearly increasing with dot product if enabled - increasing as dot product^(0.5) (with respect to its sign) Modifies a member variable of class MR::PointsToDistanceVolumeParams named sqrtAngleWeight.

Calls MR_PointsToDistanceVolumeParams_Set_sqrtAngleWeight().

◆ setVoxelSize()

void meshlib.PointsToDistanceVolumeParams.setVoxelSize ( meshlib.Vector3f value)

size of voxel on each axis Modifies a member variable of class MR::PointsToDistanceVolumeParams named voxelSize. The reference to the parameter value might be preserved in this object in element voxelSize.

Calls MR_PointsToDistanceVolumeParams_Set_voxelSize().

◆ sigma()

float meshlib.PointsToDistanceVolumeParams.sigma ( )

it the distance of highest influence of a point; the maximal influence distance is 3*sigma; beyond that distance the influence is strictly zero Returns a pointer to a member variable of class MR::PointsToDistanceVolumeParams named sigma. The reference to this object might be preserved as the return value.

Calls MR_PointsToDistanceVolumeParams_Get_sigma().

◆ sqrtAngleWeight()

boolean meshlib.PointsToDistanceVolumeParams.sqrtAngleWeight ( )

changes the way point angle affects weight, by default it is linearly increasing with dot product if enabled - increasing as dot product^(0.5) (with respect to its sign) Returns a pointer to a member variable of class MR::PointsToDistanceVolumeParams named sqrtAngleWeight. The reference to this object might be preserved as the return value.

Calls MR_PointsToDistanceVolumeParams_Get_sqrtAngleWeight().

◆ staticDowncastFromDistanceVolumeParams()

meshlib.PointsToDistanceVolumeParams meshlib.PointsToDistanceVolumeParams.staticDowncastFromDistanceVolumeParams ( meshlib.DistanceVolumeParams object)
static

Static downcast from the base class MR::DistanceVolumeParams. Undefined behavior if the object isn't actually a PointsToDistanceVolumeParams. The result refers to object.

Calls MR_PointsToDistanceVolumeParams_MutableStaticDowncastFrom_MR_DistanceVolumeParams().

◆ upcastToDistanceVolumeParams()

meshlib.DistanceVolumeParams meshlib.PointsToDistanceVolumeParams.upcastToDistanceVolumeParams ( )

Upcasts to the base class MR::DistanceVolumeParams. The result refers to this object.

Calls MR_PointsToDistanceVolumeParams_MutableUpcastTo_MR_DistanceVolumeParams().

◆ voxelSize()

meshlib.Vector3f meshlib.PointsToDistanceVolumeParams.voxelSize ( )

size of voxel on each axis Returns a pointer to a member variable of class MR::PointsToDistanceVolumeParams named voxelSize. The reference to this object might be preserved as the return value.

Calls MR_PointsToDistanceVolumeParams_Get_voxelSize().


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