I am working on displaying a vectorfield. The 3-components vector data is set as point-data in a vtkRectilinearGrid. This is, how I implemented the cutting:
vtkCutter* planeCut = vtkCutter::New();| planeCut->SetInputData(grid);| planeCut->SetCutFunction(plane);| planeCut->SetInputArrayToProcess(0, 0, 0, vtkDataObject::FIELD_ASSOCIATION_POINTS, vtkDataSetAttributes::VECTORS);| planeCut->Update();| auto test = planeCut->GetOutput();|
I set the plane origin within the grid coordinates, but what I observe in the output data is that all PointData in vtkDataSet and vtkPolyData have a value of something e +66, which is totally unexpected.
Could someone please confirm if my use of the vtkCutter is correct as it is ?