Commit 58198de5 authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

Disable unchecked iterators warnings in ITK code of ItkWatershedFilter processor.

parent 36ab435a
...@@ -22,6 +22,9 @@ ...@@ -22,6 +22,9 @@
// //
// ================================================================================================ // ================================================================================================
#pragma warning(push)
#pragma warning(disable : 4996 4244) // disable unchecked iterators warnings in ITK code
#include "itkwatershedfilter.h" #include "itkwatershedfilter.h"
#include "tgt/glmath.h" #include "tgt/glmath.h"
...@@ -34,9 +37,12 @@ ...@@ -34,9 +37,12 @@
#include <itkWatershedImageFilter.h> #include <itkWatershedImageFilter.h>
#include <itkCastImageFilter.h> #include <itkCastImageFilter.h>
#pragma warning(pop)
#include "core/datastructures/imagedata.h" #include "core/datastructures/imagedata.h"
#include "core/datastructures/genericimagerepresentationlocal.h" #include "core/datastructures/genericimagerepresentationlocal.h"
// In this class we want to use various ITK filters. Each filter needs the same ITK boilerplate // In this class we want to use various ITK filters. Each filter needs the same ITK boilerplate
// code to be written before and after calling the filter. Futhermore, we need to distinguish // code to be written before and after calling the filter. Futhermore, we need to distinguish
// between the different input base types, since ITK doesn't know runtime type inference. // between the different input base types, since ITK doesn't know runtime type inference.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment