[vtkusers] bilinear, trilinear interpolation..
K. R. Subramanian
krs at cs.uncc.edu
Sun Jul 1 14:21:13 EDT 2001
David Gobbi wrote:
> I just remembered another method for interpolation: you can
> use vtkImplicitDataSet or vtkImplicitVolume to convert the
> data into a function.
Aha! This perhaps will serve my purpose. So I can set the volume with the
SetVolume (vtkImageData*) call and then query the volume at any point (x,y,z)
and it internally interpolates for non-lattice locations, right?
Will it just do linear interpolation? I remember in an earlier email that cubic
was supported (perhaps for some other classes?)
Thanks, it amazes there is so much response on weekends -:) ?
-- krs
>
>
> - David
>
> On Sat, 30 Jun 2001, Will Schroeder wrote:
>
> > The cells vtkPixel and vtkVoxel do interpolation. There are more general
> > forms of these cells that do something similar, although less efficiently:
> > vtkQuad and vtkHexahedron. Using EvaluatePosition() and EvaluateLocation
> > you can go back and forth between parametric and world space. Also, there
> > is a static function InterpolationFunctions that can be used (given a
> > parametric coordinate pcoord[3], return the interpolation weights).
> >
> > Will
> >
> >
> >
> >
> > William J. Schroeder, Ph.D.
> > Kitware, Inc.
> > VTK-Based Visualization Solutions
> > 469 Clifton Corporate Parkway
> > Clifton Park, NY 12065 USA
> > will.schroeder at kitware.com
> > http://www.kitware.com
> > 1-518-371-3971 x102
> >
> >
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/vtkusers
> >
--
Dr. K.R.Subramanian Phone: (301) 402-0042
National Institutes of Health FAX: (301) 402-4080
National Library of Medicine Email: krs at cs.uncc.edu
Bldg 38A, Rm. B1N30D WWW: www.cs.uncc.edu/~krs
8600 Rockville Pike, Bethesda, MD 20894
More information about the vtkusers
mailing list