API Documentation
|
User-defined options that define preferences for importing and exporting using IOFactory objects. More...
#include <FactoryOptions.h>
Public Types | |
enum class | GeoReferenceProperties { e_data_geo_referenced , e_user_place_with_cursor , e_user_geo_reference_dialog , e_prompt_user_all , e_prompt_user_no_existing_reference } |
enum class | ImportMergeProperties { e_duplicate , e_ignore_import , e_replace , e_remap_imported , e_merge_and_replace_from_file , e_merge_and_ignore_from_file } |
enum class | IncludeProperties : uint01 { e_ignore = 0 , e_include_default_precision = 1 , e_include_high_precision = 2 , e_generate_default_precision = 3 , e_generate_high_precision = 4 , e_not_supported } |
enum | NormalGenerationModel { e_flat , e_smooth } |
Public Member Functions | |
FactoryOptions () | |
void | finishReadingINI (INIFactory &factory) override |
bool | generateValue (GeometryType property) const |
bool | generateValue (VertexProperty property) const |
virtual void | getINI (INIFactory &factory) override |
bool | operator!= (const FactoryOptions &options) const |
bool | operator== (const FactoryOptions &options) const |
void | postProcess (Model &model, ProgressInfo *progress, const void *lock) const |
void | prepareForINI (INIFactory &factory) override |
void | setToDefaultUnits () |
void | setupDefaultMaterial (GeometryType type, Material &mat) const |
bool | useHighPrecision (GeometryType property) const |
bool | useHighPrecision (VertexProperty property) const |
bool | useValue (GeometryType property) const |
bool | useValue (VertexProperty property) const |
~FactoryOptions () | |
Public Member Functions inherited from INIInterface | |
INIInterface (const File &default_ini) | |
virtual bool | readINIOptions () |
virtual bool | readINIOptions (File &ini_file) |
virtual bool | saveINIOptions (bool multithead=false) |
virtual bool | saveINIOptions (File &ini_file, bool multithead=false) |
void | setDefaultINIFile (const File &file) |
virtual void | writeToLog (const String &title, ProgressInfo *log, uint01 log_level=2U) |
virtual void | writeToLog (ProgressInfo *log, uint01 log_level=2U) |
virtual | ~INIInterface () |
Static Public Attributes | |
static ApplicationOption< bool > | DefaultExportOnlyVisible |
Protected Member Functions | |
bool | canPostProcessVertices () const |
Additional Inherited Members | |
Protected Attributes inherited from INIInterface | |
File | m_default_ini |
User-defined options that define preferences for importing and exporting using IOFactory objects.
|
strong |
|
strong |
|
strong |
FactoryOptions | ( | ) |
~FactoryOptions | ( | ) |
|
protected |
|
overridevirtual |
Reimplemented from INIInterface.
bool generateValue | ( | GeometryType | property | ) | const |
|
inline |
|
overridevirtual |
Implements INIInterface.
|
inline |
bool operator== | ( | const FactoryOptions & | options | ) | const |
void postProcess | ( | Model & | model, |
ProgressInfo * | progress, | ||
const void * | lock ) const |
|
overridevirtual |
Reimplemented from INIInterface.
void setToDefaultUnits | ( | ) |
void setupDefaultMaterial | ( | GeometryType | type, |
Material & | mat ) const |
bool useHighPrecision | ( | GeometryType | property | ) | const |
bool useHighPrecision | ( | VertexProperty | property | ) | const |
|
inline |
|
inline |
bool application_locked = false |
AsciiOptions ascii |
bool center_model = false |
bool combine_mesh_instances = false |
CompressionMode compression_mode = CompressionMode::e_default_compression |
bool convert_degenerates = false |
Dictionary<String, GenericOptionGroup> custom_options |
RGBColor default_color |
fltp04 default_line_thickness = 1.0 |
fltp04 default_mesh_thickness = 1.0 |
fltp04 default_point_size = 20.0 |
|
static |
ImportMergeProperties duplicate_name_behavior |
ImportMergeProperties duplicate_uuid_behavior |
bool find_invalid_data = false |
bool fix_inward_normals = false |
bool flatten_model = false |
bool flip_UV_coordinates = false |
bool generate_trees = true |
bool generate_UV_mappings = false |
GeoReferenceProperties geo_reference_behavior |
Vector<cast<uint01>(GeometryType::e_geometry_type_size), IncludeProperties> geometry_properties |
String icon |
bool ignore_invisible = false |
bool is_auto_save = false |
bool join_identical_vertices = false |
bool multithread = true |
String name |
NormalGenerationModel normal_generation_mode = e_smooth |
bool optimize_meshes = false |
bool optimize_model_heirarchy = false |
String owner_password |
bool preserve_high_precision_values = false |
bool tree_is_visible = true |
bool triangulate = false |
bool two_sided = false |
UnitManager units |
bool use_cameras = true |
String user_password |
bool validitate_geometry = false |
Vector<cast<uint01>(VertexProperty::Vertex_Property_Size), IncludeProperties> vector_properties |
WindingMode wind_triangles = WindingMode::e_no_winding |
bool wireframe = false |