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

Public Member Functions

 DenoiseWithCreasesSettings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 DenoiseWithCreasesSettings ()
 DenoiseWithCreasesSettings (float gamma, float guideWeight, int pointIters, meshlib.FaceBitSet region)
 DenoiseWithCreasesSettings (meshlib.DenoiseWithCreasesSettings _other)
meshlib.DenoiseWithCreasesSettings assignFromAnother (meshlib.DenoiseWithCreasesSettings _other)
float gamma ()
void setGamma (float value)
float guideWeight ()
void setGuideWeight (float value)
int pointIters ()
void setPointIters (int value)
java.lang.foreign.MemorySegment region ()
void setRegion (meshlib.FaceBitSet 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::DenoiseWithCreasesSettings.

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

Constructor & Destructor Documentation

◆ DenoiseWithCreasesSettings() [1/4]

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

◆ DenoiseWithCreasesSettings() [2/4]

meshlib.DenoiseWithCreasesSettings.DenoiseWithCreasesSettings ( )

Constructs an empty (default-constructed) instance.

Calls MR_DenoiseWithCreasesSettings_DefaultConstruct().

◆ DenoiseWithCreasesSettings() [3/4]

meshlib.DenoiseWithCreasesSettings.DenoiseWithCreasesSettings ( float gamma,
float guideWeight,
int pointIters,
meshlib.FaceBitSet region )

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

Calls MR_DenoiseWithCreasesSettings_ConstructFrom().

◆ DenoiseWithCreasesSettings() [4/4]

meshlib.DenoiseWithCreasesSettings.DenoiseWithCreasesSettings ( meshlib.DenoiseWithCreasesSettings _other)

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

Calls MR_DenoiseWithCreasesSettings_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.DenoiseWithCreasesSettings meshlib.DenoiseWithCreasesSettings.assignFromAnother ( meshlib.DenoiseWithCreasesSettings _other)

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

Calls MR_DenoiseWithCreasesSettings_AssignFromAnother().

◆ gamma()

float meshlib.DenoiseWithCreasesSettings.gamma ( )

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

Calls MR_DenoiseWithCreasesSettings_Get_gamma().

◆ guideWeight()

float meshlib.DenoiseWithCreasesSettings.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::DenoiseWithCreasesSettings named guideWeight. The reference to this object might be preserved as the return value.

Calls MR_DenoiseWithCreasesSettings_Get_guideWeight().

◆ pointIters()

int meshlib.DenoiseWithCreasesSettings.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::DenoiseWithCreasesSettings named pointIters. The reference to this object might be preserved as the return value.

Calls MR_DenoiseWithCreasesSettings_Get_pointIters().

◆ region()

java.lang.foreign.MemorySegment meshlib.DenoiseWithCreasesSettings.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::DenoiseWithCreasesSettings named region. The reference to this object might be preserved as the return value.

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

◆ setGamma()

void meshlib.DenoiseWithCreasesSettings.setGamma ( float value)

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

Calls MR_DenoiseWithCreasesSettings_Set_gamma().

◆ setGuideWeight()

void meshlib.DenoiseWithCreasesSettings.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::DenoiseWithCreasesSettings named guideWeight.

Calls MR_DenoiseWithCreasesSettings_Set_guideWeight().

◆ setPointIters()

void meshlib.DenoiseWithCreasesSettings.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::DenoiseWithCreasesSettings named pointIters.

Calls MR_DenoiseWithCreasesSettings_Set_pointIters().

◆ setRegion()

void meshlib.DenoiseWithCreasesSettings.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::DenoiseWithCreasesSettings named region. The reference to the parameter value might be preserved in this object in element region.

Calls MR_DenoiseWithCreasesSettings_Set_region().


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