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

Public Member Functions

auto assign_from_another (_other:&meshlib::ObjectVoxels_VolumeRenderingParams) -> &mut meshlib::ObjectVoxels_VolumeRenderingParams
auto op_equal (_1:&meshlib::ObjectVoxels_VolumeRenderingParams) const -> bool
auto op_not_equal (_1:&meshlib::ObjectVoxels_VolumeRenderingParams) const -> bool
auto volume_filter_type () const -> &meshlib::FilterType
auto volume_filter_type_mut () -> &mut meshlib::FilterType
void set_volume_filter_type (value:meshlib::FilterType)
auto shading_type () const -> &meshlib::ObjectVoxels_VolumeRenderingParams_ShadingType
auto shading_type_mut () -> &mut meshlib::ObjectVoxels_VolumeRenderingParams_ShadingType
void set_shading_type (value:meshlib::ObjectVoxels_VolumeRenderingParams_ShadingType)
auto lut_type () const -> &meshlib::ObjectVoxels_VolumeRenderingParams_LutType
auto lut_type_mut () -> &mut meshlib::ObjectVoxels_VolumeRenderingParams_LutType
void set_lut_type (value:meshlib::ObjectVoxels_VolumeRenderingParams_LutType)
auto one_color () const -> &meshlib::Color
auto one_color_mut () -> &mut meshlib::Color
void set_one_color (value:meshlib::Color)
auto min () const -> &f32
auto min_mut () -> &mut f32
void set_min (value:f32)
auto max () const -> &f32
auto max_mut () -> &mut f32
void set_max (value:f32)
auto sampling_step () const -> &f32
auto sampling_step_mut () -> &mut f32
void set_sampling_step (value:f32)
auto alpha_type () const -> &meshlib::ObjectVoxels_VolumeRenderingParams_AlphaType
auto alpha_type_mut () -> &mut meshlib::ObjectVoxels_VolumeRenderingParams_AlphaType
void set_alpha_type (value:meshlib::ObjectVoxels_VolumeRenderingParams_AlphaType)
auto alpha_limit () const -> &core::ffi::c_uchar
auto alpha_limit_mut () -> &mut core::ffi::c_uchar
void set_alpha_limit (value:core::ffi::c_uchar)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::ObjectVoxels_VolumeRenderingParams >
static auto construct_from (volumeFilterType:meshlib::FilterType, shadingType:meshlib::ObjectVoxels_VolumeRenderingParams_ShadingType, lutType:meshlib::ObjectVoxels_VolumeRenderingParams_LutType, oneColor:meshlib::Color, min:f32, max:f32, samplingStep:f32, alphaType:meshlib::ObjectVoxels_VolumeRenderingParams_AlphaType, alphaLimit:core::ffi::c_uchar) -> meshlib::Owned< meshlib::ObjectVoxels_VolumeRenderingParams >
static auto construct_from_another (_other:&meshlib::ObjectVoxels_VolumeRenderingParams) -> meshlib::Owned< meshlib::ObjectVoxels_VolumeRenderingParams >
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

struct to control volume rendering texture Generated from class MR::ObjectVoxels::VolumeRenderingParams.

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

Member Function Documentation

◆ alpha_limit()

auto meshlib::ObjectVoxels_VolumeRenderingParams::alpha_limit ( ) const -> &core::ffi::c_uchar

Returns a pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named alphaLimit.

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

◆ alpha_limit_mut()

auto meshlib::ObjectVoxels_VolumeRenderingParams::alpha_limit_mut ( ) -> &mut core::ffi::c_uchar

Returns a mutable pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named alphaLimit.

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

◆ alpha_type()

auto meshlib::ObjectVoxels_VolumeRenderingParams::alpha_type ( ) const -> &meshlib::ObjectVoxels_VolumeRenderingParams_AlphaType

Returns a pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named alphaType.

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

◆ alpha_type_mut()

auto meshlib::ObjectVoxels_VolumeRenderingParams::alpha_type_mut ( ) -> &mut meshlib::ObjectVoxels_VolumeRenderingParams_AlphaType

Returns a mutable pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named alphaType.

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

◆ assign_from_another()

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

