27 #include <vtkLookupTable.h>
42 lookupTable->SetRampToLinear();
44 lookupTable->SetTableRange(0, 255);
48 lookupTable->SetTableValue(0, 1.0, 0.0, 0.0, 1.0);
49 lookupTable->SetTableValue(255, 0.0, 0.0, 1.0, 1.0);
52 myLookupTable->SetVtkLookupTable(lookupTable);
62 "CompareRenderWindowAgainstReference test result positive?");
int mitkImageVtkMapper2DLookupTableTest(int argc, char *argv[])
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.
#define MITK_TEST_CONDITION(COND, MSG)
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.