Public Member Functions | |
| MarchingCubesByParts (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| MarchingCubesByParts (meshlib.MarchingCubesByParts s) | |
| MarchingCubesByParts (meshlib.Vector3i dims, meshlib.MarchingCubesParams params, java.lang.Integer layersPerBlock) | |
| meshlib.MarchingCubesByParts | assignFromAnother (meshlib.MarchingCubesByParts s) |
| int | layersPerBlock () |
| int | nextZ () |
| void | addPart (meshlib.SimpleVolume part) |
| meshlib.TriMesh | finalize_2 () |
| 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) | |
converts volume split on parts by planes z=const into mesh, last z-layer of previous part must be repeated as first z-layer of next part usage: MarchingCubesByParts x( dims, params); x.addPart( part1 ); ... x.addPart( partN ); Mesh mesh = Mesh.fromTriMesh( *x.finalize() ); Generated from class MR::MarchingCubesByParts.
Instances created here own their C++ objects, see CppObject.
| meshlib.MarchingCubesByParts.MarchingCubesByParts | ( | 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.
| meshlib.MarchingCubesByParts.MarchingCubesByParts | ( | meshlib.MarchingCubesByParts | s | ) |
Generated from constructor MR::MarchingCubesByParts::MarchingCubesByParts. The reference to things referred to by the parameter s (if any) might be preserved in the constructed object.
Calls MR_MarchingCubesByParts_ConstructFromAnother().
| meshlib.MarchingCubesByParts.MarchingCubesByParts | ( | meshlib.Vector3i | dims, |
| meshlib.MarchingCubesParams | params, | ||
| java.lang.Integer | layersPerBlock ) |
prepares convention for given volume dimensions and given parameters
| layersPerBlock | all z-slices of the volume will be partitioned on blocks of given size to process blocks in parallel (0 means auto-select layersPerBlock) Generated from constructor MR::MarchingCubesByParts::MarchingCubesByParts. The reference to the parameter dims might be preserved in the constructed object. The reference to the parameter params might be preserved in the constructed object. |
Calls MR_MarchingCubesByParts_Construct().
| void meshlib.MarchingCubesByParts.addPart | ( | meshlib.SimpleVolume | part | ) |
adds one more part of volume into consideration, with first z=nextZ() Generated from method MR::MarchingCubesByParts::addPart.
Calls MR_MarchingCubesByParts_addPart(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
| meshlib.MarchingCubesByParts meshlib.MarchingCubesByParts.assignFromAnother | ( | meshlib.MarchingCubesByParts | s | ) |
Generated from method MR::MarchingCubesByParts::operator=. The reference to things referred to by the parameter s (if any) might be preserved in this object. The reference to this object might be preserved in the return value.
Calls MR_MarchingCubesByParts_AssignFromAnother().
| meshlib.TriMesh meshlib.MarchingCubesByParts.finalize_2 | ( | ) |
finishes processing and outputs produced trimesh Generated from method MR::MarchingCubesByParts::finalize.
Calls MR_MarchingCubesByParts_finalize(). The C++ function returns expected<MR::TriMesh, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
| int meshlib.MarchingCubesByParts.layersPerBlock | ( | ) |
the number of z-slices of the volume in the blocks Generated from method MR::MarchingCubesByParts::layersPerBlock.
Calls MR_MarchingCubesByParts_layersPerBlock().
| int meshlib.MarchingCubesByParts.nextZ | ( | ) |
the last z-layer of the previous part and the first z-layer of the next part Generated from method MR::MarchingCubesByParts::nextZ.
Calls MR_MarchingCubesByParts_nextZ().