11 #ifndef smtk_mesh_BoundingBox_h
12 #define smtk_mesh_BoundingBox_h
14 #include "smtk/CoreExports.h"
16 #include "smtk/geometry/queries/BoundingBox.h"
18 #include "smtk/mesh/utility/Metrics.h"
32 smtk::mesh::Resource::Ptr meshResource =
33 std::dynamic_pointer_cast<smtk::mesh::Resource>(
object);
36 return utility::extent(meshResource->meshes());
39 smtk::mesh::Component::Ptr meshComponent =
40 std::dynamic_pointer_cast<smtk::mesh::Component>(
object);
43 return utility::extent(meshComponent->mesh());
46 return this->Parent::operator()(
object);