Forward declaration of ManagedDesignCommand class.
More...
|
|
ManagedDesignCommand * | m_command |
| | The managed design command to execute.
|
|
DesignObjectLookup * | m_lookup |
| | The design object lookup for resolving objects.
|
|
uint04 | m_forward_position = 0U |
| | Current forward index position used in breadth-first traversal.
|
|
Buffer< std::pair< Model, uint04 > > | m_model_parent_stack |
| | Stack tracking parent models and their child indices for post-processing.
|
|
Buffer< Model > | m_model_stack |
| | The stack of models pending traversal.
|
|
| enum | ParseResult { e_continue_parsing
, e_do_not_parse_children
, e_finish_parsing
} |
| | The result returned by process functions to control iteration flow. More...
|
|
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.
|
Forward declaration of ManagedDesignCommand class.
Used to execute a ManagedDesignCommand
Definition at line 49 of file DesignCommandExecutor.h.
◆ DesignParameterExecutor()
Constructs a DesignParameterExecutor with the given command and lookup.
- Parameters
-
| [in] | command | The managed design command to execute. |
| [in] | lookup | The design object lookup used to resolve design objects. |
◆ process() [1/3]
Processes a model by applying the design command to it.
- Parameters
-
| [in] | model | The model to process. |
- Returns
- ParseResult indicating whether to continue or stop parsing.
Reimplemented from ModelIterator.
◆ process() [2/3]
Processes a model and its associated geometry by applying the design command.
- Parameters
-
| [in] | model | The model to process. |
| [in] | geo | The geometry associated with the model. |
- Returns
- ParseResult indicating whether to continue or stop parsing.
Reimplemented from ModelIterator.
◆ process() [3/3]
Processes a model and its associated material by applying the design command.
- Parameters
-
| [in] | model | The model to process. |
| [in] | mat | The material associated with the model. |
- Returns
- ParseResult indicating whether to continue or stop parsing.
Reimplemented from ModelIterator.
◆ processDesignCommand()
| virtual bool DesignParameterExecutor::processDesignCommand |
( |
DesignObject & | object | ) |
|
|
protectedvirtual |
Applies the managed design command to the given design object.
- Parameters
-
| [in] | object | The design object to apply the command to. |
- Returns
- True if the command was successfully applied, false otherwise.
◆ shouldProcess()
| bool DesignParameterExecutor::shouldProcess |
( |
DesignObject & | object | ) |
|
Checks whether the given design object should be processed by this executor.
- Parameters
-
| [in] | object | The design object to evaluate. |
- Returns
- True if the object should be processed, false otherwise.
The documentation for this class was generated from the following file: