BBTK_BLACK_BOX_IMPLEMENTATION(Transform2DBox,bbtk::AtomicBlackBox);
void Transform2DBox::Process()
{
- if(bbGetInputCenterPoint()[0] != NULL)
+ if(!bbGetInputCenterPoint().empty())
{
// The inputs are set in the library transformer
transformer->SetCenterPoint( bbGetInputCenterPoint() );
transformer->SetScaleX( bbGetInputScaleX() );
transformer->SetScaleY( bbGetInputScaleY() );
transformer->SetScaleZ( bbGetInputScaleZ() );
+
// The calculation of the transformations are made
transformer->Run();
// We get the results of transformer and set it as result of this box
bbSetInputScaleX(100);
bbSetInputScaleY(100);
bbSetInputScaleZ(100);
- bbSetOutputOut(NULL);
+ bbSetOutputOut(NULL);
}
void Transform2DBox::bbUserInitializeProcessing()
}
}
-// EO namespace bbPackRecalage
-
-
+// EO namespace bbPackRecalage
\ No newline at end of file