GetInput2()->Update();
VISU::CellDataToPoint(myStream,myCellDataToPointData,GetInput2(),myFieldTransform);
vtkFloatingPointType *aBounds = GetInput2()->GetBounds();
-
- myStream->Update();
- // check: Is streamlines exists? If no points in stream lines, return input2
- if(myStream->GetOutput()->GetNumberOfPoints() == 0)
- myGeomFilter->SetInput(GetInput2());
- else
- myGeomFilter->SetInput(myStream->GetOutput());
-
myGeomFilter->SetExtent(aBounds);
myGeomFilter->ExtentClippingOn();
+ myGeomFilter->SetInput(myStream->GetOutput());
return myGeomFilter->GetOutput();
}