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

Public Member Functions

 ChunkIterator (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ChunkIterator ()
 ChunkIterator (long totalSize, long chunkSize, long overlap, long index)
 ChunkIterator (meshlib.ChunkIterator _other)
meshlib.ChunkIterator assignFromAnother (meshlib.ChunkIterator _other)
boolean opEqual (meshlib.ChunkIterator other)
boolean opNotEqual (meshlib.ChunkIterator other)
meshlib.ChunkIterator opIncr ()
meshlib.ChunkIterator opPostIncr ()
meshlib.Chunk opMul ()
meshlib.Chunk arrow ()
long totalSize ()
void setTotalSize (long value)
long chunkSize ()
void setChunkSize (long value)
long overlap ()
void setOverlap (long value)
long index ()
void setIndex (long 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

iterator class for array chunks Generated from class MR::ChunkIterator.

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

Constructor & Destructor Documentation

◆ ChunkIterator() [1/4]

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

◆ ChunkIterator() [2/4]

meshlib.ChunkIterator.ChunkIterator ( )

Constructs an empty (default-constructed) instance.

Calls MR_ChunkIterator_DefaultConstruct().

◆ ChunkIterator() [3/4]

meshlib.ChunkIterator.ChunkIterator ( long totalSize,
long chunkSize,
long overlap,
long index )

Constructs MR::ChunkIterator elementwise. The reference to the parameter totalSize might be preserved in the constructed object. The reference to the parameter chunkSize might be preserved in the constructed object. The reference to the parameter overlap might be preserved in the constructed object. The reference to the parameter index might be preserved in the constructed object.

Calls MR_ChunkIterator_ConstructFrom().

◆ ChunkIterator() [4/4]

meshlib.ChunkIterator.ChunkIterator ( meshlib.ChunkIterator _other)

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

Calls MR_ChunkIterator_ConstructFromAnother().

Member Function Documentation

◆ arrow()

meshlib.Chunk meshlib.ChunkIterator.arrow ( )

Generated from method MR::ChunkIterator::operator->.

Calls MR_ChunkIterator_arrow().

◆ assignFromAnother()

meshlib.ChunkIterator meshlib.ChunkIterator.assignFromAnother ( meshlib.ChunkIterator _other)

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

Calls MR_ChunkIterator_AssignFromAnother().

◆ chunkSize()

long meshlib.ChunkIterator.chunkSize ( )

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

Calls MR_ChunkIterator_Get_chunkSize().

◆ index()

long meshlib.ChunkIterator.index ( )

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

Calls MR_ChunkIterator_Get_index().

◆ opEqual()

boolean meshlib.ChunkIterator.opEqual ( meshlib.ChunkIterator other)

Generated from method MR::ChunkIterator::operator==.

Calls MR_equal_MR_ChunkIterator().

◆ opIncr()

meshlib.ChunkIterator meshlib.ChunkIterator.opIncr ( )

Generated from method MR::ChunkIterator::operator++.

Calls MR_incr_MR_ChunkIterator().

◆ opMul()

meshlib.Chunk meshlib.ChunkIterator.opMul ( )

Generated from method MR::ChunkIterator::operator*. The reference to this object might be preserved in the return value.

Calls MR_deref_MR_ChunkIterator().

◆ opNotEqual()

boolean meshlib.ChunkIterator.opNotEqual ( meshlib.ChunkIterator other)

Generated from method MR::ChunkIterator::operator!=.

Calls MR_not_equal_MR_ChunkIterator().

◆ opPostIncr()

meshlib.ChunkIterator meshlib.ChunkIterator.opPostIncr ( )

Generated from method MR::ChunkIterator::operator++.

Calls MR_post_incr_MR_ChunkIterator().

◆ overlap()

long meshlib.ChunkIterator.overlap ( )

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

Calls MR_ChunkIterator_Get_overlap().

◆ setChunkSize()

void meshlib.ChunkIterator.setChunkSize ( long value)

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

Calls MR_ChunkIterator_Set_chunkSize().

◆ setIndex()

void meshlib.ChunkIterator.setIndex ( long value)

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

Calls MR_ChunkIterator_Set_index().

◆ setOverlap()

void meshlib.ChunkIterator.setOverlap ( long value)

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

Calls MR_ChunkIterator_Set_overlap().

◆ setTotalSize()

void meshlib.ChunkIterator.setTotalSize ( long value)

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

Calls MR_ChunkIterator_Set_totalSize().

◆ totalSize()

long meshlib.ChunkIterator.totalSize ( )

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

Calls MR_ChunkIterator_Get_totalSize().


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