14 #include <vtkConeSource.h> 23 coneSource->SetResolution(25);
24 coneSource->SetRadius(10);
25 coneSource->SetHeight(100);
27 coneSource->SetDirection(0, 0, 1);
29 coneSource->GetCenter(newCenter);
30 newCenter[2] = newCenter[2] - coneSource->GetHeight() / 2;
31 coneSource->SetCenter(newCenter);
34 return coneSource->GetOutput();
54 return mData.trimmed();
vtkSmartPointer< vtkPolyData > vtkPolyDataPtr
vtkSmartPointer< class vtkConeSource > vtkConeSourcePtr
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr