Searches a model hierarchy and pulls a list of available parameters along with the count for how many instances of that parameter are present.
More...
|
|
Dictionary< String, uint04 > | parameter_count |
| | Maps each parameter name to the number of occurrences found.
|
|
Buffer< DesignParameter > | parameters |
| | The collected list of unique design parameters found.
|
|
bool | depth_first = true |
| | Whether to traverse depth-first (true) or breadth-first (false).
|
|
std::function< bool(const Model &, const Geometry &)> | geo_filter |
| | Optional filter predicate for geometry processing. Returns true to include.
|
|
bool | is_recursive = true |
| | Whether to recurse into child models.
|
|
std::function< bool(const Model &, const Material &)> | material_filter |
| | Optional filter predicate for material processing. Returns true to include.
|
|
std::function< bool(const Model &)> | model_filter |
| | Optional filter predicate for model processing. Returns true to include.
|
|
bool | post_process_model = false |
| | Whether to invoke postProcess() after a model's children have been parsed.
|
|
bool | process_geometry = true |
| | Whether to invoke process() for each Geometry on a model.
|
|
bool | process_material = false |
| | Whether to invoke process() for each Material on a model.
|
|
bool | process_model = true |
| | Whether to invoke process() for the model itself.
|
|
bool | use_unit = false |
| | Whether to apply unit conversions during processing.
|
|
|
void | _parseAllModels () final override |
| | Internal entry point that begins parsing all models in the hierarchy.
|
Searches a model hierarchy and pulls a list of available parameters along with the count for how many instances of that parameter are present.
Definition at line 50 of file DesignParameterAccumulator.h.
◆ addParameter()
| void DesignParameterFinder::addParameter |
( |
const StringView & | parameter | ) |
|
Manually adds a parameter by name to the finder's collection.
- Parameters
-
| [in] | parameter | The name of the parameter to add. |
◆ process() [1/3]
Processes a single Model node during iteration, collecting its parameters.
- Parameters
-
| [in] | model | The model to process. |
- Returns
- ParseResult indicating whether to continue or stop iteration.
Reimplemented from ModelIterator.
◆ process() [2/3]
Processes a Geometry node associated with a Model during iteration.
- Parameters
-
| [in] | model | The parent model of the geometry. |
| [in] | geo | The geometry to process. |
- Returns
- ParseResult indicating whether to continue or stop iteration.
Reimplemented from ModelIterator.
◆ process() [3/3]
Processes a Material node associated with a Model during iteration.
- Parameters
-
| [in] | model | The parent model of the material. |
| [in] | mat | The material to process. |
- Returns
- ParseResult indicating whether to continue or stop iteration.
Reimplemented from ModelIterator.
The documentation for this class was generated from the following file: