Open3D (C++ API)
0.18.0+252c867
|
#include <TriangleMeshIO.h>
Data Fields | |
bool | enable_post_processing = false |
bool | print_progress = false |
std::function< bool(double)> | update_progress |
bool open3d::io::ReadTriangleMeshOptions::enable_post_processing = false |
Enables post-processing on the mesh. Post-processing will
For more information see ASSIMPs documentation on the flags `aiProcessPreset_TargetRealtime_Fast, aiProcess_RemoveRedundantMaterials, aiProcess_OptimizeMeshes, aiProcess_PreTransformVertices`.
Note that identical vertices will always be joined regardless of whether post-processing is enabled or not, which changes the number of vertices in the mesh.
The ply-format is not affected by the post-processing.
bool open3d::io::ReadTriangleMeshOptions::print_progress = false |
Print progress to stdout about loading progress. Also see update_progress
if you want to have your own progress indicators or to be able to cancel loading.
std::function<bool(double)> open3d::io::ReadTriangleMeshOptions::update_progress |
Callback to invoke as reading is progressing, parameter is percentage completion (0.-100.) return true indicates to continue loading, false means to try to stop loading and cleanup