MeshKit
1.0
|
Place holder for decimation options. More...
#include <QslimOptions.hpp>
Public Member Functions | |
QslimOptions () | |
virtual | ~QslimOptions () |
Public Attributes | |
int | face_target |
decimation stops when number of triangle is less than face_target; default 0 | |
double | error_tolerance |
decimation can stop if the error is bigger than the given tolerance; default: HUGE (very large, so it is not stopping because of this) | |
int | will_use_plane_constraint |
will use plane constraint; default 1 (true) | |
int | will_use_vertex_constraint |
will use vertex constraint; default : 0 (false) | |
int | will_preserve_boundaries |
to preserve boundary edges; default 0 (false) | |
int | will_preserve_mesh_quality |
cost of creating inverted elements is artificially increased, so it should not happen; default: false | |
int | will_constrain_boundaries |
triggered by -B option; it will add an additional cost when boundary edges are collapsed used in conjunction with the boundary constraint weight: default false | |
double | boundary_constraint_weight |
see the will_constrain_boundaries option | |
int | will_weight_by_area |
used if areas are planar ; default 0 (no) | |
int | height_fields |
for terrain-type data, do not allow reverse of the normal in z direction; default 0 (no check); triggered by -p option | |
int | timingIntervals |
performance decimation intervals; default 10 intervals | |
int | plotCost |
create a tag with the error cost at each vertex in the final mesh (default 0, no) | |
int | useDelayedDeletion |
default true. If used, it will delay deletion of edges and triangles until the end of decimation | |
int | placement_policy |
default 3, optimal placement policy, for the vertex when an edge is collapsed; other options are 0=end points, 1=end points or middle point, 2 = on the line | |
double | pair_selection_tolerance |
create the pairs based on this minimum distance (if the nodes are not connected); by default, the pairs are created only between connected vertices | |
std::ostream * | logfile |
output a debug file | |
int | selected_output |
debug level in output | |
int | create_range |
create the range, with contiguous handles, and delete the initial set; default false | |
int | topology |
keep the topology unchanged; Euler characteristic would remain the same |
Place holder for decimation options.
Options for decimation can be passed with the test driver.
Definition at line 53 of file QslimOptions.hpp.
QslimOptions | ( | ) |
Definition at line 12 of file QslimOptions.cpp.
~QslimOptions | ( | ) | [virtual] |
Definition at line 43 of file QslimOptions.cpp.
double boundary_constraint_weight |
see the will_constrain_boundaries option
Definition at line 79 of file QslimOptions.hpp.
int create_range |
create the range, with contiguous handles, and delete the initial set; default false
Definition at line 109 of file QslimOptions.hpp.
double error_tolerance |
decimation can stop if the error is bigger than the given tolerance; default: HUGE (very large, so it is not stopping because of this)
Definition at line 61 of file QslimOptions.hpp.
int face_target |
decimation stops when number of triangle is less than face_target; default 0
Definition at line 58 of file QslimOptions.hpp.
int height_fields |
for terrain-type data, do not allow reverse of the normal in z direction; default 0 (no check); triggered by -p option
Definition at line 85 of file QslimOptions.hpp.
std::ostream* logfile |
output a debug file
Definition at line 103 of file QslimOptions.hpp.
double pair_selection_tolerance |
create the pairs based on this minimum distance (if the nodes are not connected); by default, the pairs are created only between connected vertices
Definition at line 100 of file QslimOptions.hpp.
int placement_policy |
default 3, optimal placement policy, for the vertex when an edge is collapsed; other options are 0=end points, 1=end points or middle point, 2 = on the line
Definition at line 97 of file QslimOptions.hpp.
int plotCost |
create a tag with the error cost at each vertex in the final mesh (default 0, no)
Definition at line 91 of file QslimOptions.hpp.
int selected_output |
debug level in output
Definition at line 106 of file QslimOptions.hpp.
int timingIntervals |
performance decimation intervals; default 10 intervals
Definition at line 88 of file QslimOptions.hpp.
int topology |
keep the topology unchanged; Euler characteristic would remain the same
Definition at line 113 of file QslimOptions.hpp.
default true. If used, it will delay deletion of edges and triangles until the end of decimation
Definition at line 94 of file QslimOptions.hpp.
triggered by -B option; it will add an additional cost when boundary edges are collapsed used in conjunction with the boundary constraint weight: default false
Definition at line 76 of file QslimOptions.hpp.
to preserve boundary edges; default 0 (false)
Definition at line 70 of file QslimOptions.hpp.
cost of creating inverted elements is artificially increased, so it should not happen; default: false
Definition at line 73 of file QslimOptions.hpp.
will use plane constraint; default 1 (true)
Definition at line 64 of file QslimOptions.hpp.
will use vertex constraint; default : 0 (false)
Definition at line 67 of file QslimOptions.hpp.
used if areas are planar ; default 0 (no)
Definition at line 82 of file QslimOptions.hpp.