namespace bbPackRecalage
{
-BBTK_ADD_BLACK_BOX_TO_PACKAGE(PackRecalage,ResampleBox)
-BBTK_BLACK_BOX_IMPLEMENTATION(ResampleBox,bbtk::AtomicBlackBox);
+BBTK_ADD_BLACK_BOX_TO_PACKAGE(PackRecalage, ResampleBox)
+BBTK_BLACK_BOX_IMPLEMENTATION(ResampleBox, bbtk::AtomicBlackBox);
void ResampleBox::Process()
{
if(bbGetInputIn() != NULL && bbGetInputFactor() != 0)
bbSetOutputOut(NULL);
}
}
+
void ResampleBox::bbUserSetDefaultValues()
{
bbSetInputIn(NULL);
bbSetInputFactor(0);
bbSetOutputOut(NULL);
}
+
void ResampleBox::bbUserInitializeProcessing()
{
resample = vtkImageResample::New();
}
+
void ResampleBox::bbUserFinalizeProcessing()
{
resample->Delete();
}
+
}
// EO namespace bbPackRecalage