//=====
void MeshDeformation::Process()
{
-
// THE MAIN PROCESSING METHOD BODY
// Here we simply set the input 'In' value to the output 'Out'
// And print out the output value
// std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
std::vector<double> lstCenter = bbGetInputCenter();
-
double s = bbGetInputS();
bool ok = false;
if (bbGetInputTypeIn()==0) // direction
double pb[3]; // point base
double np[3]; // new point
double sx,sy,sz;
- sx = s*2;
- sy = sx;
- sz = sy;
+ sx = s*4;
+ sy = s*4;
+ sz = s*4;
double displcement_x = 0;
double displcement_y = 0;
points->Modified();
bbGetInputIn()->Modified();
} // if distance_x y z != 0
- } // In != NULL ok active
+ } // In != NULL ok active
}
//=====
// 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)
backLstCenter.push_back(0);
backLstCenter.push_back(0);
}
+
//=====
// 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)
//=====
}
+
//=====
// 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 MeshDeformation::bbUserFinalizeProcessing()
{
-
// THE FINALIZATION METHOD BODY :
// Here does nothing
// but this is where you should desallocate the internal/output pointers
// if any
-
}
-}
-// EO namespace bbcreaVtk
+
+}// EO namespace bbcreaVtk