SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_extension_vtk_mesh_Geometry_h
11 #define smtk_extension_vtk_mesh_Geometry_h
13 #include "smtk/extension/vtk/geometry/Geometry.h"
14 #include "smtk/extension/vtk/mesh/vtkSMTKMeshExtModule.h"
16 #include "smtk/geometry/Cache.h"
39 using DataType = Superclass::DataType;
41 Geometry(
const std::shared_ptr<smtk::mesh::Resource>& parent);
44 smtk::geometry::Resource::Ptr resource()
const override;
45 void queryGeometry(
const smtk::resource::PersistentObject::Ptr& obj, CacheEntry& entry)
47 int dimension(
const smtk::resource::PersistentObject::Ptr& obj)
const override;
48 Purpose purpose(
const smtk::resource::PersistentObject::Ptr& obj)
const override;
49 void update()
const override;
51 void geometricBounds(
const DataType&,
BoundingBox& bbox)
const override;
54 std::weak_ptr<smtk::mesh::Resource> m_parent;
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
A VTK geometry provider for smtk mesh resources.
Definition: Geometry.h:32
A base class for geometry providers that will supply VTK data.
Definition: Geometry.h:51
std::array< double, 6 > BoundingBox
A bounding box is represented as an array of 6 numbers, ordered xmin, xmax, ymin, ymax,...
Definition: Geometry.h:82
#define smtkTypeMacro(...)
Add typedefs to a class for identifcation.
Definition: SharedFromThis.h:128
A geometry provider that uses a cache to answer queries.
Definition: Cache.h:40
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