[vtkusers] vtkMapper+multicomponent scalar data?

Adrian Albert a.albert at jacobs-university.de
Sun Mar 23 08:56:15 EDT 2008


Hi All,


I am new to VTK, and would need some help from any experienced user out there.
I am trying to figure out if the toolkit can help me with the
following visualization problem:
   *
      Visualize N scalar fields defined over a structured Cartesian
grid (e.g. pressure, temperature, density, etc.)
      by means of a multi-dimensional transfer function.
   *
I am trying to use the vtkMapper to use array data defined at each
point in the Cartesian grid. Each array would
then be of length N (the number of scalar fields). I see I can only
select one of these N fields to be used for coloring
via the SelectColorArray(). Is this correct?

Also, this value will be passed to an internal (to vtkMapper)
LookupTable, which converts data values to colors.

One way that I see in which one could map multi-component data to
colors is by an appropriate call to SetVectorMode in
vtkScalarsToColors. Can anyone explain how I could use this mechanism
in the context of visualizing N data fields and a
multi-dimensional transfer function?
*

*I would greatly appreciate any comments that could point me to
solving this problem.

*Best regards,
Adrian
*



-- 
---------------------------------------------------
Adrian Albert
School of Engineering and Science
Jacobs University Bremen
Germany
Tel.: 00494212003258
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080323/981b88e3/attachment-0003.htm>


More information about the vtkusers mailing list