25 #include <vtkRegressionTestImage.h>
39 colorTransferFunction->SetColorSpaceToRGB();
40 colorTransferFunction->AddRGBPoint(0.0, 1, 0, 0);
41 colorTransferFunction->AddRGBPoint(127.5, 0, 1, 0);
42 colorTransferFunction->AddRGBPoint(255.0, 0, 0, 1);
44 transferFucntion->SetColorTransferFunction(colorTransferFunction);
55 "CompareRenderWindowAgainstReference test result positive?");
section GeneralTestsDeprecatedOldTestingStyle Deprecated macros All tests with MITK_TEST_BEGIN()
void SaveReferenceScreenShot(std::string fileName)
SaveReferenceScreenShot Convenience method to save a reference screen shot.
bool CompareRenderWindowAgainstReference(int argc, char *argv[], double threshold=10.0)
CompareRenderWindowAgainstReference Convenience method to compare the image rendered in the internal ...
void SetImageProperty(const char *propertyKey, mitk::BaseProperty *property)
This method set the property of the member datastorage.
int mitkImageVtkMapper2DTransferFunctionTest(int argc, char *argv[])
#define MITK_TEST_CONDITION(COND, MSG)
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.