34#include <NDEVR/DesignObjectBase.h>
35#include <NDEVR/AsciiOptions.h>
37#include <NDEVR/INIInterface.h>
38#include <NDEVR/UnitManager.h>
39#include <NDEVR/GenericOption.h>
40#include <NDEVR/ApplicationOptions.h>
62 , e_include_default_precision = 1
63 , e_include_high_precision = 2
64 , e_generate_default_precision = 3
65 , e_generate_high_precision = 4
75 , e_merge_and_replace_from_file
76 , e_merge_and_ignore_from_file
81 , e_user_place_with_cursor
82 , e_user_geo_reference_dialog
84 , e_prompt_user_no_existing_reference
94 return (vector_properties[cast<uint01>(property)] != IncludeProperties::e_ignore);
98 return (vector_properties[cast<uint01>(property)] >= IncludeProperties::e_generate_default_precision);
104 if (property >= GeometryType::e_geometry_type_size)
106 return (geometry_properties[cast<uint01>(property)] != IncludeProperties::e_ignore);
113 return !(*
this == options);
127 ,
"deployment_models"
133 ,
"station_decoration"
155 bool flatten_model =
false;
156 bool center_model =
false;
157 bool multithread =
true;
158 bool tree_is_visible =
true;
159 bool application_locked =
false;
160 bool convert_degenerates =
false;
161 bool optimize_meshes =
false;
162 bool combine_mesh_instances =
false;
163 bool optimize_model_heirarchy =
false;
164 bool find_invalid_data =
false;
165 bool join_identical_vertices =
false;
166 bool fix_inward_normals =
false;
167 bool generate_UV_mappings =
false;
168 bool generate_trees =
true;
169 bool flip_UV_coordinates =
false;
170 bool ignore_invisible =
false;
171 bool two_sided =
false;
172 bool wireframe =
false;
173 bool triangulate =
false;
174 bool validitate_geometry =
false;
175 bool preserve_high_precision_values =
false;
176 bool use_cameras =
true;
177 bool is_auto_save =
false;
182 String m_selected_ascii_options_all;
The primary angle storage class for this API. Stores an angle in an optimized format.
Definition StringStream.h:408
The default object to store data of any type that should persist through sessions of the application.
Definition Button.h:57
Storage class for all IO options related to an Ascii file output used by an IOFactory services.
Definition AsciiOptions.h:43
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:59
A hash-based key-value store, useful for quick associative lookups.
Definition Dictionary.h:59
User-defined options that define preferences for importing and exporting using IOFactory objects.
Definition FactoryOptions.h:49
Matrix< fltp08 > transform
Definition FactoryOptions.h:137
RGBColor default_color
Definition FactoryOptions.h:146
virtual void getINI(INIFactory &factory) override
bool useHighPrecision(GeometryType property) const
void setupDefaultMaterial(GeometryType type, Material &mat) const
Dictionary< String, GenericOptionGroup > custom_options
Definition FactoryOptions.h:136
String icon
Definition FactoryOptions.h:139
UnitManager units
Definition FactoryOptions.h:142
ImportMergeProperties
Definition FactoryOptions.h:70
void postProcess(Model &model, ProgressInfo *progress, const void *lock) const
static ApplicationOption< bool > DefaultExportOnlyVisible
Definition FactoryOptions.h:180
NormalGenerationModel
Definition FactoryOptions.h:54
bool generateValue(GeometryType property) const
ImportMergeProperties duplicate_name_behavior
Definition FactoryOptions.h:152
bool generateValue(VertexProperty property) const
Definition FactoryOptions.h:96
IncludeProperties
Definition FactoryOptions.h:60
bool useValue(VertexProperty property) const
Definition FactoryOptions.h:92
GeoReferenceProperties geo_reference_behavior
Definition FactoryOptions.h:154
void prepareForINI(INIFactory &factory) override
void finishReadingINI(INIFactory &factory) override
bool operator!=(const FactoryOptions &options) const
Definition FactoryOptions.h:111
bool operator==(const FactoryOptions &options) const
bool useHighPrecision(VertexProperty property) const
AsciiOptions ascii
Definition FactoryOptions.h:120
String user_password
Definition FactoryOptions.h:140
String name
Definition FactoryOptions.h:138
String owner_password
Definition FactoryOptions.h:141
GeoReferenceProperties
Definition FactoryOptions.h:79
Vector< cast< uint01 >(GeometryType::e_geometry_type_size), IncludeProperties > geometry_properties
Definition FactoryOptions.h:179
ImportMergeProperties duplicate_uuid_behavior
Definition FactoryOptions.h:153
Vector< cast< uint01 >(VertexProperty::Vertex_Property_Size), IncludeProperties > vector_properties
Definition FactoryOptions.h:178
bool canPostProcessVertices() const
bool useValue(GeometryType property) const
Definition FactoryOptions.h:102
Contains methods for easily reading and writing to an INI file including efficient casting,...
Definition INIReader.h:64
Contains methods for easily reading and writing to an INI file including.
Definition INIInterface.h:45
Definition Matrix.hpp:176
A core class that represents a node on model heirarchy. This node may contain a Geometry or.
Definition Model.h:58
A light-weight base class for Log that allows processes to update, without the need for.
Definition ProgressInfo.hpp:48
Represents a color in the RGB space with optional alpha transparency.
Definition RGBColor.h:53
The core String class for the software.
Definition String.h:47
Logic for reading or writing to a string or a user friendly, TranslatedString.
Definition StringStream.h:118
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
Definition UUID.h:62
Handles a grouping of units that can describe any number of data categories.
Definition UnitManager.h:142
A fixed-size array with better performance compared to dynamic containers.
Definition Vector.hpp:60
VertexProperty
Definition DesignObjectBase.h:52
GeometryType
Definition DesignObjectBase.h:86
float fltp04
Defines an alias representing a 4 byte floating-point number.
Definition BaseValues.hpp:125
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:78
CompressionMode
Logical information about the type of compression implemented or requested.
Definition Compressor.h:15
WindingMode
Definition DesignObjectBase.h:97
Defines for a given type (such as sint04, fltp08, UUID, etc) a maximum, minimum, and reserved.
Definition BaseValues.hpp:230