SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_model_UseEntity_h
11 #define smtk_model_UseEntity_h
14 #include "smtk/model/EntityRefArrangementOps.h"
61 T boundingShellEntities()
const;
63 T shellEntities()
const;
70 UseEntity& addShellEntities(
const T& shellContainer);
92 for (
typename T::const_iterator it = shellContainer.begin(); it != shellContainer.end(); ++it)
102 #endif // smtk_model_UseEntity_h
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
T shellEntities() const
Return the shells forming the boundary of this entity-use in a container of the specified type.
Definition: UseEntity.h:82
T boundingShellEntities() const
Return the shells whose boundary this entity-use participates in, in a container of the specified typ...
Definition: UseEntity.h:74
Orientation
Constants that describe a cell-use's orientation relative to its parent cell.
Definition: ArrangementKind.h:39
@ HAS_SHELL
How this cell is bounded by cells of lower dimension or how a use participates in a shell.
Definition: ArrangementKind.h:53
A entityref subclass with methods specific to cell entities.
Definition: CellEntity.h:30
@ INCLUDES
How another cell is contained in the interior of this cell.
Definition: ArrangementKind.h:51
std::vector< smtk::model::UseEntity > UseEntities
Definition: PublicPointerDefs.h:213
UseEntity & addShellEntities(const T &shellContainer)
Add the shells in the shellContainer to this entity-use (which form its boundary).
Definition: UseEntity.h:90
UseEntity & addShellEntity(const ShellEntity &shell)
Add a lower-dimensional shell to this use.
Definition: UseEntity.cxx:105
A entityref subclass that provides methods specific to entity-use records.
Definition: UseEntity.h:53
A entityref subclass with methods specific to shell entities.
Definition: ShellEntity.h:33
#define SMTK_ENTITYREF_CLASS(thisclass, superclass, typecheck)
A macro to implement mandatory EntityRef-subclass constructors.
Definition: EntityRef.h:43
static void appendAllRelations(const EntityRef &c, ArrangementKind k, T &result)
Append all the relations of kind k to result.
Definition: EntityRefArrangementOps.h:62
A lightweight entityref pointing to a model entity's resource.
Definition: EntityRef.h:112