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

Public Member Functions

auto assign_from_another (_other:&meshlib::McOffsetMeshOutputs) -> &mut meshlib::McOffsetMeshOutputs
auto voxel_per_face_map () const -> *const *mut meshlib::ffi::MR_Vector_MR_VoxelId_MR_FaceId
auto voxel_per_face_map_mut () -> *mut *mut meshlib::ffi::MR_Vector_MR_VoxelId_MR_FaceId
void set_voxel_per_face_map (value:Option<&mut meshlib::Vector_MR_VoxelId_MR_FaceId >)
auto dims () const -> *const *mut meshlib::Vector3i
auto dims_mut () -> *mut *mut meshlib::Vector3i
void set_dims (value:Option<&mut meshlib::Vector3i >)
auto grid_to_mesh_xf () const -> *const *mut meshlib::AffineXf3f
auto grid_to_mesh_xf_mut () -> *mut *mut meshlib::AffineXf3f
void set_grid_to_mesh_xf (value:Option<&mut meshlib::AffineXf3f >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::McOffsetMeshOutputs >
static auto construct_from (voxelPerFaceMap:Option<&mut meshlib::Vector_MR_VoxelId_MR_FaceId >, dims:Option<&mut meshlib::Vector3i >, gridToMeshXf:Option<&mut meshlib::AffineXf3f >) -> meshlib::Owned< meshlib::McOffsetMeshOutputs >
static auto construct_from_another (_other:&meshlib::McOffsetMeshOutputs) -> meshlib::Owned< meshlib::McOffsetMeshOutputs >
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

optional outputs of mcOffsetMesh(...) describing the volume, from which the mesh was extracted Generated from class MR::McOffsetMeshOutputs.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::McOffsetMeshOutputs::construct_from ( voxelPerFaceMap:Option<&mut meshlib::Vector_MR_VoxelId_MR_FaceId > ,
dims:Option<&mut meshlib::Vector3i > ,
gridToMeshXf:Option<&mut meshlib::AffineXf3f >  ) -> meshlib::Owned< meshlib::McOffsetMeshOutputs >
static

Constructs MR::McOffsetMeshOutputs elementwise.

Calls MR_McOffsetMeshOutputs_ConstructFrom(). The reference to the parameter voxelPerFaceMap might be preserved in the constructed object. The reference to the parameter dims might be preserved in the constructed object. The reference to the parameter gridToMeshXf might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::McOffsetMeshOutputs::McOffsetMeshOutputs.

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

◆ dims()

auto meshlib::McOffsetMeshOutputs::dims ( ) const -> *const *mut meshlib::Vector3i

optional output dimensions of the volume Returns a pointer to a member variable of class MR::McOffsetMeshOutputs named dims.

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

◆ dims_mut()

auto meshlib::McOffsetMeshOutputs::dims_mut ( ) -> *mut *mut meshlib::Vector3i

optional output dimensions of the volume Returns a mutable pointer to a member variable of class MR::McOffsetMeshOutputs named dims.

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

◆ grid_to_mesh_xf()

auto meshlib::McOffsetMeshOutputs::grid_to_mesh_xf ( ) const -> *const *mut meshlib::AffineXf3f

optional output transform from integer grid locations to mesh reference frame: the node with integer coordinates (i,j,k) is located in (*gridToMeshXf)( Vector3f( i, j, k ) ); every vertex of output mesh is located on a grid edge Returns a pointer to a member variable of class MR::McOffsetMeshOutputs named gridToMeshXf.

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

◆ grid_to_mesh_xf_mut()

auto meshlib::McOffsetMeshOutputs::grid_to_mesh_xf_mut ( ) -> *mut *mut meshlib::AffineXf3f

optional output transform from integer grid locations to mesh reference frame: the node with integer coordinates (i,j,k) is located in (*gridToMeshXf)( Vector3f( i, j, k ) ); every vertex of output mesh is located on a grid edge Returns a mutable pointer to a member variable of class MR::McOffsetMeshOutputs named gridToMeshXf.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_McOffsetMeshOutputs_DefaultConstruct().

◆ set_dims()

void meshlib::McOffsetMeshOutputs::set_dims ( value:Option<&mut meshlib::Vector3i > )

optional output dimensions of the volume Modifies a member variable of class MR::McOffsetMeshOutputs named dims.

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

◆ set_grid_to_mesh_xf()

void meshlib::McOffsetMeshOutputs::set_grid_to_mesh_xf ( value:Option<&mut meshlib::AffineXf3f > )

optional output transform from integer grid locations to mesh reference frame: the node with integer coordinates (i,j,k) is located in (*gridToMeshXf)( Vector3f( i, j, k ) ); every vertex of output mesh is located on a grid edge Modifies a member variable of class MR::McOffsetMeshOutputs named gridToMeshXf.

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

◆ set_voxel_per_face_map()

void meshlib::McOffsetMeshOutputs::set_voxel_per_face_map ( value:Option<&mut meshlib::Vector_MR_VoxelId_MR_FaceId > )

optional output map FaceId->VoxelId Modifies a member variable of class MR::McOffsetMeshOutputs named voxelPerFaceMap.

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

◆ voxel_per_face_map()

auto meshlib::McOffsetMeshOutputs::voxel_per_face_map ( ) const -> *const *mut meshlib::ffi::MR_Vector_MR_VoxelId_MR_FaceId

optional output map FaceId->VoxelId Returns a pointer to a member variable of class MR::McOffsetMeshOutputs named voxelPerFaceMap.

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

◆ voxel_per_face_map_mut()

auto meshlib::McOffsetMeshOutputs::voxel_per_face_map_mut ( ) -> *mut *mut meshlib::ffi::MR_Vector_MR_VoxelId_MR_FaceId

optional output map FaceId->VoxelId Returns a mutable pointer to a member variable of class MR::McOffsetMeshOutputs named voxelPerFaceMap.

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