17 #include <vtkRenderWindow.h>
18 #include <vtkSmartPointer.h>
24 MITK_TEST_OUTPUT(<<
"Requesting VTK render window of size " << width <<
"x" << height);
26 renderWindowVTK->SetSize(width, height);
27 renderWindowVTK->SetOffScreenRendering(1);
29 int *renderWindowSize = renderWindowVTK->GetSize();
32 " Window is at least " << width <<
"px wide (actually:" << renderWindowSize[0] <<
")");
34 " Window is at least " << height <<
"px high (actually:" << renderWindowSize[1] <<
")");
section GeneralTestsDeprecatedOldTestingStyle Deprecated macros All tests with MITK_TEST_BEGIN()
#define MITK_TEST_OUTPUT(x)
Output some text.
#define MITK_TEST_CONDITION(COND, MSG)
int mitkVTKRenderWindowSizeTest(int, char *[])
void CheckRWSize(int width, int height)
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.