Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::mesh_builder::VertInfo) -> &mut meshlib::mesh_builder::VertInfo |
| auto | has_repeated_verts () const -> bool |
| auto | num_repeated_verts () const -> core::ffi::c_uint |
| auto | max_vert_repetitions () const -> core::ffi::c_uint |
| auto | num_open_chains () const -> core::ffi::c_uint |
| auto | num_closed_chains () const -> core::ffi::c_uint |
| auto | num_chains () const -> core::ffi::c_uint |
| auto | duplication_needed () const -> bool |
| auto | are_twin_chains (numTris:core::ffi::c_uint) const -> bool |
| void | set_num_chains (openChains:core::ffi::c_uint, closedChains:core::ffi::c_uint) |
| void | set_num_repeated_verts (repeatedVerts:core::ffi::c_uint, maxVertRepetitions:core::ffi::c_uint) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::mesh_builder::VertInfo > |
| static auto | construct_from_another (_other:&meshlib::mesh_builder::VertInfo) -> meshlib::Owned< meshlib::mesh_builder::VertInfo > |
| static auto | max_num_open_chains () -> *const core::ffi::c_uint |
| static auto | max_num_closed_chains () -> *const core::ffi::c_uint |
| static auto | max_num_repeated_verts () -> *const core::ffi::c_uint |
| static auto | max_max_vert_repetitions () -> *const core::ffi::c_uint |
| 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 |
classification of the triangles around one vertex, packed in 32 bits; it stores 1-bit flag (hasRepeatedVerts) and either 31-bit numRepeatedVerts (if the flag is on), or 16-bit numOpenChains and 15-bit numClosedChains (if the flag is off) Generated from class MR::MeshBuilder::VertInfo.
Generated from class MR::MeshBuilder::VertInfo. Heap-allocated instances are held in Owned<VertInfo>.
| auto meshlib::mesh_builder::VertInfo::are_twin_chains | ( | numTris:core::ffi::c_uint | ) | const -> bool |
tests for the case when every triangle around central vertex is present twice, if the chains are closed, the copy triangles have always same or always opposite orientation, if the chains are open, the copy triangles have always same orientation, so every neighbour vertex is repeated Generated from method MR::MeshBuilder::VertInfo::areTwinChains.
Calls MR_MeshBuilder_VertInfo_areTwinChains().
| auto meshlib::mesh_builder::VertInfo::assign_from_another | ( | _other:&meshlib::mesh_builder::VertInfo | ) | -> &mut meshlib::mesh_builder::VertInfo |
Generated from method MR::MeshBuilder::VertInfo::operator=.
Calls MR_MeshBuilder_VertInfo_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::MeshBuilder::VertInfo::VertInfo.
Calls MR_MeshBuilder_VertInfo_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::mesh_builder::VertInfo::duplication_needed | ( | ) | const -> bool |
true if the triangles around the vertex do not form a configuration MeshBuilder accepts as is (a single chain or ring, no triangles at all, or two open chains), so the vertex must be duplicated Generated from method MR::MeshBuilder::VertInfo::duplicationNeeded.
Calls MR_MeshBuilder_VertInfo_duplicationNeeded().
| auto meshlib::mesh_builder::VertInfo::has_repeated_verts | ( | ) | const -> bool |
true if some neighbor vertex is present in more than one triangle-pair around the vertex Generated from method MR::MeshBuilder::VertInfo::hasRepeatedVerts.
Calls MR_MeshBuilder_VertInfo_hasRepeatedVerts().
|
static |
Returns a pointer to a member variable of class MR::MeshBuilder::VertInfo named maxMaxVertRepetitions.
Calls MR_MeshBuilder_VertInfo_Get_maxMaxVertRepetitions().
|
static |
Returns a pointer to a member variable of class MR::MeshBuilder::VertInfo named maxNumClosedChains.
Calls MR_MeshBuilder_VertInfo_Get_maxNumClosedChains().
|
static |
maximal values storable in the counters Returns a pointer to a member variable of class MR::MeshBuilder::VertInfo named maxNumOpenChains.
Calls MR_MeshBuilder_VertInfo_Get_maxNumOpenChains().
|
static |
Returns a pointer to a member variable of class MR::MeshBuilder::VertInfo named maxNumRepeatedVerts.
Calls MR_MeshBuilder_VertInfo_Get_maxNumRepeatedVerts().
| auto meshlib::mesh_builder::VertInfo::max_vert_repetitions | ( | ) | const -> core::ffi::c_uint |
the maximum number of a neighbor vertex repetitions; 0 if !hasRepeatedVerts() Generated from method MR::MeshBuilder::VertInfo::maxVertRepetitions.
Calls MR_MeshBuilder_VertInfo_maxVertRepetitions().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_MeshBuilder_VertInfo_DefaultConstruct().
| auto meshlib::mesh_builder::VertInfo::num_chains | ( | ) | const -> core::ffi::c_uint |
the total number of open and closed chains of connected triangles around the vertex; 0 if hasRepeatedVerts() Generated from method MR::MeshBuilder::VertInfo::numChains.
Calls MR_MeshBuilder_VertInfo_numChains().
| auto meshlib::mesh_builder::VertInfo::num_closed_chains | ( | ) | const -> core::ffi::c_uint |
the number of closed chains (rings) of connected triangles around the vertex; 0 if hasRepeatedVerts() Generated from method MR::MeshBuilder::VertInfo::numClosedChains.
Calls MR_MeshBuilder_VertInfo_numClosedChains().
| auto meshlib::mesh_builder::VertInfo::num_open_chains | ( | ) | const -> core::ffi::c_uint |
the number of open chains of connected triangles around the vertex; 0 if hasRepeatedVerts() Generated from method MR::MeshBuilder::VertInfo::numOpenChains.
Calls MR_MeshBuilder_VertInfo_numOpenChains().
| auto meshlib::mesh_builder::VertInfo::num_repeated_verts | ( | ) | const -> core::ffi::c_uint |
the total number of neighbor vertex repetitions; 0 if !hasRepeatedVerts() Generated from method MR::MeshBuilder::VertInfo::numRepeatedVerts.
Calls MR_MeshBuilder_VertInfo_numRepeatedVerts().
| void meshlib::mesh_builder::VertInfo::set_num_chains | ( | openChains:core::ffi::c_uint | , |
| closedChains:core::ffi::c_uint | ) |
Generated from method MR::MeshBuilder::VertInfo::setNumChains.
Calls MR_MeshBuilder_VertInfo_setNumChains().
| void meshlib::mesh_builder::VertInfo::set_num_repeated_verts | ( | repeatedVerts:core::ffi::c_uint | , |
| maxVertRepetitions:core::ffi::c_uint | ) |
Generated from method MR::MeshBuilder::VertInfo::setNumRepeatedVerts.
Calls MR_MeshBuilder_VertInfo_setNumRepeatedVerts().