#include "bbvtkPackage.h"
#include "creaVtk_MACROS.h"
+
+/*
+
#include <omp.h>
+
+*/
+
+
+
namespace bbvtk
{
//=====
void ImageBoundaries::Process()
{
- if (bbGetInputIn()!=NULL)
- {
- int ext[6];
+ if (bbGetInputIn()!=NULL){
+ int i,j,k;
+ int ext[6];
+ double value;
+
+//EED 2017-01-01 Migration VTK7
+#if (VTK_MAJOR_VERSION <= 5)
bbGetInputIn()->GetWholeExtent(ext);
+#endif
+#if (VTK_MAJOR_VERSION >= 6)
+ bbGetInputIn()->GetExtent(ext);
+#endif
+
int maxX = ext[1]-ext[0]+1;
int maxY = ext[3]-ext[2]+1;
int maxZ = ext[5]-ext[4]+1;
*/
DEF_POINTER_IMAGE_VTK_CREA(vI,ssI,pI,stI,bbGetInputIn())
- int i;
- int j;
long int index=0;
- for (int k=0 ; k<maxZ ; k++)
+ for ( k=0 ; k<maxZ ; k++)
{
for (j=0 ; j<maxY ; j++)
{