SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
Identify model 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::model::Entity *ent, std::unordered_set< smtk::resource::PersistentObject * > &footprint, std::unique_ptr< smtk::geometry::Geometry > &geom, bool stopRecursingAtGeometry=true) const |
Identify model components highlighted to display a selection.
|
inlineoverride |
Add the "selection footprint" of selectedObject to the footprint set.
If a model entity has geometry, it is its own footprint. Otherwise,
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.