[vtkusers] SetInterpolationToFlat behavior on image data

Randy Heiland heiland at indiana.edu
Wed Apr 21 10:05:58 EDT 2010


I have a simple question about how/why the InterpolationToFlat actor property does what it does and whether or not it's possible to easily change its function.  Basically, given 2x2 image data with the following scalars: 0 1 2 3, why does it color this square using the value of 2?  I would have guessed the default value to use for coloring to be the first, i.e. 0.

I provide a simple example here:   http://www.compucell3d.org/mediawiki1.7/index.php/Simple_2x2_vtk

thanks, Randy


More information about the vtkusers mailing list