SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
A base class for extensions that provide methods to tessellate or mesh auxiliary geometry entities. More...
#include <AuxiliaryGeometryExtension.h>
Public Member Functions | |
smtkTypeMacro (AuxiliaryGeometryExtension) | |
smtkSuperclassMacro (smtk::common::Extension) | |
smtkSharedFromThisMacro (smtk::common::Extension) | |
virtual bool | canHandleAuxiliaryGeometry (smtk::model::AuxiliaryGeometry &entity, std::vector< double > &bboxOut)=0 |
Returns true (and sets bboxOut) if entity's tessellation can be created. | |
![]() | |
smtkTypeMacroBase (Extension) | |
Additional Inherited Members | |
![]() | |
static bool | registerExtension (const std::string &name, std::function< Extension::Ptr(void)> ctor, bool oneShot=true) |
Register an extension with a unique name. More... | |
static bool | unregisterExtension (const std::string &name) |
Remove an extension from the registry. | |
static void | visitAll (std::function< std::pair< bool, bool >(const std::string &, Extension::Ptr)> visitor) |
Call the given function on each registered extension. More... | |
template<typename T > | |
static void | visit (std::function< std::pair< bool, bool >(const std::string &, T)> visitor) |
Iterate over all the extensions that are subclasses of the given type. More... | |
static Extension::Ptr | find (const std::string &name, bool removeOneShot=true) |
Find an extension given a specific name. | |
template<typename T > | |
static T::Ptr | findAs (const std::string &name) |
Find the first extension with a given name and type. | |
A base class for extensions that provide methods to tessellate or mesh auxiliary geometry entities.