SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_session_mesh_Session_h
11 #define smtk_session_mesh_Session_h
13 #include "smtk/session/mesh/Exports.h"
14 #include "smtk/session/mesh/Facade.h"
15 #include "smtk/session/mesh/Topology.h"
17 #include "smtk/mesh/core/Resource.h"
42 void addTopology(
Topology t) { m_topologies.push_back(t); }
43 void addTopology(
const std::shared_ptr<smtk::session::mesh::Resource>& modelResource,
Topology t);
44 Topology* topology(
const std::shared_ptr<smtk::session::mesh::Resource>& modelResource);
45 Topology* topology(
const std::shared_ptr<const smtk::session::mesh::Resource>& modelResource);
49 Facade& facade() {
return m_facade; }
57 int depth = -1)
override;
59 std::vector<Topology> m_topologies;
67 #endif // smtk_session_mesh_Session_h
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
A facade for naming model entities from mesh properties.
Definition: Facade.h:33
A base class for bridging modelers into SMTK.
Definition: Session.h:118
A entityref subclass that provides methods specific to models.
Definition: Model.h:30
#define smtkCreateMacro(...)
Add static create() methods to a class.
Definition: SharedFromThis.h:173
A tree for representing hierarchical relationships between mesh sets.
Definition: Topology.h:37
#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
std::string defaultFileExtension(const smtk::model::Model &) const override
Return a filename extension (including ".") appropriate for saving model.
Definition: Session.h:47
unsigned long SessionInfoBits
Bit-vector combinations of SessionInformation values for requesting information to transcribe.
Definition: Session.h:34
#define smtkSuperclassMacro(...)
Add a typedef to the superclass of this class.
Definition: SharedFromThis.h:147
A lightweight entityref pointing to a model entity's resource.
Definition: EntityRef.h:112