| 16 | #include <vtkLinearTransform.h> |
| 17 | |
| 18 | mitk::Cylinder::Cylinder() : BoundingObject() |
| 19 | { |
| 20 | vtkCylinderSource *cylinder = vtkCylinderSource::New(); |
| 21 | cylinder->SetRadius(1.0); |
| 22 | cylinder->SetHeight(2.0); |
| 23 | cylinder->SetCenter(0.0, 0.0, 0.0); |
| 24 | cylinder->SetResolution(100); |
| 25 | cylinder->CappingOn(); |
| 26 | cylinder->Update(); |
| 27 | SetVtkPolyData(cylinder->GetOutput()); |
| 28 | cylinder->Delete(); |
| 29 | } |
| 30 | |
| 31 | mitk::Cylinder::~Cylinder() |
| 32 | { |
nothing calls this directly
no test coverage detected