]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkPolyDataReader.xml
use meshes
[bbtk.git] / packages / vtk / src / bbvtkPolyDataReader.xml
diff --git a/packages/vtk/src/bbvtkPolyDataReader.xml b/packages/vtk/src/bbvtkPolyDataReader.xml
new file mode 100644 (file)
index 0000000..cfcc86c
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+
+<blackbox name="PolyDataReader" type="VTK_PolyDataAlgorithm">
+
+<author>j p r at creatis.insa-lyon.fr</author>
+<description><PRE>Reads .vtk mesh formats (bbfication of vtkPolyDataReader)</PRE></description>
+<category>mesh;read/write</category>
+
+<include>vtkPolyDataReader.h</include> 
+<include>vtkPolyData.h</include> 
+<vtkobject>vtkPolyDataReader</vtkobject>
+
+<input  name="In"  type="std::string"   nature="file name"   description="Name of the file to read"/>  
+<output name="Out" type="vtkPolyData*"  special="vtk output" description="Output mesh" />
+ <process><PRE>
+   bbGetVtkObject()->SetFileName(bbGetInputIn().c_str());
+   bbGetVtkObject()->Update();
+ </PRE></process>
+
+</blackbox>  
+