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

Public Member Functions

 ContoursDistanceMapOptions (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ContoursDistanceMapOptions ()
 ContoursDistanceMapOptions (meshlib.ContoursDistanceMapOptions_SignedDetectionMethod signMethod, meshlib.ContoursDistanceMapOffset offsetParameters, meshlib.PixelBitSet region, meshlib.std_vector_MR_UndirectedEdgeId outClosestEdges, float minDist, float maxDist)
 ContoursDistanceMapOptions (meshlib.ContoursDistanceMapOptions _other)
meshlib.ContoursDistanceMapOptions assignFromAnother (meshlib.ContoursDistanceMapOptions _other)
meshlib.ContoursDistanceMapOptions_SignedDetectionMethod signMethod ()
void setSignMethod (meshlib.ContoursDistanceMapOptions_SignedDetectionMethod value)
java.lang.foreign.MemorySegment offsetParameters ()
void setOffsetParameters (meshlib.ContoursDistanceMapOffset value)
java.lang.foreign.MemorySegment region ()
void setRegion (meshlib.PixelBitSet value)
java.lang.foreign.MemorySegment outClosestEdges ()
void setOutClosestEdges (meshlib.std_vector_MR_UndirectedEdgeId value)
float minDist ()
void setMinDist (float value)
float maxDist ()
void setMaxDist (float 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::ContoursDistanceMapOptions.

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

Constructor & Destructor Documentation

◆ ContoursDistanceMapOptions() [1/4]

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

◆ ContoursDistanceMapOptions() [2/4]

meshlib.ContoursDistanceMapOptions.ContoursDistanceMapOptions ( )

Constructs an empty (default-constructed) instance.

Calls MR_ContoursDistanceMapOptions_DefaultConstruct().

◆ ContoursDistanceMapOptions() [3/4]

meshlib.ContoursDistanceMapOptions.ContoursDistanceMapOptions ( meshlib.ContoursDistanceMapOptions_SignedDetectionMethod signMethod,
meshlib.ContoursDistanceMapOffset offsetParameters,
meshlib.PixelBitSet region,
meshlib.std_vector_MR_UndirectedEdgeId outClosestEdges,
float minDist,
float maxDist )

Constructs MR::ContoursDistanceMapOptions elementwise. The reference to the parameter signMethod might be preserved in the constructed object. The reference to the parameter offsetParameters might be preserved in the constructed object. The reference to the parameter region might be preserved in the constructed object. The reference to the parameter outClosestEdges might be preserved in the constructed object.

Calls MR_ContoursDistanceMapOptions_ConstructFrom().

◆ ContoursDistanceMapOptions() [4/4]

meshlib.ContoursDistanceMapOptions.ContoursDistanceMapOptions ( meshlib.ContoursDistanceMapOptions _other)

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

Calls MR_ContoursDistanceMapOptions_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.ContoursDistanceMapOptions meshlib.ContoursDistanceMapOptions.assignFromAnother ( meshlib.ContoursDistanceMapOptions _other)

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

Calls MR_ContoursDistanceMapOptions_AssignFromAnother().

◆ maxDist()

float meshlib.ContoursDistanceMapOptions.maxDist ( )

maximum value (or absolute value if offsetParameters == nullptr) in a pixel of distance map (larger values cannot be present) Returns a pointer to a member variable of class MR::ContoursDistanceMapOptions named maxDist. The reference to this object might be preserved as the return value.

Calls MR_ContoursDistanceMapOptions_Get_maxDist().

◆ minDist()

float meshlib.ContoursDistanceMapOptions.minDist ( )

minimum value (or absolute value if offsetParameters == nullptr) in a pixel of distance map (lower values can be present but they are not precise) Returns a pointer to a member variable of class MR::ContoursDistanceMapOptions named minDist. The reference to this object might be preserved as the return value.

Calls MR_ContoursDistanceMapOptions_Get_minDist().

◆ offsetParameters()

java.lang.foreign.MemorySegment meshlib.ContoursDistanceMapOptions.offsetParameters ( )

optional input offset for each edges of polyline, find more on ContoursDistanceMapOffset structure description Returns a pointer to a member variable of class MR::ContoursDistanceMapOptions named offsetParameters. The reference to this object might be preserved as the return value.

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

◆ outClosestEdges()

java.lang.foreign.MemorySegment meshlib.ContoursDistanceMapOptions.outClosestEdges ( )

optional output vector of closest polyline edge per each pixel of distance map Returns a pointer to a member variable of class MR::ContoursDistanceMapOptions named outClosestEdges. The reference to this object might be preserved as the return value.

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

◆ region()

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

if pointer is valid, then only these pixels will be filled Returns a pointer to a member variable of class MR::ContoursDistanceMapOptions named region. The reference to this object might be preserved as the return value.

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

◆ setMaxDist()

void meshlib.ContoursDistanceMapOptions.setMaxDist ( float value)

maximum value (or absolute value if offsetParameters == nullptr) in a pixel of distance map (larger values cannot be present) Modifies a member variable of class MR::ContoursDistanceMapOptions named maxDist.

Calls MR_ContoursDistanceMapOptions_Set_maxDist().

◆ setMinDist()

void meshlib.ContoursDistanceMapOptions.setMinDist ( float value)

minimum value (or absolute value if offsetParameters == nullptr) in a pixel of distance map (lower values can be present but they are not precise) Modifies a member variable of class MR::ContoursDistanceMapOptions named minDist.

Calls MR_ContoursDistanceMapOptions_Set_minDist().

◆ setOffsetParameters()

void meshlib.ContoursDistanceMapOptions.setOffsetParameters ( meshlib.ContoursDistanceMapOffset value)

optional input offset for each edges of polyline, find more on ContoursDistanceMapOffset structure description Modifies a member variable of class MR::ContoursDistanceMapOptions named offsetParameters. The reference to the parameter value might be preserved in this object in element offsetParameters.

Calls MR_ContoursDistanceMapOptions_Set_offsetParameters().

◆ setOutClosestEdges()

void meshlib.ContoursDistanceMapOptions.setOutClosestEdges ( meshlib.std_vector_MR_UndirectedEdgeId value)

optional output vector of closest polyline edge per each pixel of distance map Modifies a member variable of class MR::ContoursDistanceMapOptions named outClosestEdges. The reference to the parameter value might be preserved in this object in element outClosestEdges.

Calls MR_ContoursDistanceMapOptions_Set_outClosestEdges().

◆ setRegion()

void meshlib.ContoursDistanceMapOptions.setRegion ( meshlib.PixelBitSet value)

if pointer is valid, then only these pixels will be filled Modifies a member variable of class MR::ContoursDistanceMapOptions named region. The reference to the parameter value might be preserved in this object in element region.

Calls MR_ContoursDistanceMapOptions_Set_region().

◆ setSignMethod()

void meshlib.ContoursDistanceMapOptions.setSignMethod ( meshlib.ContoursDistanceMapOptions_SignedDetectionMethod value)

Modifies a member variable of class MR::ContoursDistanceMapOptions named signMethod. The reference to the parameter value might be preserved in this object in element signMethod.

Calls MR_ContoursDistanceMapOptions_Set_signMethod().

◆ signMethod()

meshlib.ContoursDistanceMapOptions_SignedDetectionMethod meshlib.ContoursDistanceMapOptions.signMethod ( )

Returns a pointer to a member variable of class MR::ContoursDistanceMapOptions named signMethod. The reference to this object might be preserved as the return value.

Calls MR_ContoursDistanceMapOptions_Get_signMethod().


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