MeshKit
1.0
|
00001 /* 00002 * QslimOptions.hpp 00003 * 00004 */ 00005 00006 #ifndef QSLIMOPTIONS_H_ 00007 #define QSLIMOPTIONS_H_ 00008 00009 #define PLACE_ENDPOINTS 0 00010 #define PLACE_ENDORMID 1 00011 #define PLACE_LINE 2 00012 #define PLACE_OPTIMAL 3 00013 00014 #define OUTPUT_NONE 0x00 00015 #define OUTPUT_CONTRACTIONS 0x01 00016 #define OUTPUT_QUADRICS 0x02 00017 #define OUTPUT_COST 0x04 00018 #define OUTPUT_VERT_NOTES 0x08 00019 #define OUTPUT_FACE_NOTES 0x10 00020 #define OUTPUT_MODEL_DEFN 0x20 00021 #define OUTPUT_ALL 0xFFFFFFFF 00022 00023 #include <fstream> 00024 00025 //===========================================================================// 00053 class QslimOptions { 00054 public: 00055 QslimOptions(); 00056 virtual ~QslimOptions(); 00058 int face_target; 00059 00061 double error_tolerance; 00062 00064 int will_use_plane_constraint; 00065 00067 int will_use_vertex_constraint; 00068 00070 int will_preserve_boundaries; 00071 00073 int will_preserve_mesh_quality; 00074 00076 int will_constrain_boundaries; 00077 00079 double boundary_constraint_weight; 00080 00082 int will_weight_by_area; 00083 00085 int height_fields; 00086 00088 int timingIntervals; 00089 00091 int plotCost; 00092 00094 int useDelayedDeletion; 00095 00097 int placement_policy; 00098 00100 double pair_selection_tolerance; 00101 00103 std::ostream * logfile; 00104 00106 int selected_output; 00107 00109 int create_range; 00110 00112 // triggered by -k option (default 0) 00113 int topology; 00114 }; 00115 00116 #endif /* QSLIMOPTIONS_H_ */