[vtkusers] Fwd: Re:AW: vtkContourFilter notworkingonvtkStructuredGrid
David Doria
daviddoria+vtk at gmail.com
Fri Mar 12 09:24:59 EST 2010
On Fri, Mar 12, 2010 at 8:04 AM, Sebastian Gatzka <
sebastian.gatzka at stud.tu-darmstadt.de> wrote:
> I look up what sGrid->GetScalarRange() is outputting.
>
> cout << sGrid->GetScalarRange() << endl;
>
> The result is 036D4DD0 ... what is that?!
>
>
That is the memory address of the pointer to the data you are looking for.
You need to do this:
double range[2];
grid->GetScalarRange(range);
cout << "range: " << range[0] << " " << range[1] << endl;
Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100312/34b2954d/attachment.htm>
More information about the vtkusers
mailing list