| 19 | #include <vtkTexturedSphereSource.h> |
| 20 | |
| 21 | mitk::Surface::Pointer CreateTexturedSphere() |
| 22 | { |
| 23 | auto source = vtkSmartPointer<vtkTexturedSphereSource>::New(); |
| 24 | source->SetThetaResolution(64); |
| 25 | source->SetPhiResolution(32); |
| 26 | source->SetRadius(16.0); |
| 27 | source->Update(); |
| 28 | |
| 29 | auto surface = mitk::Surface::New(); |
| 30 | surface->SetVtkPolyData(source->GetOutput()); |
| 31 | |
| 32 | return surface; |
| 33 | } |
| 34 | |
| 35 | void AddGeneratedDataToStorage(mitk::DataStorage *dataStorage) |
| 36 | { |
no test coverage detected