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

Public Member Functions

 DenoiseViaNormalsSettings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 DenoiseViaNormalsSettings ()
 DenoiseViaNormalsSettings (boolean fastIndicatorComputation, float beta, float gamma, int normalIters, int pointIters, float guideWeight, boolean limitNearInitial, float maxInitialDist, meshlib.FaceBitSet region, meshlib.UndirectedEdgeBitSet outCreases)
 DenoiseViaNormalsSettings (meshlib.DenoiseViaNormalsSettings _other)
meshlib.DenoiseViaNormalsSettings assignFromAnother (meshlib.DenoiseViaNormalsSettings _other)
boolean fastIndicatorComputation ()
void setFastIndicatorComputation (boolean value)
float beta ()
void setBeta (float value)
float gamma ()
void setGamma (float value)
int normalIters ()
void setNormalIters (int value)
int pointIters ()
void setPointIters (int value)
float guideWeight ()
void setGuideWeight (float value)
boolean limitNearInitial ()
void setLimitNearInitial (boolean value)
float maxInitialDist ()
void setMaxInitialDist (float value)
java.lang.foreign.MemorySegment region ()
void setRegion (meshlib.FaceBitSet value)
java.lang.foreign.MemorySegment outCreases ()
void setOutCreases (meshlib.UndirectedEdgeBitSet value)
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 ()

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::DenoiseViaNormalsSettings.

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

Constructor & Destructor Documentation

◆ DenoiseViaNormalsSettings() [1/4]

