[vtkusers] How to map 2 scalar attributes simultaneously?
Immo Trinks
trinks at esc.cam.ac.uk
Wed Jun 2 13:13:41 EDT 2004
Thank you Mathieu.
How do I tell vtkThreshold which scalar to use?
I use one vtkPolyDataReader and set one scalar name that I want to use.
vtkPolyDataReader dataReader
dataReader SetFileName "data.vtk"
dataReader SetScalarsName "scalar1"
Then the vtkGlyph3d shall use scalar2 for the mapping. Somehow ...
Immo
On Wednesday 02 Jun 2004 5:49 pm, Mathieu Malaterre wrote:
> Immo,
>
> I guess you can do a vtkThresholdPoints on scalar2 followed by a
> vtkGlyph3d on scalar1.
>
> HTH
> Mathieu
>
> Immo Trinks wrote:
> > Hi,
> >
> > I have VTK point data (1500 points) with two attributes (scalar1 and
> > scalar2) assigned to each data point.
> >
> > I would like to display the points as spheres that are coloured relative
> > to scalar1. At the same time, only those spheres shall be visible for
> > which scalar2 is within a given scalar range. How can this be done?
> >
> > Thank you for any help!
> > Immo
> >
> > _______________________________________________
> > 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://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list