Generated from method MR::ObjectVoxels::VolumeRenderingParams::operator=.

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

◆ construct_from()

auto meshlib::ObjectVoxels_VolumeRenderingParams::construct_from ( volumeFilterType:meshlib::FilterType ,
shadingType:meshlib::ObjectVoxels_VolumeRenderingParams_ShadingType ,
lutType:meshlib::ObjectVoxels_VolumeRenderingParams_LutType ,
oneColor:meshlib::Color ,
min:f32 ,
max:f32 ,
samplingStep:f32 ,
alphaType:meshlib::ObjectVoxels_VolumeRenderingParams_AlphaType ,
alphaLimit:core::ffi::c_uchar  ) -> meshlib::Owned< meshlib::ObjectVoxels_VolumeRenderingParams >
static

Constructs MR::ObjectVoxels::VolumeRenderingParams elementwise.

Calls MR_ObjectVoxels_VolumeRenderingParams_ConstructFrom(). The reference to the parameter volumeFilterType might be preserved in the constructed object. The reference to the parameter shadingType might be preserved in the constructed object. The reference to the parameter lutType might be preserved in the constructed object. The reference to the parameter oneColor might be preserved in the constructed object. The reference to the parameter alphaType might be preserved in the constructed object. The reference to the parameter alphaLimit might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::ObjectVoxels::VolumeRenderingParams::VolumeRenderingParams.

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

◆ lut_type()

auto meshlib::ObjectVoxels_VolumeRenderingParams::lut_type ( ) const -> &meshlib::ObjectVoxels_VolumeRenderingParams_LutType

Returns a pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named lutType.

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

◆ lut_type_mut()

auto meshlib::ObjectVoxels_VolumeRenderingParams::lut_type_mut ( ) -> &mut meshlib::ObjectVoxels_VolumeRenderingParams_LutType

Returns a mutable pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named lutType.

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

◆ max()

auto meshlib::ObjectVoxels_VolumeRenderingParams::max ( ) const -> &f32

maximum colored value (voxels with higher values are transparent) Returns a pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named max.

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

◆ max_mut()

auto meshlib::ObjectVoxels_VolumeRenderingParams::max_mut ( ) -> &mut f32

maximum colored value (voxels with higher values are transparent) Returns a mutable pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named max.

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

◆ min()

auto meshlib::ObjectVoxels_VolumeRenderingParams::min ( ) const -> &f32

minimum colored value (voxels with lower values are transparent) Returns a pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named min.

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

◆ min_mut()

auto meshlib::ObjectVoxels_VolumeRenderingParams::min_mut ( ) -> &mut f32

minimum colored value (voxels with lower values are transparent) Returns a mutable pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named min.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_ObjectVoxels_VolumeRenderingParams_DefaultConstruct().

◆ one_color()

auto meshlib::ObjectVoxels_VolumeRenderingParams::one_color ( ) const -> &meshlib::Color

color that is used for OneColor mode Returns a pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named oneColor.

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

◆ one_color_mut()

auto meshlib::ObjectVoxels_VolumeRenderingParams::one_color_mut ( ) -> &mut meshlib::Color

color that is used for OneColor mode Returns a mutable pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named oneColor.

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

◆ op_equal()

auto meshlib::ObjectVoxels_VolumeRenderingParams::op_equal ( _1:&meshlib::ObjectVoxels_VolumeRenderingParams ) const -> bool

Generated from method MR::ObjectVoxels::VolumeRenderingParams::operator==.

Calls MR_equal_MR_ObjectVoxels_VolumeRenderingParams().

◆ op_not_equal()

auto meshlib::ObjectVoxels_VolumeRenderingParams::op_not_equal ( _1:&meshlib::ObjectVoxels_VolumeRenderingParams ) const -> bool

Generated from method MR::ObjectVoxels::VolumeRenderingParams::operator!=.

Calls MR_not_equal_MR_ObjectVoxels_VolumeRenderingParams().

◆ sampling_step()

auto meshlib::ObjectVoxels_VolumeRenderingParams::sampling_step ( ) const -> &f32

step to sample each ray with if <= 0 then default sampling is used Returns a pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named samplingStep.

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

