Public Member Functions | |
| PointsProjector (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| PointsProjector () | |
| PointsProjector (meshlib.cuda.PointsProjector _other) | |
| meshlib.cuda.PointsProjector | assignFromAnother (meshlib.cuda.PointsProjector _other) |
| void | setPointCloud (meshlib.PointCloud pointCloud) |
| void | findProjections (meshlib.std_vector_MR_PointsProjectionResult results, meshlib.VertCoords points, meshlib.FindProjectionOnPointsSettings settings) |
| long | projectionsHeapBytes (long numProjections) |
| meshlib.IPointsProjector | upcastToIPointsProjector () |
| 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.PointsProjector | staticDowncastFromIPointsProjector (meshlib.IPointsProjector object) |
| static meshlib.cuda.PointsProjector | dynamicDowncastFromIPointsProjector (meshlib.IPointsProjector 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) | |
CUDA-backed implementation of IPointsProjector Generated from class MR::Cuda::PointsProjector. Base classes: Direct: (non-virtual) MR::IPointsProjector
Instances created here own their C++ objects, see CppObject.
| meshlib.cuda.PointsProjector.PointsProjector | ( | 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.cuda.PointsProjector.PointsProjector | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Cuda_PointsProjector_DefaultConstruct().
| meshlib.cuda.PointsProjector.PointsProjector | ( | meshlib.cuda.PointsProjector | _other | ) |
Generated from constructor MR::Cuda::PointsProjector::PointsProjector. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Cuda_PointsProjector_ConstructFromAnother().
| meshlib.cuda.PointsProjector meshlib.cuda.PointsProjector.assignFromAnother | ( | meshlib.cuda.PointsProjector | _other | ) |
Generated from method MR::Cuda::PointsProjector::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Cuda_PointsProjector_AssignFromAnother().
|
static |
Dynamic downcast from the base class MR::IPointsProjector. Returns null if the object isn't actually a PointsProjector. The result refers to object.
Calls MR_Cuda_PointsProjector_MutableDynamicDowncastFrom_MR_IPointsProjector().
| void meshlib.cuda.PointsProjector.findProjections | ( | meshlib.std_vector_MR_PointsProjectionResult | results, |
| meshlib.VertCoords | points, | ||
| meshlib.FindProjectionOnPointsSettings | settings ) |
computes the closest points on point cloud to given points Generated from method MR::Cuda::PointsProjector::findProjections.
Calls MR_Cuda_PointsProjector_findProjections(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
| long meshlib.cuda.PointsProjector.projectionsHeapBytes | ( | long | numProjections | ) |
Returns amount of additional memory needed to compute projections Generated from method MR::Cuda::PointsProjector::projectionsHeapBytes.
Calls MR_Cuda_PointsProjector_projectionsHeapBytes().
| void meshlib.cuda.PointsProjector.setPointCloud | ( | meshlib.PointCloud | pointCloud | ) |
sets the reference point cloud Generated from method MR::Cuda::PointsProjector::setPointCloud.
Calls MR_Cuda_PointsProjector_setPointCloud(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
Static downcast from the base class MR::IPointsProjector. Undefined behavior if the object isn't actually a PointsProjector. The result refers to object.
Calls MR_Cuda_PointsProjector_MutableStaticDowncastFrom_MR_IPointsProjector().
| meshlib.IPointsProjector meshlib.cuda.PointsProjector.upcastToIPointsProjector | ( | ) |
Upcasts to the base class MR::IPointsProjector. The result refers to this object.
Calls MR_Cuda_PointsProjector_MutableUpcastTo_MR_IPointsProjector().