API Documentation
|
#include <DesignParameterAccumulator.h>
Public Types | |
enum | SetMode { e_set_from_strings } |
Public Types inherited from ModelIterator | |
enum | ParseResult { e_continue_parsing , e_do_not_parse_children , e_finish_parsing } |
Public Member Functions | |
DesignParameterSetter (const DesignParameter &design_parameter, SetMode mode) | |
ParseResult | process (Model &model) final override |
ParseResult | process (Model &model, Geometry &geo) final override |
ParseResult | process (Model &model, Material &mat) final override |
void | _parseAll () final override |
void | setToDefaults (const DesignObject &object) |
void | clear () |
Public Member Functions inherited from ModelIterator | |
ModelIterator () | |
ModelIterator (const Model &model) | |
ModelIterator (Buffer< Model > models) | |
void | parseAll (const Model &model) |
void | parseAll (const Buffer< Model > &models) |
void | parseAll () |
ParseResult | parseNext () |
Model | currentModel () const |
Public Attributes | |
Matrix< fltp08 > | transform = Matrix<fltp08>(1.0) |
DesignParameter | parameter |
SetMode | set_mode |
uint04 | total_count = 0 |
uint04 | set_offset = 0 |
uint04 | max_num_of_values = Constant<uint04>::Max |
String | default_value |
bool | is_normal_prop = false |
bool | recursive = true |
bool | recursive_matrix = false |
bool | use_defaults = false |
Buffer< String > | string_values |
Buffer< uint04 > | indices |
Buffer< fltp08 > | float_values |
Public Attributes inherited from ModelIterator | |
std::function< bool(const Model &, const Geometry &)> | geo_filter |
std::function< bool(const Model &, const Material &)> | material_filter |
std::function< bool(const Model &)> | model_filter |
bool | process_material = false |
bool | process_geometry = true |
bool | process_model = true |
bool | post_process_model = false |
bool | depth_first = true |
bool | is_recursive = true |
bool | use_unit = false |
PrimitiveProperty | material_property = PrimitiveProperty::Solid |
Protected Member Functions | |
const String & | currentValue () const |
bool | _setupValues (const DesignObject &object) |
void | _set (DesignObject &object) |
Matrix< fltp08 > | _matrix (const DesignObject &object) const |
void | _setVertices (Geometry &geo, TableColumn &column) |
void | _set (DesignObject &object, uint04 row, TableColumn &column) |
Protected Member Functions inherited from ModelIterator | |
virtual ParseResult | postProcess (Model &model) |
void | removeFromPostProcessStack () |
Model | popNextModel () |
Protected Attributes | |
fltp08 | total_value_c = 0.0 |
bool | is_matrix_prop = false |
bool | is_design_index = false |
bool | is_vertex_index = false |
bool | is_special_field = false |
DesignObject::DesignObjectType | m_design_type = DesignObject::DesignObjectType::e_model |
uint04 | property_index = Constant<uint04>::NaN |
Protected Attributes inherited from ModelIterator | |
Buffer< Model > | m_model_stack |
Buffer< uint04 > | m_model_parent_child_count |
Buffer< Model > | m_model_parent_stack |
enum SetMode |
|
explicit |
|
protected |
|
finaloverridevirtual |
Reimplemented from ModelIterator.
|
protected |
|
protected |
|
protected |
|
protected |
void clear | ( | ) |
|
protected |
|
finaloverridevirtual |
Reimplemented from ModelIterator.
|
finaloverridevirtual |
Reimplemented from ModelIterator.
|
finaloverridevirtual |
Reimplemented from ModelIterator.
void setToDefaults | ( | const DesignObject & | object | ) |
String default_value |
|
protected |
|
protected |
bool is_normal_prop = false |
|
protected |
|
protected |
|
protected |
DesignParameter parameter |
bool recursive = true |
bool recursive_matrix = false |
SetMode set_mode |
uint04 set_offset = 0 |
uint04 total_count = 0 |
|
protected |
bool use_defaults = false |