1 <?xml version="1.0" encoding="iso-8859-1"?>
3 <blackbox name="PolyDataReader" type="VTK_PolyDataAlgorithm">
5 <author>j p r at creatis.insa-lyon.fr</author>
6 <description><PRE>Reads .vtk mesh formats (bbfication of vtkPolyDataReader)</PRE></description>
7 <category>mesh;read/write</category>
9 <include>vtkPolyDataReader.h</include>
10 <include>vtkPolyData.h</include>
11 <vtkobject>vtkPolyDataReader</vtkobject>
13 <input name="In" type="std::string" nature="file name" description="Name of the file to read"/>
14 <output name="Out" type="vtkPolyData*" special="vtk output" description="Output mesh" />
17 bbGetVtkObject()->SetFileName(bbGetInputIn().c_str());
18 bbGetVtkObject()->ReadAllScalarsOn();
19 bbGetVtkObject()->ReadAllVectorsOn();
20 bbGetVtkObject()->ReadAllNormalsOn();
21 bbGetVtkObject()->ReadAllTensorsOn();
22 bbGetVtkObject()->ReadAllColorScalarsOn ();
23 bbGetVtkObject()->ReadAllTCoordsOn();
24 bbGetVtkObject()->ReadAllFieldsOn();
25 bbGetVtkObject()->Update();