Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
mitk::RenderingTestHelper::ArgcHelperClass Class Reference

The ArgcHelperClass class is a convinience class to convert a vector of strings to the standard c++ argv and argc arguments. This is necessary for the vtkTesting::Test, since is requires the reference image (and other optional parameters) via command line. More...

#include <mitkRenderingTestHelper.h>

Public Member Functions

 ArgcHelperClass (const std::vector< std::string > &argstrings)
 
char ** GetArgv ()
 
int GetArgc ()
 

Detailed Description

The ArgcHelperClass class is a convinience class to convert a vector of strings to the standard c++ argv and argc arguments. This is necessary for the vtkTesting::Test, since is requires the reference image (and other optional parameters) via command line.

Definition at line 153 of file mitkRenderingTestHelper.h.

Constructor & Destructor Documentation

◆ ArgcHelperClass()

mitk::RenderingTestHelper::ArgcHelperClass::ArgcHelperClass ( const std::vector< std::string > &  argstrings)
inline

Definition at line 163 of file mitkRenderingTestHelper.h.

References mitk::IOUtil::GetProgramPath().

Member Function Documentation

◆ GetArgc()

int mitk::RenderingTestHelper::ArgcHelperClass::GetArgc ( )
inline

Definition at line 177 of file mitkRenderingTestHelper.h.

References mitk::None.

Referenced by createTextAnnotationWithLayouter().

◆ GetArgv()

char** mitk::RenderingTestHelper::ArgcHelperClass::GetArgv ( )
inline

Definition at line 176 of file mitkRenderingTestHelper.h.

Referenced by createTextAnnotationWithLayouter().


The documentation for this class was generated from the following file: