[Paraview] To Id Or Not to Id?
David E DeMarle
dave.demarle at kitware.com
Thu Aug 2 16:20:09 EDT 2007
Yes.
If the data needs a name (or Identifier) for every point, then we use a
point data vtkIdType attribute array and mark this array as the GLOBAL_IDS.
When this is done, then the point id for any given point is the value in the
id array for that point and not the point's index or location within the
point array.
cheers
Dave DeMarle
On 8/2/07, Kent Eschenberg <eschenbe at psc.edu> wrote:
>
> Is it true that the index of a point, in an array of points, is not always
> its
> "point id". For example, points at index 0,1,2 may have point ids of
> 27,19,42.
>
> I'm working on a filter with vtkStructuredGrid coming in and vtkPolyData
> going
> out. The output's points share the input's points and so their indexes are
> the
> same. The output's only geometry will be a vtkCellArray.
>
> The filter will generate a bunch of quads using point indexes. The problem
> is
> that I must add these quads to vtkCellArray using point ids.
>
> TIA!
> Kent
> Pittsburgh Supercomputing Center
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20070802/6f576da2/attachment.htm
More information about the ParaView
mailing list