[vtkusers] representation of non-axis-aligned grids

Malcolm Drummond malcolm at geovision.co.za
Thu Dec 19 02:52:59 EST 2002


Hi Paul

How about storing structured points and a transform so that you can recover
orientation. You could use the header (see SetHeader and GetHeader in
vtkDataWriter and vtkDataReader respectively).

Hope this helps
Malcolm

----- Original Message -----
From: "Sherwood, P (Paul)" <P.Sherwood at dl.ac.uk>
To: "vtkusers" <vtkusers at public.kitware.com>
Sent: Wednesday, December 18, 2002 9:51 PM
Subject: [vtkusers] representation of non-axis-aligned grids


> Hi All
>
> I am trying to figure out if it possible to store
> regular 2 and 2D grids of data (like vtkStructuredPoints but
> not necessarily axis-aligned) without falling back on
> vtkPolyData (where each point has explicit coordinates).
>
> As far as I can see this isn't possible, can someone
> just confirm this for me?
>
> In the special case of 2D grids that lie parallel to the
> xy, xz, and yz planes, am I right in thinking that only
> the xy plane can be stored as vtkStructuredPoints, the
> other two will need to be vtkPolyData?
>
> thanks
>
> Paul Sherwood
> _______________________________________________
> 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
>




More information about the vtkusers mailing list