SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
11 #ifndef smtk_mesh_Component_h
12 #define smtk_mesh_Component_h
14 #include "smtk/CoreExports.h"
18 #include "smtk/resource/Component.h"
28 typedef std::vector<smtk::mesh::Component> ComponentList;
29 typedef std::set<smtk::mesh::Component> Components;
55 static std::shared_ptr<Component> create(
77 std::string name()
const override;
84 std::weak_ptr<smtk::mesh::Resource> m_resource;
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
bool setId(const smtk::common::UUID &myID) override
Set the component's id.
Definition: Component.h:71
smtk::shared_ptr< smtk::mesh::Resource > ResourcePtr
Definition: PublicPointerDefs.h:363
const smtk::common::UUID & id() const override
Access the component's id.
Definition: Component.h:66
A lightweight object for representing meshset information as a resource component.
Definition: Component.h:35
#define smtkSharedFromThisMacro(...)
A macro to help with derived classes whose bases enable shared_from_this().
Definition: SharedFromThis.h:250
#define smtkTypeMacro(...)
Add typedefs to a class for identifcation.
Definition: SharedFromThis.h:128
#define smtkSuperclassMacro(...)
Add a typedef to the superclass of this class.
Definition: SharedFromThis.h:147
Component is the base class for records stored in an smtk::resource::Resource.
Definition: Component.h:43
An abstract base class for SMTK resources and their components.
Definition: PersistentObject.h:39
smtk::shared_ptr< smtk::resource::Resource > ResourcePtr
Definition: PublicPointerDefs.h:302