16 #include <vtkVectorText.h>
17 #include <vtkFollower.h>
18 #include <vtkPolyDataMapper.h>
19 #include <vtkProperty.h>
20 #include <vtkRenderer.h>
21 #include <vtkCamera.h>
22 #include <vtkRenderWindow.h>
34 RegionOfInterestMetricRep::RegionOfInterestMetricRep()
41 mGraphicalBox.reset();
46 return boost::dynamic_pointer_cast<RegionOfInterestMetric>(
mMetric);
58 if (!mGraphicalBox && this->
getView())
61 mGraphicalBox->setRenderWindow(this->
getView()->getRenderWindow());
66 mGraphicalBox->setBoundingBox(metric->getROI().getBox());
67 mGraphicalBox->setPosition(Transform3D::Identity());
73 mGraphicalBox->setInteractive(
false);