SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
11 #ifndef smtk_vtk_geometry_Geometry_h
12 #define smtk_vtk_geometry_Geometry_h
14 #include "smtk/extension/vtk/geometry/vtkSMTKGeometryExtModule.h"
16 #include "smtk/extension/vtk/geometry/Backend.h"
17 #include "smtk/geometry/GeometryForBackend.h"
19 #include "vtkDataObject.h"
20 #include "vtkSmartPointer.h"
55 using DataType = vtkSmartPointer<vtkDataObject>;
82 static void addColorArray(
84 const std::vector<double>& color,
85 const std::string& name =
"entity color");
102 static bool addTransformArrayIfPresent(
104 const std::shared_ptr<smtk::resource::PersistentObject>&
object,
105 const std::string& outputArrayName =
"transform");
116 #endif // smtk_vtk_geometry_Geometry_h
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
A base class for objects which can provide renderable geometry in a specific format.
Definition: GeometryForBackend.h:39
@ Surface
Geometry is a set of cells representing a simulation manifold.
Definition: Geometry.h:64
A base class for geometry providers that will supply VTK data.
Definition: Geometry.h:51
A Coordinate reference frame described in a hierarchical fashion with respect to its parent component...
Definition: CoordinateFrame.h:32
This class is used to indicate VTK exists as a consumer of renderable geometry.
Definition: Backend.h:38
#define smtkTypeMacro(...)
Add typedefs to a class for identifcation.
Definition: SharedFromThis.h:128
const Backend & backend() const override
Every provider must indicate the backend for which it is specialized.
Definition: Geometry.h:69
Purpose
The contextual purpose of geometry supplied by the provider.
Definition: Geometry.h:62
#define smtkSuperclassMacro(...)
Add a typedef to the superclass of this class.
Definition: SharedFromThis.h:147
smtk::shared_ptr< smtk::resource::PersistentObject > PersistentObjectPtr
Definition: PublicPointerDefs.h:292
@ Glyph
Geometry is a set of points with scalars representing orientation, scale, etc.
Definition: Geometry.h:65