]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkPolyDataReader.xml
Clean code
[bbtk.git] / packages / vtk / src / bbvtkPolyDataReader.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2
3 <blackbox name="PolyDataReader" type="VTK_PolyDataAlgorithm">
4
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>
8
9 <include>vtkPolyDataReader.h</include> 
10 <include>vtkPolyData.h</include> 
11 <vtkobject>vtkPolyDataReader</vtkobject>
12
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" />
15  
16  <process><PRE>
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();
26  </PRE></process>
27
28 </blackbox>  
29  
30