+
+ int j,k;
+ long sizeBlock= dimA[0] * bbGetInputIn()->GetScalarSize();
+
+ for (j=0;j<dimA[1];j++)
+ {
+ for (k=0;k<dimA[2];k++)
+ {
+ memcpy( imageoutput->GetScalarPointer(1,j+1,k+1) , bbGetInputIn()->GetScalarPointer(0,j,k) , sizeBlock );
+ } // for k
+ } // for j
+
+
+//EED 2017-01-01 Migration VTK7
+#if (VTK_MAJOR_VERSION <= 5)
+ imageoutput->Update();
+#endif
+#if (VTK_MAJOR_VERSION >= 6)
+ // ..
+#endif
+
+ imageoutput->Modified();
+}
+
+
+//=====
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//=====
+void CleanExternalPlane::Process()
+{
+
+// THE MAIN PROCESSING METHOD BODY
+// Here we simply set the input 'In' value to the output 'Out'
+// And print out the output value
+// INPUT/OUTPUT ACCESSORS ARE OF THE FORM :
+// void bbSet{Input|Output}NAME(const TYPE&)
+// const TYPE& bbGet{Input|Output}NAME() const
+// Where :
+// * NAME is the name of the input/output
+// (the one provided in the attribute 'name' of the tag 'input')
+// * TYPE is the C++ type of the input/output
+// (the one provided in the attribute 'type' of the tag 'input')
+
+// Nothing to do
+ if (bbGetInputType()==-1)
+ {
+ bbSetOutputOut( bbGetInputIn() );
+ }
+
+// Clean external planes
+ if (bbGetInputType()==0)
+ {
+ CleanTypeA( bbGetInputIn() );
+ bbSetOutputOut( bbGetInputIn() );
+ }
+
+// Add new faces and clean the external planes
+ if (bbGetInputType()==1)
+ {
+ CleanTypeB();
+ CleanTypeA(imageoutput);
+ bbSetOutputOut( imageoutput );
+ }
+