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

Public Member Functions

auto assign_from_another (_other:&meshlib::mesh_load::StepLoadSettings) -> &mut meshlib::mesh_load::StepLoadSettings
auto angular_deflection () const -> &f64
auto angular_deflection_mut () -> &mut f64
void set_angular_deflection (value:f64)
auto linear_deflection () const -> &f64
auto linear_deflection_mut () -> &mut f64
void set_linear_deflection (value:f64)
auto relative () const -> &bool
auto relative_mut () -> &mut bool
void set_relative (value:bool)
auto auto_colorize () const -> &bool
auto auto_colorize_mut () -> &mut bool
void set_auto_colorize (value:bool)
auto force_load_sub_shapes () const -> &bool
auto force_load_sub_shapes_mut () -> &mut bool
void set_force_load_sub_shapes (value:bool)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::mesh_load::StepLoadSettings >
static auto construct_from (angularDeflection:f64, linearDeflection:f64, relative:bool, autoColorize:bool, forceLoadSubShapes:bool) -> meshlib::Owned< meshlib::mesh_load::StepLoadSettings >
static auto construct_from_another (_other:&meshlib::mesh_load::StepLoadSettings) -> meshlib::Owned< meshlib::mesh_load::StepLoadSettings >
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

STEP-specific mesh load parameters Generated from class MR::MeshLoad::StepLoadSettings.

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

Member Function Documentation

◆ angular_deflection()

auto meshlib::mesh_load::StepLoadSettings::angular_deflection ( ) const -> &f64

angular deflection used to tessellate the boundary edges Returns a pointer to a member variable of class MR::MeshLoad::StepLoadSettings named angularDeflection.

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

◆ angular_deflection_mut()

auto meshlib::mesh_load::StepLoadSettings::angular_deflection_mut ( ) -> &mut f64

angular deflection used to tessellate the boundary edges Returns a mutable pointer to a member variable of class MR::MeshLoad::StepLoadSettings named angularDeflection.

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

◆ assign_from_another()

auto meshlib::mesh_load::StepLoadSettings::assign_from_another ( _other:&meshlib::mesh_load::StepLoadSettings ) -> &mut meshlib::mesh_load::StepLoadSettings

Generated from method MR::MeshLoad::StepLoadSettings::operator=.

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

◆ auto_colorize()

auto meshlib::mesh_load::StepLoadSettings::auto_colorize ( ) const -> &bool

assign distinct per-component colors so the scene is visually inspectable; has no effect if the source STEP file contains any color information Returns a pointer to a member variable of class MR::MeshLoad::StepLoadSettings named autoColorize.

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

◆ auto_colorize_mut()

auto meshlib::mesh_load::StepLoadSettings::auto_colorize_mut ( ) -> &mut bool

assign distinct per-component colors so the scene is visually inspectable; has no effect if the source STEP file contains any color information Returns a mutable pointer to a member variable of class MR::MeshLoad::StepLoadSettings named autoColorize.

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

◆ construct_from()

auto meshlib::mesh_load::StepLoadSettings::construct_from ( angularDeflection:f64 ,
linearDeflection:f64 ,
relative:bool ,
autoColorize:bool ,
forceLoadSubShapes:bool  ) -> meshlib::Owned< meshlib::mesh_load::StepLoadSettings >
static

Constructs MR::MeshLoad::StepLoadSettings elementwise.

Calls MR_MeshLoad_StepLoadSettings_ConstructFrom().

◆ construct_from_another()

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

Generated from constructor MR::MeshLoad::StepLoadSettings::StepLoadSettings.

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

◆ force_load_sub_shapes()

auto meshlib::mesh_load::StepLoadSettings::force_load_sub_shapes ( ) const -> &bool

split every simple shape into per-body (Solid/Shell) child objects, even if it has a single body; by default single-body shapes are loaded as a single mesh object Returns a pointer to a member variable of class MR::MeshLoad::StepLoadSettings named forceLoadSubShapes.

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

◆ force_load_sub_shapes_mut()

auto meshlib::mesh_load::StepLoadSettings::force_load_sub_shapes_mut ( ) -> &mut bool

split every simple shape into per-body (Solid/Shell) child objects, even if it has a single body; by default single-body shapes are loaded as a single mesh object Returns a mutable pointer to a member variable of class MR::MeshLoad::StepLoadSettings named forceLoadSubShapes.

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

◆ linear_deflection()

auto meshlib::mesh_load::StepLoadSettings::linear_deflection ( ) const -> &f64

linear deflection used to tessellate the boundary edges Returns a pointer to a member variable of class MR::MeshLoad::StepLoadSettings named linearDeflection.

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

◆ linear_deflection_mut()

auto meshlib::mesh_load::StepLoadSettings::linear_deflection_mut ( ) -> &mut f64

linear deflection used to tessellate the boundary edges Returns a mutable pointer to a member variable of class MR::MeshLoad::StepLoadSettings named linearDeflection.

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

◆ new()

auto meshlib::mesh_load::StepLoadSettings::new ( ) -> meshlib::Owned< meshlib::mesh_load::StepLoadSettings >
static

Constructs an empty (default-constructed) instance.

Calls MR_MeshLoad_StepLoadSettings_DefaultConstruct().

◆ relative()

auto meshlib::mesh_load::StepLoadSettings::relative ( ) const -> &bool

whether the deflection values are related to the size of edges Returns a pointer to a member variable of class MR::MeshLoad::StepLoadSettings named relative.

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

◆ relative_mut()

auto meshlib::mesh_load::StepLoadSettings::relative_mut ( ) -> &mut bool

whether the deflection values are related to the size of edges Returns a mutable pointer to a member variable of class MR::MeshLoad::StepLoadSettings named relative.

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

◆ set_angular_deflection()

void meshlib::mesh_load::StepLoadSettings::set_angular_deflection ( value:f64 )

angular deflection used to tessellate the boundary edges Modifies a member variable of class MR::MeshLoad::StepLoadSettings named angularDeflection.

Calls MR_MeshLoad_StepLoadSettings_Set_angularDeflection().

◆ set_auto_colorize()

void meshlib::mesh_load::StepLoadSettings::set_auto_colorize ( value:bool )

assign distinct per-component colors so the scene is visually inspectable; has no effect if the source STEP file contains any color information Modifies a member variable of class MR::MeshLoad::StepLoadSettings named autoColorize.

Calls MR_MeshLoad_StepLoadSettings_Set_autoColorize().

◆ set_force_load_sub_shapes()

void meshlib::mesh_load::StepLoadSettings::set_force_load_sub_shapes ( value:bool )

split every simple shape into per-body (Solid/Shell) child objects, even if it has a single body; by default single-body shapes are loaded as a single mesh object Modifies a member variable of class MR::MeshLoad::StepLoadSettings named forceLoadSubShapes.

Calls MR_MeshLoad_StepLoadSettings_Set_forceLoadSubShapes().

◆ set_linear_deflection()

void meshlib::mesh_load::StepLoadSettings::set_linear_deflection ( value:f64 )

linear deflection used to tessellate the boundary edges Modifies a member variable of class MR::MeshLoad::StepLoadSettings named linearDeflection.

Calls MR_MeshLoad_StepLoadSettings_Set_linearDeflection().

◆ set_relative()

void meshlib::mesh_load::StepLoadSettings::set_relative ( value:bool )

whether the deflection values are related to the size of edges Modifies a member variable of class MR::MeshLoad::StepLoadSettings named relative.

Calls MR_MeshLoad_StepLoadSettings_Set_relative().


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