SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_markup_DiscreteGeometry_h
11 #define smtk_markup_DiscreteGeometry_h
13 #include "smtk/markup/SpatialData.h"
15 #include "smtk/operation/Operation.h"
17 #include "vtkDataObject.h"
18 #include "vtkSmartPointer.h"
39 template<
typename... Args>
60 virtual void assignedIds(std::vector<AssignedIds*>& assignments)
const { (void)assignments; }
63 virtual vtkSmartPointer<vtkDataObject> shape()
const;
101 bool updateChildren(vtkSmartPointer<vtkDataObject> newShape,
ShapeOptions& options);
107 #endif // smtk_markup_DiscreteGeometry_h
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
Represent a discrete geometric shape as a modeling entity.
Definition: DiscreteGeometry.h:33
Markup nodes that have spatial extents.
Definition: SpatialData.h:36
A base class for subclasses of DiscreteGeometry to use when passing options to updateChildren() and s...
Definition: DiscreteGeometry.h:72
#define smtkTypeMacro(...)
Add typedefs to a class for identifcation.
Definition: SharedFromThis.h:128
virtual void assignedIds(std::vector< AssignedIds * > &assignments) const
Return all of the IdSpace allotments this instance has.
Definition: DiscreteGeometry.h:60
smtk::operation::Operation::Result trackedChanges
An operation result to insert modified objects related to the shape being assigned to this node.
Definition: DiscreteGeometry.h:77
#define smtkSuperclassMacro(...)
Add a typedef to the superclass of this class.
Definition: SharedFromThis.h:147