[vtkusers] Re: Data Storage VTU

Goodwin Lawlor goodwin.lawlor at ucd.ie
Wed Mar 15 08:11:37 EST 2006


Richard Haney wrote:
> Hello,
> 
> I have a quick question regarding XML-based Unstructured Grid files.  Is 
> there a way to store data outside of the usual CellData or PointData 
> tags such as a list of string data that the XMLUnstructuredGridReader 
> Object can reference?  For example, given a CellData array displaying 
> values for each cell there also exists a separate array of strings with 
> descriptions of those values.
> 
> I hope I wasn't confusing with my question it is kind of hard to 
> explain, but I am hoping for a simple answer.

Hi Richard,

VTK5.0 has vtkStringArray 
(http://www.vtk.org/doc/release/5.0/html/a02055.html) which sounds like 
the class you want.

hth

Goodwin




More information about the vtkusers mailing list