36 mesh->setColor(QColor(
"cornflowerblue"));
41 ViewPtr view = mViewService->get3DView();
46 mRep->getMesh()->setVtkPolyData(polyData);
51 ViewPtr view = mViewService->get3DView();
53 view->removeRep(mRep);
MeshInView(ViewServicePtr viewService)
boost::shared_ptr< class View > ViewPtr
static GeometricRepPtr New(const QString &uid="")
vtkSmartPointer< vtkPolyData > vtkPolyDataPtr
void show(vtkPolyDataPtr polyData)
boost::shared_ptr< class Mesh > MeshPtr
Namespace for all CustusX production code.