Public Member Functions | |
| auto | write_tri (tri:&meshlib::std_array_MR_Vector3f_3) -> bool |
| auto | update_head_counter () -> bool |
Static Public Member Functions | |
| static auto | construct (out:&mut meshlib::std_ostream, settings:Option<&meshlib::SaveSettings >, expectedNumTris:Option< core::ffi::c_uint >) -> meshlib::Owned< meshlib::mesh_save::BinaryStlSaver > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
saver in binary .stl format that can write triangles one by one not knowing their number beforehand Generated from class MR::MeshSave::BinaryStlSaver.
Generated from class MR::MeshSave::BinaryStlSaver. Heap-allocated instances are held in Owned<BinaryStlSaver>.
|
static |
writes STL header in the stream Generated from constructor MR::MeshSave::BinaryStlSaver::BinaryStlSaver.
Calls MR_MeshSave_BinaryStlSaver_Construct(). The reference to the parameter out might be preserved in the constructed object. The reference to the parameter settings might be preserved in the constructed object. The reference to the parameter expectedNumTris might be preserved in the constructed object.
| auto meshlib::mesh_save::BinaryStlSaver::update_head_counter | ( | ) | -> bool |
if initially written the number of triangles do not match to the actual number of written triangles, updates the number in the header Generated from method MR::MeshSave::BinaryStlSaver::updateHeadCounter.
Calls MR_MeshSave_BinaryStlSaver_updateHeadCounter().
| auto meshlib::mesh_save::BinaryStlSaver::write_tri | ( | tri:&meshlib::std_array_MR_Vector3f_3 | ) | -> bool |
writes one more triangle in the stream Generated from method MR::MeshSave::BinaryStlSaver::writeTri.
Calls MR_MeshSave_BinaryStlSaver_writeTri().