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

Public Member Functions

 FastWindingNumber (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 FastWindingNumber (meshlib.cuda.FastWindingNumber _other)
 FastWindingNumber (meshlib.Mesh mesh)
void calcFromVector (meshlib.std_vector_float res, meshlib.std_vector_MR_Vector3f points, float beta, meshlib.FaceId skipFace, meshlib.std_function_bool_from_float cb)
void calcSelfIntersections (meshlib.FaceBitSet res, float beta, meshlib.std_function_bool_from_float cb)
void calcFromGrid (meshlib.std_vector_float res, meshlib.Vector3i dims, meshlib.AffineXf3f gridToMeshXf, float beta, meshlib.std_function_bool_from_float cb)
void calcFromGridWithDistances (meshlib.VoxelScalars res, meshlib.Vector3i dims, meshlib.AffineXf3f gridToMeshXf, meshlib.DistanceToMeshOptions options, meshlib.std_function_bool_from_float cb)
void calcFromGridByParts (meshlib.std_function_expected_void_std_string_from_MR_VoxelScalars_rvalue_ref_const_MR_Vector3i_ref_int resFunc, meshlib.Vector3i dims, meshlib.AffineXf3f gridToMeshXf, float beta, int layerOverlap, meshlib.std_function_bool_from_float cb)
void calcFromGridWithDistancesByParts (meshlib.std_function_expected_void_std_string_from_MR_VoxelScalars_rvalue_ref_const_MR_Vector3i_ref_int resFunc, meshlib.Vector3i dims, meshlib.AffineXf3f gridToMeshXf, meshlib.DistanceToMeshOptions options, int layerOverlap, meshlib.std_function_bool_from_float cb)
meshlib.IFastWindingNumber upcastToIFastWindingNumber ()
meshlib.IFastWindingNumberByParts upcastToIFastWindingNumberByParts ()
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 ()

Static Public Member Functions

static meshlib.cuda.FastWindingNumber staticDowncastFromIFastWindingNumber (meshlib.IFastWindingNumber object)
static meshlib.cuda.FastWindingNumber dynamicDowncastFromIFastWindingNumber (meshlib.IFastWindingNumber object)
static meshlib.cuda.FastWindingNumber staticDowncastFromIFastWindingNumberByParts (meshlib.IFastWindingNumberByParts object)
static meshlib.cuda.FastWindingNumber dynamicDowncastFromIFastWindingNumberByParts (meshlib.IFastWindingNumberByParts object)

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

the class for fast approximate computation of winding number for a mesh (using its AABB tree) Generated from class MR::Cuda::FastWindingNumber. Base classes: Direct: (non-virtual) MR::IFastWindingNumber MR::IFastWindingNumberByParts

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

Constructor & Destructor Documentation

◆ FastWindingNumber() [1/3]

meshlib.cuda.FastWindingNumber.FastWindingNumber ( 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.

◆ FastWindingNumber() [2/3]

meshlib.cuda.FastWindingNumber.FastWindingNumber ( meshlib.cuda.FastWindingNumber _other)

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

Calls MR_Cuda_FastWindingNumber_ConstructFromAnother().

◆ FastWindingNumber() [3/3]

meshlib.cuda.FastWindingNumber.FastWindingNumber ( meshlib.Mesh mesh)

constructs this from AABB tree of given mesh; Generated from constructor MR::Cuda::FastWindingNumber::FastWindingNumber. The reference to the parameter mesh might be preserved in the constructed object.

Calls MR_Cuda_FastWindingNumber_Construct().

Member Function Documentation

◆ calcFromGrid()

void meshlib.cuda.FastWindingNumber.calcFromGrid ( meshlib.std_vector_float res,
meshlib.Vector3i dims,
meshlib.AffineXf3f gridToMeshXf,
float beta,
meshlib.std_function_bool_from_float cb )

Generated from method MR::Cuda::FastWindingNumber::calcFromGrid.

Calls MR_Cuda_FastWindingNumber_calcFromGrid(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ calcFromGridByParts()

void meshlib.cuda.FastWindingNumber.calcFromGridByParts ( meshlib.std_function_expected_void_std_string_from_MR_VoxelScalars_rvalue_ref_const_MR_Vector3i_ref_int resFunc,
meshlib.Vector3i dims,
meshlib.AffineXf3f gridToMeshXf,
float beta,
int layerOverlap,
meshlib.std_function_bool_from_float cb )

see methods' descriptions in IFastWindingNumberByParts Generated from method MR::Cuda::FastWindingNumber::calcFromGridByParts.

Calls MR_Cuda_FastWindingNumber_calcFromGridByParts(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ calcFromGridWithDistances()

void meshlib.cuda.FastWindingNumber.calcFromGridWithDistances ( meshlib.VoxelScalars res,
meshlib.Vector3i dims,
meshlib.AffineXf3f gridToMeshXf,
meshlib.DistanceToMeshOptions options,
meshlib.std_function_bool_from_float cb )

Generated from method MR::Cuda::FastWindingNumber::calcFromGridWithDistances.

Calls MR_Cuda_FastWindingNumber_calcFromGridWithDistances(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ calcFromGridWithDistancesByParts()

void meshlib.cuda.FastWindingNumber.calcFromGridWithDistancesByParts ( meshlib.std_function_expected_void_std_string_from_MR_VoxelScalars_rvalue_ref_const_MR_Vector3i_ref_int resFunc,
meshlib.Vector3i dims,
meshlib.AffineXf3f gridToMeshXf,
meshlib.DistanceToMeshOptions options,
int layerOverlap,
meshlib.std_function_bool_from_float cb )

Generated from method MR::Cuda::FastWindingNumber::calcFromGridWithDistancesByParts.

Calls MR_Cuda_FastWindingNumber_calcFromGridWithDistancesByParts(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ calcFromVector()

void meshlib.cuda.FastWindingNumber.calcFromVector ( meshlib.std_vector_float res,
meshlib.std_vector_MR_Vector3f points,
float beta,
meshlib.FaceId skipFace,
meshlib.std_function_bool_from_float cb )

see methods' descriptions in IFastWindingNumber Generated from method MR::Cuda::FastWindingNumber::calcFromVector.

Calls MR_Cuda_FastWindingNumber_calcFromVector(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ calcSelfIntersections()

void meshlib.cuda.FastWindingNumber.calcSelfIntersections ( meshlib.FaceBitSet res,
float beta,
meshlib.std_function_bool_from_float cb )

Generated from method MR::Cuda::FastWindingNumber::calcSelfIntersections.

Calls MR_Cuda_FastWindingNumber_calcSelfIntersections(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ dynamicDowncastFromIFastWindingNumber()

meshlib.cuda.FastWindingNumber meshlib.cuda.FastWindingNumber.dynamicDowncastFromIFastWindingNumber ( meshlib.IFastWindingNumber object)
static

Dynamic downcast from the base class MR::IFastWindingNumber. Returns null if the object isn't actually a FastWindingNumber. The result refers to object.

Calls MR_Cuda_FastWindingNumber_MutableDynamicDowncastFrom_MR_IFastWindingNumber().

◆ dynamicDowncastFromIFastWindingNumberByParts()

meshlib.cuda.FastWindingNumber meshlib.cuda.FastWindingNumber.dynamicDowncastFromIFastWindingNumberByParts ( meshlib.IFastWindingNumberByParts object)
static

Dynamic downcast from the base class MR::IFastWindingNumberByParts. Returns null if the object isn't actually a FastWindingNumber. The result refers to object.

Calls MR_Cuda_FastWindingNumber_MutableDynamicDowncastFrom_MR_IFastWindingNumberByParts().

◆ staticDowncastFromIFastWindingNumber()

meshlib.cuda.FastWindingNumber meshlib.cuda.FastWindingNumber.staticDowncastFromIFastWindingNumber ( meshlib.IFastWindingNumber object)
static

Static downcast from the base class MR::IFastWindingNumber. Undefined behavior if the object isn't actually a FastWindingNumber. The result refers to object.

Calls MR_Cuda_FastWindingNumber_MutableStaticDowncastFrom_MR_IFastWindingNumber().

◆ staticDowncastFromIFastWindingNumberByParts()

meshlib.cuda.FastWindingNumber meshlib.cuda.FastWindingNumber.staticDowncastFromIFastWindingNumberByParts ( meshlib.IFastWindingNumberByParts object)
static

Static downcast from the base class MR::IFastWindingNumberByParts. Undefined behavior if the object isn't actually a FastWindingNumber. The result refers to object.

Calls MR_Cuda_FastWindingNumber_MutableStaticDowncastFrom_MR_IFastWindingNumberByParts().

◆ upcastToIFastWindingNumber()

meshlib.IFastWindingNumber meshlib.cuda.FastWindingNumber.upcastToIFastWindingNumber ( )

Upcasts to the base class MR::IFastWindingNumber. The result refers to this object.

Calls MR_Cuda_FastWindingNumber_MutableUpcastTo_MR_IFastWindingNumber().

◆ upcastToIFastWindingNumberByParts()

meshlib.IFastWindingNumberByParts meshlib.cuda.FastWindingNumber.upcastToIFastWindingNumberByParts ( )

Upcasts to the base class MR::IFastWindingNumberByParts. The result refers to this object.

Calls MR_Cuda_FastWindingNumber_MutableUpcastTo_MR_IFastWindingNumberByParts().


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