34#include <NDEVR/DesignParameter.h>
35#include <NDEVR/DesignObject.h>
36#include <NDEVR/ModelIterator.h>
57 void parseAllModels() final override;
95 void parseAllModels() final override;
101 void _accumulate(const
String& data);
123 bool is_normal_prop = false;
124 bool add_commas = false;
125 bool recursive_matrix = false;
126 bool use_defaults = false;
127 bool include_unit_symbols = true;
134 bool is_matrix_prop = false;
135 bool is_design_index = false;
136 bool is_vertex_index = false;
137 bool is_special_field = false;
161 const String& currentValue()
const;
175 bool is_normal_prop =
false;
176 bool recursive =
true;
177 bool recursive_matrix =
false;
178 bool use_defaults =
false;
184 bool is_matrix_prop =
false;
185 bool is_design_index =
false;
186 bool is_vertex_index =
false;
187 bool is_special_field =
false;
A bitset that stores 8 bits (elements with only two possible values: 0 or 1, true or false,...
Definition BitFlag.hpp:55
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
Provides a constant, unmodifiable pointer that has shared ownership of a dynamically allocated object...
Definition GraphicsPipeline.h:42
A low-level database object that can be used to access general stored properties within the NDEVR Mod...
Definition DesignObject.h:67
DesignObjectType
Definition DesignObject.h:74
Searches a model heirarchy and pulls all parameter data based on the AccumationMode settings.
Definition DesignParameterAccumulator.h:67
void setToDefaults(const DesignObject &object)
void accumulate(fltp08 value, const uint01 &dim=X, bool to_unit=true)
AccumulateMode
Definition DesignParameterAccumulator.h:70
DesignObject::DesignObjectType type()
Definition DesignParameterAccumulator.h:86
void addToTotal(fltp08 value)
DesignParameterAccumulator(const DesignParameter &design_parameter, BitFlag mode=BitFlag(0))
void setCollectVerticesByPrimitive(PrimitiveProperty vertex_collection_primitive)
void accumulate(const DesignObject &object, fltp08 known_avg=Constant< fltp08 >::Invalid)
Searches a model heirarchy and pulls a list of available parameters along with the count for how many...
Definition DesignParameterAccumulator.h:50
ParseResult process(Model &model, Geometry &geo) final override
ParseResult process(Model &model, Material &mat) final override
void addParameter(const String ¶meter)
ParseResult process(Model &model) final override
A definition of data that is logically stored in the Model heirarchy. Data could be a property of a M...
Definition DesignParameter.h:46
Classes for conveniently setting parameters for a series of DesignObjects in the model hierarchy.
Definition DesignParameterAccumulator.h:146
Buffer< fltp08 > float_values
Definition DesignParameterAccumulator.h:181
void setToDefaults(const DesignObject &object)
Buffer< String > string_values
Definition DesignParameterAccumulator.h:179
DesignParameterSetter(const DesignParameter &design_parameter, SetMode mode)
DesignParameter parameter
Definition DesignParameterAccumulator.h:169
String default_value
Definition DesignParameterAccumulator.h:174
SetMode
Definition DesignParameterAccumulator.h:149
SetMode set_mode
Definition DesignParameterAccumulator.h:170
Buffer< uint04 > indices
Definition DesignParameterAccumulator.h:180
A hash-based key-value store, useful for quick associative lookups. Key features include:
Definition Dictionary.h:61
A core class within the model heirarchy containing vertex-based data (Usually 3D data) within a set c...
Definition Geometry.h:64
Container responsible for storing and setting the appearance of a Model or Geometry within the NDEVR ...
Definition Material.h:51
Definition Matrix.hpp:176
A core class that represents a node on model heirarchy. This node may contain a Geometry or one or mo...
Definition Model.h:58
A base class for easily transversing a model heirarchy, applying an overritten function at each level...
Definition ModelIterator.h:43
ParseResult
Definition ModelIterator.h:46
The core String class for the NDEVR API.
Definition String.h:69
A virtual storage type that is used with Table class to store data where the actual mechanism for sto...
Definition TableColumn.h:76
PrimitiveProperty
Definition DesignObjectBase.h:44
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:80
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:96
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:149
Defines for a given type (such as sint04, fltp08, UUID, etc) a maximum, minimum, and reserved 'invali...
Definition BaseValues.hpp:233
A definition of how to describe and display data. Units can be of any type.
Definition Unit.h:36