// (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')
- std::vector<double> lstCenter = bbGetInputCenter();
- double s = bbGetInputS();
- bool ok = false;
- bool pdChanged = false;
- using MeshType = itk::QuadEdgeMesh<double, 3>;
+
+ std::vector<double> lstCenter = bbGetInputCenter();
+ double s = bbGetInputS();
+ bool ok = false;
+ bool pdChanged = false;
+ using MeshType = itk::QuadEdgeMesh<double, 3>;
std::vector<double> deformInfo;
bbSetOutputOut(deformInfo);
//std::vector<double> displacementVector;
*/
using PointType = MeshType::PointType;
//polydataBack
- polydata = bbGetInputIn();
+ polydata = bbGetInputIn();
//points = points of input polydata
vtkPoints* points=bbGetInputIn()->GetPoints();
bbGetInputIn()->Modified();
}// if ffmFilter != NULL
} // 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)
//=====
void GeodesicMeshDeformation::bbUserSetDefaultValues()
{
-
// SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX
// Here we initialize the input 'In' to 0
bbSetInputActive(true);
backLstCenter.push_back(0);
backLstCenter.push_back(0);
backLstCenter.push_back(0);
- polydata = NULL;
- quadEdgeMesh = NULL;
- sCurrent = 0;
- fmmFilter = NULL;
- firstTime = true;
+ polydata = NULL;
+ quadEdgeMesh = NULL;
+ sCurrent = 0;
+ fmmFilter = NULL;
+ firstTime = true;
}
+
//=====
// 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 GeodesicMeshDeformation::bbUserInitializeProcessing()
{
-
// THE INITIALIZATION METHOD BODY :
// Here does nothing
// but this is where you should allocate the internal/output pointers
-// if any
-
-
+// if any
}
+
//=====
// 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 GeodesicMeshDeformation::bbUserFinalizeProcessing()
{
-
// THE FINALIZATION METHOD BODY :
// Here does nothing
// but this is where you should desallocate the internal/output pointers
// if any
-
}
-}
-// EO namespace bbitkvtk
+
+}// EO namespace bbitkvtk