[vtkusers] Naming DataArray in DataSet for ParaView compliance

Bryn Lloyd blloyd at vision.ee.ethz.ch
Tue Apr 21 03:28:24 EDT 2009


Hi Jerome,

I came to the same conclusion (but got no response) in January:

http://www.vtk.org/pipermail/vtkusers/2009-January/099248.html

The filters

  - vtkImageGaussianSource
  - vtkImageReslice and inherited classes

need to give their arrays a default name or use the name of the input array.

Cheers
Bryn






Jérôme wrote:
> Dear list,
> 
> I forward this thread that occured on ParaView mailing list:
>    http://markmail.org/message/hssoulqf2ikvwhho
> 
> It initiated because of an error message found in ParaView. I was trying 
> to expose some VTK filter to ParaView, with just an XML description of 
> the filters. The rendering process found no data to render! This is 
> because some data array (PointData) are not named.
> I was able to do my stuff by plugging a vtkImageMagnitude to the 
> source/filter output. Or by derivating the class to a 
> vtkPVImage...Filter and overloading a function and so on...
> 
> AFAIK, this is the case with:
> - vtkImageGaussianSource
> - vtkImageReslice and inherited classes
> 
> Would it be possible to give a default name to all data array involved 
> in a DataSet? Do I have to post on vtk-developers?
> 
> Thanks for all!
> 
> Jerome
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers


-- 
-------------------------------------------------
Bryn Lloyd
Computer Vision Laboratory
ETH Zürich, Sternwartstrasse 7
CH - 8092 Zürich, Switzerland
Tel: +41 44 63 26668
Fax: +41 44 63 21199
-------------------------------------------------



More information about the vtkusers mailing list