35 #include <vtkConeSource.h> 44 coneSource->SetResolution(25);
45 coneSource->SetRadius(10);
46 coneSource->SetHeight(100);
48 coneSource->SetDirection(0, 0, 1);
50 coneSource->GetCenter(newCenter);
51 newCenter[2] = newCenter[2] - coneSource->GetHeight() / 2;
52 coneSource->SetCenter(newCenter);
55 return coneSource->GetOutput();
75 return mData.trimmed();
vtkSmartPointer< vtkPolyData > vtkPolyDataPtr
vtkSmartPointer< class vtkConeSource > vtkConeSourcePtr
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr