[vtkusers] Visualisation of cell-based data.

R T doctorart at hotmail.com
Mon Aug 12 18:05:35 EDT 2002


>From a VTK-novice to a VTK-novice:

PolyDataMapper mapper
mapper SetInput polyDataObject
mapper SetScalarModeToPointData //to visualize PoinT Data
or
mapper SetScalarModeToCellData //To visualize Cell Data

Best,
Roma

>From: Bertwim van Beest <bwvb at xs4all.nl>
>To: Will Schroeder <will.schroeder at kitware.com>
>CC: "vtkusers at public.kitware.com" <vtkusers at public.kitware.com>
>Subject: Re: [vtkusers] Visualisation of cell-based data.
>Date: Thu, 08 Aug 2002 09:11:11 +0200
>
>Thanks! As a VTK-novice,I am reading the VTK-book. From the book I
>understood that the user himself has to come-up with interpolation
>schemes between the two sets of data, but apparently this is not true!?
>
>Anyway, I am going to try it out.
>
>
>Regards,
>Bertwim
>====
>Will Schroeder wrote:
> >
> > VTK supports cell data; it's just like point data except associated with
> > cells. There are also filters to convert between cell data and point 
>data
> > (vtkCellDataToPointData and vtkPointDataToCellData) based on local
> > averaging schemes. (You may need this: some filters e.g. contouring only
> > work on point data). Some filters may operate on either cell or point 
>data,
> > the user has to specify (e.g., vtkThreshold).The readers and writers all
> > support point and cell data as well.
> > Will
> >
> > At 09:38 PM 8/7/2002 +0200, Bertwim van Beest wrote:
> > >Dear VTK community,
> > >
> > >I have a problem in understanding how to visualise cell-valued data.
> > >That is, I have a grid (either structured of unstructured) consisting 
>of
> > >cells defined by their vertices. Per cell I have one data value, which
> > >is assumed to be constant over the volume of the cell (finite
> > >difference/volume methods).
> > >
> > >How do I visualise this? VTK seems to be geared to vertex-based data
> > >data values, but I can't imagine that VTK has not functionality to
> > >tackle this!
> > >
> > >Thanks in advance?
> > >_______________________________________________
> > >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
> >
> > _______________________________________________
> > 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
>_______________________________________________
>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




_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com




More information about the vtkusers mailing list