[vtkusers] Uniform Grid with Vectors and Scalars

Dan Barker djb_ro at hotmail.co.uk
Thu Dec 1 06:41:59 EST 2011


Dear all,
I have several fields, some of which are vector quantities and others scalar, that I wish to store at points on a regular grid, i.e. cubic lattice.
I have some code working using the 'vtkImageData' class. This is okay except it can only seem to store scalars (unless I'm missing something) and further I can't see a way to label the scalar components of the vtkImageData with meaningful names.
So my question is: What class is best used to store mixed scalar/vector quantities on a regular grid? 
Kind regards,Dan 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111201/bb8c6aea/attachment.htm>


More information about the vtkusers mailing list