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

Public Member Functions

auto assign_from_another (_other:&meshlib::ModelPointsData) -> &mut meshlib::ModelPointsData
auto points () const -> *const *const meshlib::ffi::MR_VertCoords
auto points_mut () -> *mut *const meshlib::ffi::MR_VertCoords
void set_points (value:Option<&meshlib::VertCoords >)
auto valid_points () const -> *const *const meshlib::ffi::MR_VertBitSet
auto valid_points_mut () -> *mut *const meshlib::ffi::MR_VertBitSet
void set_valid_points (value:Option<&meshlib::VertBitSet >)
auto xf () const -> *const *const meshlib::AffineXf3f
auto xf_mut () -> *mut *const meshlib::AffineXf3f
void set_xf (value:Option<&meshlib::AffineXf3f >)
auto fake_obj_id () const -> &meshlib::ObjId
auto fake_obj_id_mut () -> &mut meshlib::ObjId
void set_fake_obj_id (value:meshlib::ObjId)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::ModelPointsData >
static auto construct_from (points:Option<&meshlib::VertCoords >, validPoints:Option<&meshlib::VertBitSet >, xf:Option<&meshlib::AffineXf3f >, fakeObjId:meshlib::ObjId) -> meshlib::Owned< meshlib::ModelPointsData >
static auto construct_from_another (_other:&meshlib::ModelPointsData) -> meshlib::Owned< meshlib::ModelPointsData >
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

structure to contain pointers to model data Generated from class MR::ModelPointsData.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::ModelPointsData::assign_from_another ( _other:&meshlib::ModelPointsData ) -> &mut meshlib::ModelPointsData

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

Calls MR_ModelPointsData_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct_from()

auto meshlib::ModelPointsData::construct_from ( points:Option<&meshlib::VertCoords > ,
validPoints:Option<&meshlib::VertBitSet > ,
xf:Option<&meshlib::AffineXf3f > ,
fakeObjId:meshlib::ObjId  ) -> meshlib::Owned< meshlib::ModelPointsData >
static

Constructs MR::ModelPointsData elementwise.

Calls MR_ModelPointsData_ConstructFrom(). The reference to the parameter points might be preserved in the constructed object. The reference to the parameter validPoints might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object. The reference to the parameter fakeObjId might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::ModelPointsData::construct_from_another ( _other:&meshlib::ModelPointsData ) -> meshlib::Owned< meshlib::ModelPointsData >
static

Generated from constructor MR::ModelPointsData::ModelPointsData.

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

◆ fake_obj_id()

auto meshlib::ModelPointsData::fake_obj_id ( ) const -> &meshlib::ObjId

if present this value will override ObjId in result ObjVertId Returns a pointer to a member variable of class MR::ModelPointsData named fakeObjId.

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

◆ fake_obj_id_mut()

auto meshlib::ModelPointsData::fake_obj_id_mut ( ) -> &mut meshlib::ObjId

if present this value will override ObjId in result ObjVertId Returns a mutable pointer to a member variable of class MR::ModelPointsData named fakeObjId.

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

◆ new()

auto meshlib::ModelPointsData::new ( ) -> meshlib::Owned< meshlib::ModelPointsData >
static

Constructs an empty (default-constructed) instance.

Calls MR_ModelPointsData_DefaultConstruct().

◆ points()

auto meshlib::ModelPointsData::points ( ) const -> *const *const meshlib::ffi::MR_VertCoords

all points of model Returns a pointer to a member variable of class MR::ModelPointsData named points.

Calls MR_ModelPointsData_Get_points(). 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.

◆ points_mut()

auto meshlib::ModelPointsData::points_mut ( ) -> *mut *const meshlib::ffi::MR_VertCoords

all points of model Returns a mutable pointer to a member variable of class MR::ModelPointsData named points.

Calls MR_ModelPointsData_GetMutable_points(). 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_fake_obj_id()

void meshlib::ModelPointsData::set_fake_obj_id ( value:meshlib::ObjId )

if present this value will override ObjId in result ObjVertId Modifies a member variable of class MR::ModelPointsData named fakeObjId.

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

◆ set_points()

void meshlib::ModelPointsData::set_points ( value:Option<&meshlib::VertCoords > )

all points of model Modifies a member variable of class MR::ModelPointsData named points.

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

◆ set_valid_points()

void meshlib::ModelPointsData::set_valid_points ( value:Option<&meshlib::VertBitSet > )

bitset of valid points Modifies a member variable of class MR::ModelPointsData named validPoints.

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

◆ set_xf()

void meshlib::ModelPointsData::set_xf ( value:Option<&meshlib::AffineXf3f > )

model world xf Modifies a member variable of class MR::ModelPointsData named xf.

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

◆ valid_points()

auto meshlib::ModelPointsData::valid_points ( ) const -> *const *const meshlib::ffi::MR_VertBitSet

bitset of valid points Returns a pointer to a member variable of class MR::ModelPointsData named validPoints.

Calls MR_ModelPointsData_Get_validPoints(). 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.

◆ valid_points_mut()

auto meshlib::ModelPointsData::valid_points_mut ( ) -> *mut *const meshlib::ffi::MR_VertBitSet

bitset of valid points Returns a mutable pointer to a member variable of class MR::ModelPointsData named validPoints.

Calls MR_ModelPointsData_GetMutable_validPoints(). 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.

◆ xf()

auto meshlib::ModelPointsData::xf ( ) const -> *const *const meshlib::AffineXf3f

model world xf Returns a pointer to a member variable of class MR::ModelPointsData named xf.

Calls MR_ModelPointsData_Get_xf(). 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.

◆ xf_mut()

auto meshlib::ModelPointsData::xf_mut ( ) -> *mut *const meshlib::AffineXf3f

model world xf Returns a mutable pointer to a member variable of class MR::ModelPointsData named xf.

Calls MR_ModelPointsData_GetMutable_xf(). 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.


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