DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
utlVTKMacro.h
Go to the documentation of this file.
1 
11 #ifndef __utlVTKMacro_h
12 #define __utlVTKMacro_h
13 
17 #if VTK_MAJOR_VERSION <= 5
18  #define vtkSetInputData(x,y) do { (x)->SetInput(y); } while (0)
19  #define vtkAddInputData(x,y) do { (x)->AddInput(y); } while (0)
20 #else
21  #define vtkSetInputData(x,y) do { (x)->SetInputData(y); } while(0)
22  #define vtkAddInputData(x,y) do { (x)->AddInputData(y); } while(0)
23 #endif
24 
27 #endif