cast->SetOutputScalarTypeToUnsignedShort();
cast->Update();
bbSetOutputOut(cast->GetOutput() );
-
}
void ImageCastToUShort::bbUserSetDefaultValues()
{
// if any
cast = vtkImageCast::New();
-
}
void ImageCastToUShort::bbUserFinalizeProcessing()
{
// if any
}
+
}
// EO namespace bbvtk
vtkImageCast* cast;
};
-BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageCastToUShort,bbtk::AtomicBlackBox);
+BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageCastToUShort, bbtk::AtomicBlackBox);
BBTK_NAME("ImageCastToUShort");
BBTK_AUTHOR("car-prie@uniandes.edu.co");
BBTK_DESCRIPTION("Cast an Image to UShort");
BBTK_CATEGORY("filter, image");
-BBTK_INPUT(ImageCastToUShort,In,"First input",vtkImageData*,"");
-BBTK_OUTPUT(ImageCastToUShort,Out,"First output",vtkImageData*,"");
+BBTK_INPUT(ImageCastToUShort, In, "First input", vtkImageData*, "");
+BBTK_OUTPUT(ImageCastToUShort, Out, "First output", vtkImageData*, "");
BBTK_END_DESCRIBE_BLACK_BOX(ImageCastToUShort);
}
// EO namespace bbvtk