//=====
void ImageBoundaries::Process()
{
- if (bbGetInputIn()!=NULL)
- {
- int ext[6];
+ printf("bbtk:vtk::ImageBoundaries::Process start\n");
+ 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;