Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::PointsProjector) -> &mut meshlib::PointsProjector |
| auto | set_point_cloud (pointCloud:&meshlib::PointCloud) -> meshlib::Owned< meshlib::expected_void_std_string > |
| auto | find_projections (results:&mut meshlib::std_vector_MR_PointsProjectionResult, points:&meshlib::VertCoords, settings:&meshlib::FindProjectionOnPointsSettings) const -> meshlib::Owned< meshlib::expected_void_std_string > |
| auto | projections_heap_bytes (numProjections:usize) const -> usize |
| auto | upcast_to_i_points_projector () const -> &meshlib::IPointsProjector |
| auto | upcast_to_i_points_projector_mut () -> &mut meshlib::IPointsProjector |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::PointsProjector > |
| static auto | construct_from_another (_other:&meshlib::PointsProjector) -> meshlib::Owned< meshlib::PointsProjector > |
| static auto | static_downcast_from_i_points_projector (object:&meshlib::IPointsProjector) -> &Self |
| static auto | static_downcast_from_i_points_projector_mut (object:&mut meshlib::IPointsProjector) -> &mut Self |
| static auto | dynamic_downcast_from_i_points_projector (object:&meshlib::IPointsProjector) -> Option<&Self > |
| static auto | dynamic_downcast_from_i_points_projector_mut (object:&mut meshlib::IPointsProjector) -> Option<&mut Self > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
default implementation of IPointsProjector Generated from class MR::PointsProjector. Base classes: Direct: (non-virtual) MR::IPointsProjector
Generated from class MR::PointsProjector. Heap-allocated instances are held in Owned<PointsProjector>.
| auto meshlib::PointsProjector::assign_from_another | ( | _other:&meshlib::PointsProjector | ) | -> &mut meshlib::PointsProjector |
Generated from method MR::PointsProjector::operator=.
Calls MR_PointsProjector_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::PointsProjector::PointsProjector.
Calls MR_PointsProjector_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
Dynamic downcast from the base class MR::IPointsProjector. Returns None if the object isn't actually a PointsProjector.
Calls MR_PointsProjector_DynamicDowncastFrom_MR_IPointsProjector().
|
static |
Dynamic downcast from the base class MR::IPointsProjector. Returns None if the object isn't actually a PointsProjector.
Calls MR_PointsProjector_MutableDynamicDowncastFrom_MR_IPointsProjector().
| auto meshlib::PointsProjector::find_projections | ( | results:&mut meshlib::std_vector_MR_PointsProjectionResult | , |
| points:&meshlib::VertCoords | , | ||
| settings:&meshlib::FindProjectionOnPointsSettings | ) const -> meshlib::Owned< meshlib::expected_void_std_string > |
computes the closest points on point cloud to given points Generated from method MR::PointsProjector::findProjections.
Calls MR_PointsProjector_findProjections().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_PointsProjector_DefaultConstruct().
| auto meshlib::PointsProjector::projections_heap_bytes | ( | numProjections:usize | ) | const -> usize |
Returns amount of memory needed to compute projections Generated from method MR::PointsProjector::projectionsHeapBytes.
Calls MR_PointsProjector_projectionsHeapBytes().
| auto meshlib::PointsProjector::set_point_cloud | ( | pointCloud:&meshlib::PointCloud | ) | -> meshlib::Owned< meshlib::expected_void_std_string > |
sets the reference point cloud Generated from method MR::PointsProjector::setPointCloud.
Calls MR_PointsProjector_setPointCloud().
|
static |
Static downcast from the base class MR::IPointsProjector.
Calls MR_PointsProjector_StaticDowncastFrom_MR_IPointsProjector(). Undefined behavior if the object isn't actually a PointsProjector.
|
static |
Static downcast from the base class MR::IPointsProjector.
Calls MR_PointsProjector_MutableStaticDowncastFrom_MR_IPointsProjector(). Undefined behavior if the object isn't actually a PointsProjector.
| auto meshlib::PointsProjector::upcast_to_i_points_projector | ( | ) | const -> &meshlib::IPointsProjector |
Upcasts to the base class MR::IPointsProjector.
Calls MR_PointsProjector_UpcastTo_MR_IPointsProjector().
| auto meshlib::PointsProjector::upcast_to_i_points_projector_mut | ( | ) | -> &mut meshlib::IPointsProjector |
Upcasts to the base class MR::IPointsProjector.
Calls MR_PointsProjector_MutableUpcastTo_MR_IPointsProjector().