SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Public Member Functions | List of all members
smtk::model::AuxiliaryGeometryExtension Class Referenceabstract

A base class for extensions that provide methods to tessellate or mesh auxiliary geometry entities. More...

#include <AuxiliaryGeometryExtension.h>

Inheritance diagram for smtk::model::AuxiliaryGeometryExtension:
[legend]
Collaboration diagram for smtk::model::AuxiliaryGeometryExtension:
[legend]

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.
 
- Public Member Functions inherited from smtk::common::Extension
 smtkTypeMacroBase (Extension)
 

Additional Inherited Members

- Static Public Member Functions inherited from smtk::common::Extension
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.
 

Detailed Description

A base class for extensions that provide methods to tessellate or mesh auxiliary geometry entities.


The documentation for this class was generated from the following files: