[vtkusers] Getting the Names of Cell and Point Data Sets at Load Time

Randall Hand randall.hand at gmail.com
Thu Apr 7 11:15:37 EDT 2005


Go directly to the vtkDataSet (->GetOutput()), and look at 
GetPointData()/GetCellData()->GetNumberOfArrays() & GetArrayName(n).

On Apr 7, 2005 9:57 AM, Jeremy Stout <stout.jeremy at gmail.com> wrote:
> 
> I'm working on a program that loads vtkUnstructuredGrid files and I'm
> trying to find the name of Cell/Point Data set names at load time. The
> file sets I am working with are in XML and legacy formats.
> 
> After doing some research, I found I can use the methods in the
> vtkXMLReader class to get the names. However, I have been unable to
> find any similar functionality in vtkUnstructuredGridReader or any of
> its superclasses.
> 
> Do any of the legacy readers have the functionality I am looking for?
> If not, is there a way to find the names of the data sets after
> loading the file?
> 
> Jeremy Stout
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: 
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 



-- 
Randall Hand
http://www.yeraze.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050407/d74bfed6/attachment.htm>


More information about the vtkusers mailing list