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;
}
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
vmtk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vmtk-users