[vmtk-users] VTK 5.10.0 compatibility
Brought to you by:
davidsteinman,
lucantiga
From: Sebastian O. <seb...@gm...> - 2013-05-23 10:51:44
|
One last for VTK 5.10.0 compatibility: In vtkvmtkImageBoxPainter.cxx: switch(output->GetScalarType()) { #if (VTK_MAJOR_VERSION < 5) // This is simple a #define for a big case list. It handles // all data types vtk can handle. vtkTemplateMacro6(vtkvmtkImageBoxPainterExecute, input, output, (VTK_TT *)(inPtr), (VTK_TT *)(outPtr), relativeBoxExtent, (VTK_TT)this->PaintValue); #else vtkTemplateMacro( vtkvmtkImageBoxPainterExecute(input, output, (VTK_TT *)(inPtr), (VTK_TT *)(outPtr), relativeBoxExtent, (VTK_TT)this->PaintValue)); #endif default: vtkGenericWarningMacro("Execute: Unknown input ScalarType"); return; } |