This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Please refer to the figures on the URLs:
What I have done: (refer to http://www.simcore.com/vtkBugreport/Image1.png) I have created a structured grid with a scalar array (vtkFloatArray), then used vtkContourFilter to create an isosurface. vtkCutter has been used to slice through the vtkStructuredGrid with a vtkPlane. The values of the scalar array are used to generate the contours on the plane. The starting value of the contour is the same as the value for the isosurface.
The problem I have found: (refer to htp://www.simcore.com/vtkBugreport/Image2.png http://www.simcore.com/vtkBugreport/Image3.png http://www.simcore.com/vtkBugreport/Image4.png http://www.simcore.com/vtkBugreport/Image5.png http://www.simcore.com/vtkBugreport/Image6.png) These images show the rotation of the object. The first (out-most) contour on the cutting plane does not agree with the isosurface. It seems that vtkCutter does not cut correctly. I have then replace vtkcutter with vtkExtractGrid to extract a slice of the structured grid, then generated contours on the slice. It did well. The problem is that vtkExtractGrid is limited to the grid orientation.