37 vtkSmartPointer<vtkCleanPolyData> mergePoints =
38 vtkSmartPointer<vtkCleanPolyData>::New();
40 mergePoints->SetTolerance(0.0);
41 mergePoints->ConvertLinesToPointsOn();
44 int default_number_of_sides(8);
45 vtkTubeFilter* tubes = vtkTubeFilter::New();
46 tubes->SetInputConnection(0, mergePoints->GetOutputPort(0));
52 tubes->SetInputArrayToProcess(
53 1, 0, 0, vtkDataObject::FIELD_ASSOCIATION_CELLS,
"Stratigraphies");
54 tubes->SetRadius(default_radius);
55 tubes->SetNumberOfSides(default_number_of_sides);
58 (*_algorithmUserProperties)[
"Radius"] = default_radius;
59 (*_algorithmUserProperties)[
"NumberOfSides"] = default_number_of_sides;
60 (*_algorithmUserProperties)[
"Capping"] =
true;