37 #include <vtkVectorText.h> 38 #include <vtkFollower.h> 39 #include <vtkPolyDataMapper.h> 40 #include <vtkProperty.h> 41 #include <vtkRenderer.h> 42 #include <vtkCamera.h> 43 #include <vtkRenderWindow.h> 55 RegionOfInterestMetricRep::RegionOfInterestMetricRep()
62 mGraphicalBox.reset();
79 if (!mGraphicalBox && this->
getView())
82 mGraphicalBox->setRenderWindow(this->
getView()->getRenderWindow());
87 mGraphicalBox->setBoundingBox(metric->getROI().getBox());
88 mGraphicalBox->setPosition(Transform3D::Identity());
94 mGraphicalBox->setInteractive(
false);
static boost::shared_ptr< REP > wrap_new(REP *object, QString uid)
Rep for visualizing a RegionOfInterestMetric.
boost::shared_ptr< class RegionOfInterestMetricRep > RegionOfInterestMetricRepPtr
boost::shared_ptr< class RegionOfInterestMetric > RegionOfInterestMetricPtr
static RegionOfInterestMetricRepPtr New(const QString &uid="")
virtual void onModifiedStartRender()
Namespace for all CustusX production code.