[vtkusers] (no subject)
David Doria
daviddoria at gmail.com
Wed Oct 3 08:02:28 EDT 2012
On Wed, Oct 3, 2012 at 6:08 AM, shirani kannangara
<mangalika673 at gmail.com> wrote:
> Dear David,
>
> I want to add a new dimension for a vtk imge( Visible human abdomen).Is this
> facility available in VTK?As I see three dimensions are already used for
> color(RGB) and the fourth one for opacity.Am I correct? I am highly
> appreciated if you could direct me to add a new dimension to vtk image.
>
> regards
> Shirani
You can add any data you want to each point/pixel in the image.
http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/MiscPointData
That example is for vtkPolyData, but it works the same way for
vtkImageData. Is that what you're looking for?
David
More information about the vtkusers
mailing list