Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkVtkWidgetRenderingTest.cpp File Reference
#include "mitkVtkWidgetRendering.h"
#include <vtkRenderWindow.h>
#include <vtkScalarBarWidget.h>
#include "mitkTestingMacros.h"
#include <iostream>

Go to the source code of this file.


int mitkVtkWidgetRenderingTest (int, char *[])

Function Documentation

int mitkVtkWidgetRenderingTest ( int  ,
char *  [] 

Test for class mitk::VtkWidgetRendering (for rendering vtkWidgets on the screen)

argc and argv are the command line parameters which were passed to the ADD_TEST command in the CMakeLists.txt file. For the automatic tests, argv is either empty for the simple tests or contains the filename of a test image for the image tests (see CMakeLists.txt).

Definition at line 34 of file mitkVtkWidgetRenderingTest.cpp.

References MITK_TEST_BEGIN(), MITK_TEST_CONDITION, MITK_TEST_CONDITION_REQUIRED, MITK_TEST_END(), mitk::New(), and mitk::VtkWidgetRendering::New().