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

Public Member Functions

auto assign_from_another (_other:&meshlib::mesh_builder::BuildSettings) -> &mut meshlib::mesh_builder::BuildSettings
auto region () const -> *const *mut meshlib::ffi::MR_FaceBitSet
auto region_mut () -> *mut *mut meshlib::ffi::MR_FaceBitSet
void set_region (value:Option<&mut meshlib::FaceBitSet >)
auto shift_face_id () const -> &core::ffi::c_int
auto shift_face_id_mut () -> &mut core::ffi::c_int
void set_shift_face_id (value:core::ffi::c_int)
auto allow_non_manifold_edge () const -> &bool
auto allow_non_manifold_edge_mut () -> &mut bool
void set_allow_non_manifold_edge (value:bool)
auto skipped_face_count () const -> *const *mut core::ffi::c_int
auto skipped_face_count_mut () -> *mut *mut core::ffi::c_int
void set_skipped_face_count (value:Option<&mut core::ffi::c_int >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::mesh_builder::BuildSettings >
static auto construct_from (region:Option<&mut meshlib::FaceBitSet >, shiftFaceId:core::ffi::c_int, allowNonManifoldEdge:bool, skippedFaceCount:Option<&mut core::ffi::c_int >) -> meshlib::Owned< meshlib::mesh_builder::BuildSettings >
static auto construct_from_another (_other:&meshlib::mesh_builder::BuildSettings) -> meshlib::Owned< meshlib::mesh_builder::BuildSettings >
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

Generated from class MR::MeshBuilder::BuildSettings.

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

Member Function Documentation

◆ allow_non_manifold_edge()

auto meshlib::mesh_builder::BuildSettings::allow_non_manifold_edge ( ) const -> &bool

whether to permit non-manifold edges in the resulting topology Returns a pointer to a member variable of class MR::MeshBuilder::BuildSettings named allowNonManifoldEdge.

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

◆ allow_non_manifold_edge_mut()

auto meshlib::mesh_builder::BuildSettings::allow_non_manifold_edge_mut ( ) -> &mut bool

whether to permit non-manifold edges in the resulting topology Returns a mutable pointer to a member variable of class MR::MeshBuilder::BuildSettings named allowNonManifoldEdge.

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

◆ assign_from_another()

auto meshlib::mesh_builder::BuildSettings::assign_from_another ( _other:&meshlib::mesh_builder::BuildSettings ) -> &mut meshlib::mesh_builder::BuildSettings

Generated from method MR::MeshBuilder::BuildSettings::operator=.

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

◆ construct_from()

auto meshlib::mesh_builder::BuildSettings::construct_from ( region:Option<&mut meshlib::FaceBitSet > ,
shiftFaceId:core::ffi::c_int ,
allowNonManifoldEdge:bool ,
skippedFaceCount:Option<&mut core::ffi::c_int >  ) -> meshlib::Owned< meshlib::mesh_builder::BuildSettings >
static

Constructs MR::MeshBuilder::BuildSettings elementwise.

Calls MR_MeshBuilder_BuildSettings_ConstructFrom(). The reference to the parameter region might be preserved in the constructed object. The reference to the parameter skippedFaceCount might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::MeshBuilder::BuildSettings::BuildSettings.

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

◆ new()

auto meshlib::mesh_builder::BuildSettings::new ( ) -> meshlib::Owned< meshlib::mesh_builder::BuildSettings >
static

Constructs an empty (default-constructed) instance.

Calls MR_MeshBuilder_BuildSettings_DefaultConstruct().

◆ region()

auto meshlib::mesh_builder::BuildSettings::region ( ) const -> *const *mut meshlib::ffi::MR_FaceBitSet

if region is given then on input it contains the faces to be added, and on output the faces failed to be added Returns a pointer to a member variable of class MR::MeshBuilder::BuildSettings named region.

Calls MR_MeshBuilder_BuildSettings_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::mesh_builder::BuildSettings::region_mut ( ) -> *mut *mut meshlib::ffi::MR_FaceBitSet

if region is given then on input it contains the faces to be added, and on output the faces failed to be added Returns a mutable pointer to a member variable of class MR::MeshBuilder::BuildSettings named region.

Calls MR_MeshBuilder_BuildSettings_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_allow_non_manifold_edge()

void meshlib::mesh_builder::BuildSettings::set_allow_non_manifold_edge ( value:bool )

whether to permit non-manifold edges in the resulting topology Modifies a member variable of class MR::MeshBuilder::BuildSettings named allowNonManifoldEdge.

Calls MR_MeshBuilder_BuildSettings_Set_allowNonManifoldEdge().

◆ set_region()

void meshlib::mesh_builder::BuildSettings::set_region ( value:Option<&mut meshlib::FaceBitSet > )

if region is given then on input it contains the faces to be added, and on output the faces failed to be added Modifies a member variable of class MR::MeshBuilder::BuildSettings named region.

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

◆ set_shift_face_id()

void meshlib::mesh_builder::BuildSettings::set_shift_face_id ( value:core::ffi::c_int )

this value to be added to every faceId before its inclusion in the topology Modifies a member variable of class MR::MeshBuilder::BuildSettings named shiftFaceId.

Calls MR_MeshBuilder_BuildSettings_Set_shiftFaceId().

◆ set_skipped_face_count()

void meshlib::mesh_builder::BuildSettings::set_skipped_face_count ( value:Option<&mut core::ffi::c_int > )

optional output: counter of skipped faces during mesh creation Modifies a member variable of class MR::MeshBuilder::BuildSettings named skippedFaceCount.

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

◆ shift_face_id()

auto meshlib::mesh_builder::BuildSettings::shift_face_id ( ) const -> &core::ffi::c_int

this value to be added to every faceId before its inclusion in the topology Returns a pointer to a member variable of class MR::MeshBuilder::BuildSettings named shiftFaceId.

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

◆ shift_face_id_mut()

auto meshlib::mesh_builder::BuildSettings::shift_face_id_mut ( ) -> &mut core::ffi::c_int

this value to be added to every faceId before its inclusion in the topology Returns a mutable pointer to a member variable of class MR::MeshBuilder::BuildSettings named shiftFaceId.

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

◆ skipped_face_count()

auto meshlib::mesh_builder::BuildSettings::skipped_face_count ( ) const -> *const *mut core::ffi::c_int

optional output: counter of skipped faces during mesh creation Returns a pointer to a member variable of class MR::MeshBuilder::BuildSettings named skippedFaceCount.

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

◆ skipped_face_count_mut()

auto meshlib::mesh_builder::BuildSettings::skipped_face_count_mut ( ) -> *mut *mut core::ffi::c_int

optional output: counter of skipped faces during mesh creation Returns a mutable pointer to a member variable of class MR::MeshBuilder::BuildSettings named skippedFaceCount.

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