[vtkusers] Help: Access and change scalar values of vtkRectilinearGrid data.
Dmitri Danewitz
d.danewitz at yahoo.de
Mon Dec 1 04:32:07 EST 2008
Hello all!
I have scalar data in a rectilinear grid read with a
vtkRectilinearGridReader and filtered with a
vtkRectilinearGridGeometryFilter:
vtkRectilinearGridReader *Reader10 = vtkRectilinearGridReader::New();
Reader10->SetFileName("/Ptvspc-p7/values10.vtk");
Reader10->Update();
vtkRectilinearGridGeometryFilter *plane10 = vtkRectilinearGridGeometryFilter::New();
plane10->SetInput(Reader10->GetOutput());
plane10->SetExtent(0, 3200, 0.0, 30.0, 0.0, 100.0);
I have to access the scalar values of *plane10 and multiply them all. How is this done?
Thanks
Dmitri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081201/022e455c/attachment.htm>
More information about the vtkusers
mailing list