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();
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);
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.