SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
Identify b-rep components highlighted to display a selection. More...
#include <SelectionFootprint.h>
Public Member Functions | |
bool | operator() (smtk::resource::PersistentObject &selectedObject, std::unordered_set< smtk::resource::PersistentObject * > &footprint, const smtk::geometry::Backend &backend) const override |
Add the "selection footprint" of selectedObject to the footprint set. More... | |
bool | addComponentFootprint (smtk::markup::Component *node, std::unordered_set< smtk::resource::PersistentObject * > &footprint, std::unique_ptr< smtk::geometry::Geometry > &geom, bool stopRecursingAtGeometry=true) const |
Identify b-rep components highlighted to display a selection.
|
inlineoverride |
Add the "selection footprint" of selectedObject to the footprint set.
If a node has geometry, it is its own footprint. Otherwise, we may add nodes connected via arcs until nodes with geometry are identified.
Returns true if at least one persistent object was added to (or was already in) the footprint set — either selectedObject itself or some other object.