MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::PointCloudPart Struct Reference
Inheritance diagram for meshlib::PointCloudPart:

Public Member Functions

auto assign_from_another (other:&meshlib::PointCloudPart) -> &mut meshlib::PointCloudPart
auto cloud () const -> &meshlib::PointCloud
auto region () const -> *const *const meshlib::ffi::MR_VertBitSet
auto region_mut () -> *mut *const meshlib::ffi::MR_VertBitSet
void set_region (value:Option<&meshlib::VertBitSet >)

Static Public Member Functions

static auto construct_from_another (other:&meshlib::PointCloudPart) -> meshlib::Owned< meshlib::PointCloudPart >
static auto construct (c:&meshlib::PointCloud, bs:Option<&meshlib::VertBitSet >) -> meshlib::Owned< meshlib::PointCloudPart >
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

Detailed Description

represents full point cloud (if region is nullptr) or some portion of point cloud (if region pointer is valid) Generated from class MR::PointCloudPart.

Generated from class MR::PointCloudPart. Heap-allocated instances are held in Owned<PointCloudPart>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::PointCloudPart::assign_from_another ( other:&meshlib::PointCloudPart ) -> &mut meshlib::PointCloudPart

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

Calls MR_PointCloudPart_AssignFromAnother(). The reference to things referred to by the parameter other (if any) might be preserved in this object. The reference to this object might be preserved in the return value.

◆ cloud()

auto meshlib::PointCloudPart::cloud ( ) const -> &meshlib::PointCloud

Returns a pointer to a member variable of class MR::PointCloudPart named cloud.

Calls MR_PointCloudPart_Get_cloud(). The reference to this object might be preserved as the return value.

◆ construct()

auto meshlib::PointCloudPart::construct ( c:&meshlib::PointCloud ,
bs:Option<&meshlib::VertBitSet >  ) -> meshlib::Owned< meshlib::PointCloudPart >
static

Generated from constructor MR::PointCloudPart::PointCloudPart.

Calls MR_PointCloudPart_Construct(). The reference to the parameter c might be preserved in the constructed object. The reference to the parameter bs might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::PointCloudPart::construct_from_another ( other:&meshlib::PointCloudPart ) -> meshlib::Owned< meshlib::PointCloudPart >
static

Make this assignable. A better idea would be to rewrite the class to not use references, but doing this instead preserves API compatibility. Generated from constructor MR::PointCloudPart::PointCloudPart.

Calls MR_PointCloudPart_ConstructFromAnother(). The reference to things referred to by the parameter other (if any) might be preserved in the constructed object.

◆ region()

auto meshlib::PointCloudPart::region ( ) const -> *const *const meshlib::ffi::MR_VertBitSet

nullptr here means all valid points of point cloud Returns a pointer to a member variable of class MR::PointCloudPart named region.

Calls MR_PointCloudPart_Get_region(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ region_mut()

auto meshlib::PointCloudPart::region_mut ( ) -> *mut *const meshlib::ffi::MR_VertBitSet

nullptr here means all valid points of point cloud Returns a mutable pointer to a member variable of class MR::PointCloudPart named region.

Calls MR_PointCloudPart_GetMutable_region(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ set_region()

void meshlib::PointCloudPart::set_region ( value:Option<&meshlib::VertBitSet > )

nullptr here means all valid points of point cloud Modifies a member variable of class MR::PointCloudPart named region.

Calls MR_PointCloudPart_Set_region(). The reference to the parameter value might be preserved in this object in element region.


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