[vtkusers] Sampling vtkImageData

Steve Boyd boyd at biomed.ee.ethz.ch
Thu Jun 20 03:21:21 EDT 2002


Hi,

I want to interpolate a scalar value from my vtkImageData at various 3D
points.  Can somebody explain how I should do this?  

I've been trying vtkImageData::FindPoint(p3) where p3 is a given point. 
This gives a pointId which I can use to get the scalar data.  However,
I'm not sure what criteria FindPoint uses.  Maybe this isn't the correct
approach?

Sincerely,

Steve
-- 
Steven Boyd, PhD

Institute for Biomedical Engineering
ETH and University Zuerich
Moussonstrasse 18
8044 Zuerich, Switzerland

tel. +41.1.632.4591  fax. +41.1.632.1214  boyd at biomed.ee.ethz.ch
-------------------------------------------------------------------



More information about the vtkusers mailing list