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

Public Member Functions

 TetrisDensifyOptions (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 TetrisDensifyOptions ()
 TetrisDensifyOptions (float voxelSize, meshlib.std_vector_MR_OutEdge densificationSequence, meshlib.std_function_bool_from_float cb, meshlib.Vector_MR_ObjId_MR_VoxelId nestVoxelsCache, meshlib.Vector3i nestDimensionsCache, meshlib.VoxelBitSet occupiedVoxelsCache)
 TetrisDensifyOptions (meshlib.nesting.TetrisDensifyOptions _other)
meshlib.nesting.TetrisDensifyOptions assignFromAnother (meshlib.nesting.TetrisDensifyOptions _other)
float voxelSize ()
void setVoxelSize (float value)
meshlib.std_vector_MR_OutEdge densificationSequence ()
void setDensificationSequence (meshlib.std_vector_MR_OutEdge value)
meshlib.std_function_bool_from_float cb ()
void setCb (meshlib.std_function_bool_from_float value)
java.lang.foreign.MemorySegment nestVoxelsCache ()
void setNestVoxelsCache (meshlib.Vector_MR_ObjId_MR_VoxelId value)
java.lang.foreign.MemorySegment nestDimensionsCache ()
void setNestDimensionsCache (meshlib.Vector3i value)
java.lang.foreign.MemorySegment occupiedVoxelsCache ()
void setOccupiedVoxelsCache (meshlib.VoxelBitSet 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::Nesting::TetrisDensifyOptions.

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

Constructor & Destructor Documentation

◆ TetrisDensifyOptions() [1/4]

meshlib.nesting.TetrisDensifyOptions.TetrisDensifyOptions ( 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.

◆ TetrisDensifyOptions() [2/4]

meshlib.nesting.TetrisDensifyOptions.TetrisDensifyOptions ( )

Constructs an empty (default-constructed) instance.

Calls MR_Nesting_TetrisDensifyOptions_DefaultConstruct().

◆ TetrisDensifyOptions() [3/4]

meshlib.nesting.TetrisDensifyOptions.TetrisDensifyOptions ( float voxelSize,
meshlib.std_vector_MR_OutEdge densificationSequence,
meshlib.std_function_bool_from_float cb,
meshlib.Vector_MR_ObjId_MR_VoxelId nestVoxelsCache,
meshlib.Vector3i nestDimensionsCache,
meshlib.VoxelBitSet occupiedVoxelsCache )

Constructs MR::Nesting::TetrisDensifyOptions elementwise. The reference to the parameter densificationSequence might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object. The reference to the parameter nestVoxelsCache might be preserved in the constructed object. The reference to the parameter nestDimensionsCache might be preserved in the constructed object. The reference to the parameter occupiedVoxelsCache might be preserved in the constructed object.

Calls MR_Nesting_TetrisDensifyOptions_ConstructFrom().

◆ TetrisDensifyOptions() [4/4]

meshlib.nesting.TetrisDensifyOptions.TetrisDensifyOptions ( meshlib.nesting.TetrisDensifyOptions _other)

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

Calls MR_Nesting_TetrisDensifyOptions_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.nesting.TetrisDensifyOptions meshlib.nesting.TetrisDensifyOptions.assignFromAnother ( meshlib.nesting.TetrisDensifyOptions _other)

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

Calls MR_Nesting_TetrisDensifyOptions_AssignFromAnother().

◆ cb()

meshlib.std_function_bool_from_float meshlib.nesting.TetrisDensifyOptions.cb ( )

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

Calls MR_Nesting_TetrisDensifyOptions_Get_cb().

◆ densificationSequence()

meshlib.std_vector_MR_OutEdge meshlib.nesting.TetrisDensifyOptions.densificationSequence ( )

tetris box will be densify in these directions one by one Returns a pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named densificationSequence. The reference to this object might be preserved as the return value.

Calls MR_Nesting_TetrisDensifyOptions_Get_densificationSequence().

◆ nestDimensionsCache()

java.lang.foreign.MemorySegment meshlib.nesting.TetrisDensifyOptions.nestDimensionsCache ( )

< [in/out] dimensions of the nest (complimentary to voxels data) Returns a pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named nestDimensionsCache. The reference to this object might be preserved as the return value.

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

◆ nestVoxelsCache()

java.lang.foreign.MemorySegment meshlib.nesting.TetrisDensifyOptions.nestVoxelsCache ( )

< [in/out] pre-allocated voxels vector (to speedup allocation) Returns a pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named nestVoxelsCache. The reference to this object might be preserved as the return value.

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

◆ occupiedVoxelsCache()

java.lang.foreign.MemorySegment meshlib.nesting.TetrisDensifyOptions.occupiedVoxelsCache ( )

< [in/out] voxels that blocks movement of floating (input) meshes (to provide input and output occupancy status) Returns a pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named occupiedVoxelsCache. The reference to this object might be preserved as the return value.

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

◆ setCb()

void meshlib.nesting.TetrisDensifyOptions.setCb ( meshlib.std_function_bool_from_float value)

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

Calls MR_Nesting_TetrisDensifyOptions_Set_cb().

◆ setDensificationSequence()

void meshlib.nesting.TetrisDensifyOptions.setDensificationSequence ( meshlib.std_vector_MR_OutEdge value)

tetris box will be densify in these directions one by one Modifies a member variable of class MR::Nesting::TetrisDensifyOptions named densificationSequence. The reference to the parameter value might be preserved in this object in element densificationSequence.

Calls MR_Nesting_TetrisDensifyOptions_Set_densificationSequence().

◆ setNestDimensionsCache()

void meshlib.nesting.TetrisDensifyOptions.setNestDimensionsCache ( meshlib.Vector3i value)

< [in/out] dimensions of the nest (complimentary to voxels data) Modifies a member variable of class MR::Nesting::TetrisDensifyOptions named nestDimensionsCache. The reference to the parameter value might be preserved in this object in element nestDimensionsCache.

Calls MR_Nesting_TetrisDensifyOptions_Set_nestDimensionsCache().

◆ setNestVoxelsCache()

void meshlib.nesting.TetrisDensifyOptions.setNestVoxelsCache ( meshlib.Vector_MR_ObjId_MR_VoxelId value)

< [in/out] pre-allocated voxels vector (to speedup allocation) Modifies a member variable of class MR::Nesting::TetrisDensifyOptions named nestVoxelsCache. The reference to the parameter value might be preserved in this object in element nestVoxelsCache.

Calls MR_Nesting_TetrisDensifyOptions_Set_nestVoxelsCache().

◆ setOccupiedVoxelsCache()

void meshlib.nesting.TetrisDensifyOptions.setOccupiedVoxelsCache ( meshlib.VoxelBitSet value)

< [in/out] voxels that blocks movement of floating (input) meshes (to provide input and output occupancy status) Modifies a member variable of class MR::Nesting::TetrisDensifyOptions named occupiedVoxelsCache. The reference to the parameter value might be preserved in this object in element occupiedVoxelsCache.

Calls MR_Nesting_TetrisDensifyOptions_Set_occupiedVoxelsCache().

◆ setVoxelSize()

void meshlib.nesting.TetrisDensifyOptions.setVoxelSize ( float value)

size of block for tetris box Modifies a member variable of class MR::Nesting::TetrisDensifyOptions named voxelSize.

Calls MR_Nesting_TetrisDensifyOptions_Set_voxelSize().

◆ voxelSize()

float meshlib.nesting.TetrisDensifyOptions.voxelSize ( )

size of block for tetris box Returns a pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named voxelSize. The reference to this object might be preserved as the return value.

Calls MR_Nesting_TetrisDensifyOptions_Get_voxelSize().


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