if (bbGetInputType()==1) { imageSlab->SetOperationToSum(); }
if (bbGetInputType()==2) { imageSlab->SetOperationToMin(); }
if (bbGetInputType()==3) { imageSlab->SetOperationToMax(); }
+ imageSlab->MultiSliceOutputOff();
+ imageSlab->SetOutputScalarTypeToInputScalarType();
//EED 2017-01-01 Migration VTK7
#if VTK_MAJOR_VERSION <= 5
imageSlab->SetInput( bbGetInputIn() );
#else
imageSlab->SetInputData( bbGetInputIn() );
+ imageSlab->Update();
#endif
- imageSlab->MultiSliceOutputOff();
- imageSlab->SetOutputScalarTypeToInputScalarType();
bbSetOutputOut( imageSlab->GetOutput() );
}
BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageSlab,bbtk::AtomicBlackBox);
BBTK_NAME("ImageSlab");
BBTK_AUTHOR("InfoDev");
- BBTK_DESCRIPTION("No Description.");
+ BBTK_DESCRIPTION("Operation of all planes in one plane (projection)");
BBTK_CATEGORY("empty");
BBTK_INPUT(ImageSlab,In,"Input image",vtkImageData*,"");