[vtkusers] handling

David Doria daviddoria+vtk at gmail.com
Tue Jan 5 10:46:31 EST 2010


On Mon, Dec 21, 2009 at 8:50 PM, Jinyoung Hwang <hwangjinyoung at gmail.com> wrote:
> Hi all,
>
> I loaded vtk file using vtkStructuredPointsReader.
> -----
> vtkStructuredPointsReader *spr = vtkStructuredPointsReader::New();
> spr->SetFileName("test.vtk");             // "test.vtk" is a volume data
> (256x256x256).
> -----
>
> Then how can I access specific location, i.e., (100,100,100).
> After aceesing the location, I'd like to change the scalar value of the
> location.
>
>
> Thanks,
>
>
> Jinyoung

I made a spot for an example of this:
http://www.cmake.org/Wiki/index.php?title=VTK/Examples/IO/StructuredPointsReader&action=edit&redlink=1

Jinyoung, can you post a (small) sample data set along with the code
you have so far?

Thanks,

David



More information about the vtkusers mailing list