meshlib.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings ( 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.

◆ DenoiseViaNormalsSettings() [2/4]

meshlib.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings ( )

Constructs an empty (default-constructed) instance.

Calls MR_DenoiseViaNormalsSettings_DefaultConstruct().

◆ DenoiseViaNormalsSettings() [3/4]

meshlib.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings ( boolean fastIndicatorComputation,
float beta,
float gamma,
int normalIters,
int pointIters,
float guideWeight,
boolean limitNearInitial,
float maxInitialDist,
meshlib.FaceBitSet region,
meshlib.UndirectedEdgeBitSet outCreases )

Constructs MR::DenoiseViaNormalsSettings elementwise. The reference to the parameter region might be preserved in the constructed object. The reference to the parameter outCreases might be preserved in the constructed object.

Calls MR_DenoiseViaNormalsSettings_ConstructFrom().

◆ DenoiseViaNormalsSettings() [4/4]

meshlib.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings ( meshlib.DenoiseViaNormalsSettings _other)

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

Calls MR_DenoiseViaNormalsSettings_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.DenoiseViaNormalsSettings meshlib.DenoiseViaNormalsSettings.assignFromAnother ( meshlib.DenoiseViaNormalsSettings _other)

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

Calls MR_DenoiseViaNormalsSettings_AssignFromAnother().

◆ beta()

float meshlib.DenoiseViaNormalsSettings.beta ( )

0.001 - sharp edges, 0.01 - moderate edges, 0.1 - smooth edges Returns a pointer to a member variable of class MR::DenoiseViaNormalsSettings named beta. The reference to this object might be preserved as the return value.

Calls MR_DenoiseViaNormalsSettings_Get_beta().

◆ fastIndicatorComputation()

boolean meshlib.DenoiseViaNormalsSettings.fastIndicatorComputation ( )

use approximated computation, which is much faster than precise solution Returns a pointer to a member variable of class MR::DenoiseViaNormalsSettings named fastIndicatorComputation. The reference to this object might be preserved as the return value.

Calls MR_DenoiseViaNormalsSettings_Get_fastIndicatorComputation().

◆ gamma()

float meshlib.DenoiseViaNormalsSettings.gamma ( )

the amount of smoothing: 0 - no smoothing, 1 - average smoothing, ... Returns a pointer to a member variable of class MR::DenoiseViaNormalsSettings named gamma. The reference to this object might be preserved as the return value.

Calls MR_DenoiseViaNormalsSettings_Get_gamma().

◆ guideWeight()

float meshlib.DenoiseViaNormalsSettings.guideWeight ( )

how much resulting points must be attracted to initial points (e.g. to avoid general shrinkage), must be > 0 Returns a pointer to a member variable of class MR::DenoiseViaNormalsSettings named guideWeight. The reference to this object might be preserved as the return value.

Calls MR_DenoiseViaNormalsSettings_Get_guideWeight().

◆ limitNearInitial()

boolean meshlib.DenoiseViaNormalsSettings.limitNearInitial ( )

if true then maximal displacement of each point during denoising will be limited Returns a pointer to a member variable of class MR::DenoiseViaNormalsSettings named limitNearInitial. The reference to this object might be preserved as the return value.

Calls MR_DenoiseViaNormalsSettings_Get_limitNearInitial().

◆ maxInitialDist()

float meshlib.DenoiseViaNormalsSettings.maxInitialDist ( )

maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Returns a pointer to a member variable of class MR::DenoiseViaNormalsSettings named maxInitialDist. The reference to this object might be preserved as the return value.

Calls MR_DenoiseViaNormalsSettings_Get_maxInitialDist().

◆ normalIters()

int meshlib.DenoiseViaNormalsSettings.normalIters ( )

the number of iterations to smooth normals and find creases; the more the better quality, but longer computation Returns a pointer to a member variable of class MR::DenoiseViaNormalsSettings named normalIters. The reference to this object might be preserved as the return value.

Calls MR_DenoiseViaNormalsSettings_Get_normalIters().

◆ outCreases()

java.lang.foreign.MemorySegment meshlib.DenoiseViaNormalsSettings.outCreases ( )

optionally returns creases found during smoothing, only among the edges with both incident faces in the region Returns a pointer to a member variable of class MR::DenoiseViaNormalsSettings named outCreases. The reference to this object might be preserved as the return value.

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

◆ pointIters()

int meshlib.DenoiseViaNormalsSettings.pointIters ( )

the number of iterations to update vertex coordinates from found normals; the more the better quality, but longer computation Returns a pointer to a member variable of class MR::DenoiseViaNormalsSettings named pointIters. The reference to this object might be preserved as the return value.

Calls MR_DenoiseViaNormalsSettings_Get_pointIters().

◆ region()

java.lang.foreign.MemorySegment meshlib.DenoiseViaNormalsSettings.region ( )

if given, then only the normals of these faces are denoised, and only the vertices with all incident faces in the region are moved Returns a pointer to a member variable of class MR::DenoiseViaNormalsSettings named region. The reference to this object might be preserved as the return value.

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

◆ setBeta()

void meshlib.DenoiseViaNormalsSettings.setBeta ( float value)

0.001 - sharp edges, 0.01 - moderate edges, 0.1 - smooth edges Modifies a member variable of class MR::DenoiseViaNormalsSettings named beta.

Calls MR_DenoiseViaNormalsSettings_Set_beta().

◆ setFastIndicatorComputation()

void meshlib.DenoiseViaNormalsSettings.setFastIndicatorComputation ( boolean value)

use approximated computation, which is much faster than precise solution Modifies a member variable of class MR::DenoiseViaNormalsSettings named fastIndicatorComputation.

Calls MR_DenoiseViaNormalsSettings_Set_fastIndicatorComputation().

◆ setGamma()

void meshlib.DenoiseViaNormalsSettings.setGamma ( float value)

the amount of smoothing: 0 - no smoothing, 1 - average smoothing, ... Modifies a member variable of class MR::DenoiseViaNormalsSettings named gamma.

Calls MR_DenoiseViaNormalsSettings_Set_gamma().

◆ setGuideWeight()

void meshlib.DenoiseViaNormalsSettings.setGuideWeight ( float value)

how much resulting points must be attracted to initial points (e.g. to avoid general shrinkage), must be > 0 Modifies a member variable of class MR::DenoiseViaNormalsSettings named guideWeight.

Calls MR_DenoiseViaNormalsSettings_Set_guideWeight().

◆ setLimitNearInitial()

void meshlib.DenoiseViaNormalsSettings.setLimitNearInitial ( boolean value)

if true then maximal displacement of each point during denoising will be limited Modifies a member variable of class MR::DenoiseViaNormalsSettings named limitNearInitial.

Calls MR_DenoiseViaNormalsSettings_Set_limitNearInitial().

◆ setMaxInitialDist()

void meshlib.DenoiseViaNormalsSettings.setMaxInitialDist ( float value)

maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Modifies a member variable of class MR::DenoiseViaNormalsSettings named maxInitialDist.

Calls MR_DenoiseViaNormalsSettings_Set_maxInitialDist().

◆ setNormalIters()

void meshlib.DenoiseViaNormalsSettings.setNormalIters ( int value)

the number of iterations to smooth normals and find creases; the more the better quality, but longer computation Modifies a member variable of class MR::DenoiseViaNormalsSettings named normalIters.

Calls MR_DenoiseViaNormalsSettings_Set_normalIters().

◆ setOutCreases()

void meshlib.DenoiseViaNormalsSettings.setOutCreases ( meshlib.UndirectedEdgeBitSet value)

optionally returns creases found during smoothing, only among the edges with both incident faces in the region Modifies a member variable of class MR::DenoiseViaNormalsSettings named outCreases. The reference to the parameter value might be preserved in this object in element outCreases.

Calls MR_DenoiseViaNormalsSettings_Set_outCreases().

◆ setPointIters()

void meshlib.DenoiseViaNormalsSettings.setPointIters ( int value)

the number of iterations to update vertex coordinates from found normals; the more the better quality, but longer computation Modifies a member variable of class MR::DenoiseViaNormalsSettings named pointIters.

Calls MR_DenoiseViaNormalsSettings_Set_pointIters().

◆ setRegion()

void meshlib.DenoiseViaNormalsSettings.setRegion ( meshlib.FaceBitSet value)

if given, then only the normals of these faces are denoised, and only the vertices with all incident faces in the region are moved Modifies a member variable of class MR::DenoiseViaNormalsSettings named region. The reference to the parameter value might be preserved in this object in element region.

Calls MR_DenoiseViaNormalsSettings_Set_region().


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