◆ sampling_step_mut()

auto meshlib::ObjectVoxels_VolumeRenderingParams::sampling_step_mut ( ) -> &mut f32

step to sample each ray with if <= 0 then default sampling is used Returns a mutable pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named samplingStep.

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

◆ set_alpha_limit()

void meshlib::ObjectVoxels_VolumeRenderingParams::set_alpha_limit ( value:core::ffi::c_uchar )

Modifies a member variable of class MR::ObjectVoxels::VolumeRenderingParams named alphaLimit.

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

◆ set_alpha_type()

void meshlib::ObjectVoxels_VolumeRenderingParams::set_alpha_type ( value:meshlib::ObjectVoxels_VolumeRenderingParams_AlphaType )

Modifies a member variable of class MR::ObjectVoxels::VolumeRenderingParams named alphaType.

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

◆ set_lut_type()

void meshlib::ObjectVoxels_VolumeRenderingParams::set_lut_type ( value:meshlib::ObjectVoxels_VolumeRenderingParams_LutType )

Modifies a member variable of class MR::ObjectVoxels::VolumeRenderingParams named lutType.

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

◆ set_max()

void meshlib::ObjectVoxels_VolumeRenderingParams::set_max ( value:f32 )

maximum colored value (voxels with higher values are transparent) Modifies a member variable of class MR::ObjectVoxels::VolumeRenderingParams named max.

Calls MR_ObjectVoxels_VolumeRenderingParams_Set_max().

◆ set_min()

void meshlib::ObjectVoxels_VolumeRenderingParams::set_min ( value:f32 )

minimum colored value (voxels with lower values are transparent) Modifies a member variable of class MR::ObjectVoxels::VolumeRenderingParams named min.

Calls MR_ObjectVoxels_VolumeRenderingParams_Set_min().

◆ set_one_color()

void meshlib::ObjectVoxels_VolumeRenderingParams::set_one_color ( value:meshlib::Color )

color that is used for OneColor mode Modifies a member variable of class MR::ObjectVoxels::VolumeRenderingParams named oneColor.

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

◆ set_sampling_step()

void meshlib::ObjectVoxels_VolumeRenderingParams::set_sampling_step ( value:f32 )

step to sample each ray with if <= 0 then default sampling is used Modifies a member variable of class MR::ObjectVoxels::VolumeRenderingParams named samplingStep.

Calls MR_ObjectVoxels_VolumeRenderingParams_Set_samplingStep().

◆ set_shading_type()

void meshlib::ObjectVoxels_VolumeRenderingParams::set_shading_type ( value:meshlib::ObjectVoxels_VolumeRenderingParams_ShadingType )

Modifies a member variable of class MR::ObjectVoxels::VolumeRenderingParams named shadingType.

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

◆ set_volume_filter_type()

void meshlib::ObjectVoxels_VolumeRenderingParams::set_volume_filter_type ( value:meshlib::FilterType )

volume texture smoothing Modifies a member variable of class MR::ObjectVoxels::VolumeRenderingParams named volumeFilterType.

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

◆ shading_type()

auto meshlib::ObjectVoxels_VolumeRenderingParams::shading_type ( ) const -> &meshlib::ObjectVoxels_VolumeRenderingParams_ShadingType

Returns a pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named shadingType.

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

◆ shading_type_mut()

auto meshlib::ObjectVoxels_VolumeRenderingParams::shading_type_mut ( ) -> &mut meshlib::ObjectVoxels_VolumeRenderingParams_ShadingType

Returns a mutable pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named shadingType.

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

◆ volume_filter_type()

auto meshlib::ObjectVoxels_VolumeRenderingParams::volume_filter_type ( ) const -> &meshlib::FilterType

volume texture smoothing Returns a pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named volumeFilterType.

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

◆ volume_filter_type_mut()

auto meshlib::ObjectVoxels_VolumeRenderingParams::volume_filter_type_mut ( ) -> &mut meshlib::FilterType

volume texture smoothing Returns a mutable pointer to a member variable of class MR::ObjectVoxels::VolumeRenderingParams named volumeFilterType.

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


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