|
| void | finishReadingINI (INIFactory &factory) override |
| | Performs any finalization after INI deserialization completes.
|
| bool | generateValue (GeometryType property) const |
| | Checks whether the given geometry type should be generated if it does not already exist.
|
| bool | generateValue (VertexProperty property) const |
| | Checks whether the given vertex property should be generated if it does not already exist.
|
| virtual void | getINI (INIFactory &factory) override |
| | Reads or writes all option fields to/from the INI factory.
|
| bool | operator!= (const FactoryOptions &options) const |
| | Compares two FactoryOptions for inequality.
|
| bool | operator== (const FactoryOptions &options) const |
| | Compares two FactoryOptions for equality.
|
| void | postProcess (Model &model, ProgressInfo &info, const void *lock) const |
| | Applies post-processing steps to an imported model based on the current option flags (e.g., normals generation, mesh optimization, winding correction, degenerate removal).
|
| void | prepareForINI (INIFactory &factory) override |
| | Prepares internal state before INI serialization begins.
|
| void | setToDefaultUnits () |
| | Resets the unit manager to system-default units.
|
| void | setupDefaultMaterial (GeometryType type, Material &mat) const |
| | Configures a Material with default visual properties based on the geometry type and current option values (e.g., default color, line thickness, two-sided).
|
| bool | useHighPrecision (GeometryType property) const |
| | Checks whether the given geometry type should use high-precision storage.
|
| bool | useHighPrecision (VertexProperty property) const |
| | Checks whether the given vertex property should use high-precision storage.
|
| bool | useValue (GeometryType property) const |
| | Checks whether the given geometry type should be included (not ignored).
|
| bool | useValue (VertexProperty property) const |
| | Checks whether the given vertex property should be included (not ignored).
|
|
| INIInterface () |
| | Constructs an INIInterface with no default INI file.
|
| | INIInterface (const File &default_ini) |
| | Constructs an INIInterface with the specified default INI file.
|
|
virtual | ~INIInterface () |
| | Virtual destructor for safe polymorphic cleanup.
|
| virtual bool | readINIOptions () |
| | Reads INI options from the default INI file.
|
| virtual bool | readINIOptions (File &ini_file) |
| | Reads INI options from the specified INI file.
|
| virtual bool | saveINIOptions (bool multithead=false) |
| | Saves INI options to the default INI file.
|
| virtual bool | saveINIOptions (File &ini_file, bool multithead=false) |
| | Saves INI options to the specified INI file.
|
| void | setDefaultINIFile (const File &file) |
| | Sets the default INI file path used for reading and writing options.
|
| virtual void | writeToLog (const StringView &title, LogPtr log, uint01 log_level=2U) |
| | Writes the current INI options to the specified log with a title.
|
| virtual void | writeToLog (LogPtr log, uint01 log_level=2U) |
| | Writes the current INI options to the specified log.
|
|
|
bool | application_locked = false |
| | Whether the imported data should be locked from user editing.
|
|
bool | application_owned = false |
| | Whether the imported data is owned by the application (not user-managed).
|
|
AsciiOptions | ascii |
| | Options for reading or writing ASCII files.
|
|
bool | center_model = false |
| | Whether to translate the model so its center is at the origin.
|
|
bool | combine_mesh_instances = false |
| | Whether to merge identical mesh instances into a single mesh.
|
|
CompressionMode | compression_mode = CompressionMode::e_default_compression |
| | Compression mode for export.
|
|
bool | convert_degenerates = false |
| | Whether to convert degenerate primitives (e.g., zero-area triangles).
|
|
Dictionary< String, GenericOptionGroup > | custom_options |
| | Importer/exporter-specific custom option groups.
|
|
RGBColor | default_color |
| | Color applied when the source data has no color information.
|
|
UUID | default_coord_projection = Constant<UUID>::Invalid |
| | Default coordinate projection UUID. Invalid means none specified.
|
|
fltp04 | default_line_thickness = 1.0 |
| | Default rendered line thickness.
|
|
fltp04 | default_mesh_thickness = 1.0 |
| | Default rendered mesh edge thickness.
|
|
fltp04 | default_point_size = 20.0 |
| | Default rendered point size in pixels.
|
|
ImportMergeProperties | duplicate_name_behavior = ImportMergeProperties::e_duplicate |
| | How to handle objects with duplicate names on import.
|
|
ImportMergeProperties | duplicate_uuid_behavior = ImportMergeProperties::e_duplicate |
| | How to handle objects with duplicate UUIDs on import.
|
|
Set< StringAllocatingView > | exclusion_model_types |
| | Model types to exclude from reading or writing.
|
|
bool | find_invalid_data = false |
| | Whether to detect and flag invalid geometry data.
|
|
bool | fix_inward_normals = false |
| | Whether to flip normals that point inward.
|
|
bool | flatten_model = false |
| | Whether to flatten the model hierarchy into a single level.
|
|
bool | flip_UV_coordinates = false |
| | Whether to flip UV coordinates vertically (invert V axis).
|
|
bool | generate_trees = true |
| | Whether to generate spatial tree structures for the imported data.
|
|
bool | generate_UV_mappings = false |
| | Whether to generate UV texture coordinates if they are missing.
|
|
GeoReferenceProperties | geo_reference_behavior = GeoReferenceProperties::e_data_geo_referenced |
| | How geo-referencing is resolved during import.
|
|
Vector< cast< uint01 >(GeometryType::e_geometry_type_size), IncludeProperties > | geometry_properties |
| | Per-geometry-type inclusion/generation settings.
|
|
String | icon |
| | Optional dataset icon identifier.
|
|
bool | ignore_invisible = false |
| | Whether to skip invisible objects during import/export.
|
|
bool | is_auto_save = false |
| | Whether this operation is an automatic save (not user-initiated).
|
|
bool | is_user_action = false |
| | Whether this operation was triggered directly by a user action.
|
|
bool | join_identical_vertices = false |
| | Whether to merge vertices with identical positions and attributes.
|
|
bool | load_images_to_memory = true |
| | Whether to load referenced images into memory rather than streaming from disk.
|
|
bool | multithread = true |
| | Whether to allow multithreaded import/export processing.
|
|
String | name |
| | Optional dataset name.
|
|
NormalGenerationModel | normal_generation_mode = e_smooth |
| | The model used when generating vertex normals.
|
|
Angle< fltp08 > | normal_smooth_angle = Constant<Angle<fltp08>>::Invalid |
| | Maximum angle between faces for smooth normal blending. Invalid means use factory default.
|
|
bool | optimize_meshes = false |
| | Whether to optimize mesh data for rendering performance.
|
|
bool | optimize_model_hierarchy = false |
| | Whether to simplify the model hierarchy by removing redundant nodes.
|
|
PasswordString | owner_password |
| | Owner-level password for encrypted file formats.
|
|
bool | preserve_high_precision_values = false |
| | Whether to preserve high-precision (fltp08) vertex values.
|
|
bool | show_dialog_for_export = true |
| | Whether to show an options dialog before exporting.
|
|
bool | show_dialog_for_import = true |
| | Whether to show an options dialog before importing.
|
|
bool | show_properties_after_complete = false |
| | Whether to show a properties dialog after the operation completes.
|
|
Matrix< fltp08 > | transform |
| | A top-level transform applied to all imported/exported data.
|
|
bool | tree_is_visible = true |
| | Whether the imported model tree is initially visible.
|
|
bool | triangulate = false |
| | Whether to convert all polygons to triangles.
|
|
bool | two_sided = false |
| | Whether materials should default to two-sided rendering.
|
|
UnitManager | units |
| | Unit definitions for coordinate and measurement conversion.
|
|
bool | use_cameras = true |
| | Whether to import camera objects from the file.
|
|
PasswordString | user_password |
| | User-level password for encrypted file formats.
|
|
bool | validate_geometry = false |
| | Whether to validate geometry integrity after import.
|
|
Vector< cast< uint01 >(VertexProperty::Vertex_Property_Size), IncludeProperties > | vector_properties |
| | Per-vertex-property inclusion/generation settings.
|
|
WindingMode | wind_triangles = WindingMode::e_no_winding |
| | Triangle winding mode to enforce during post-processing.
|
|
bool | wireframe = false |
| | Whether to render meshes in wireframe mode.
|
User-defined options that define preferences for importing and exporting using IOFactory objects.
Stores all configurable parameters for file I/O operations, including vertex property handling, geometry type filtering, coordinate projections, mesh post-processing flags, and ASCII-specific settings. Inherits from INIInterface to support serialization to and from INI configuration files.
- See also
- IOFactory, ModelFactory, FactoryFeatures
Definition at line 57 of file FactoryOptions.h.