Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
mitkAutoCropImageFilterTest.cpp
Go to the documentation of this file.
1
/*===================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#include "
mitkAutoCropImageFilter.h
"
18
19
int
mitkAutoCropImageFilterTest
(
int
/*argc*/
,
char
*
/*argv*/
[])
20
{
21
mitk::AutoCropImageFilter::Pointer
filter;
22
std::cout <<
"Testing mitk::AutoCropImageFilter::New(): "
;
23
filter =
mitk::AutoCropImageFilter::New
();
24
if
(filter.IsNull())
25
{
26
std::cout <<
"[FAILED]"
<< std::endl;
27
return
EXIT_FAILURE;
28
}
29
else
30
{
31
std::cout <<
"[PASSED]"
<< std::endl;
32
}
33
34
// std::cout << "Testing mitk::SurfaceToImageFilter::*TESTED_METHOD_DESCRIPTION: ";
36
// if (filter.IsNull()) {
37
// std::cout<<"[FAILED]"<<std::endl;
38
// return EXIT_FAILURE;
39
//}
40
// else {
41
// std::cout<<"[PASSED]"<<std::endl;
42
//}
43
44
std::cout <<
"[TEST DONE]"
<< std::endl;
45
return
EXIT_SUCCESS;
46
}
mitkAutoCropImageFilter.h
mitk::AutoCropImageFilter::New
static Pointer New()
itk::SmartPointer< Self >
mitkAutoCropImageFilterTest
int mitkAutoCropImageFilterTest(int, char *[])
Definition:
mitkAutoCropImageFilterTest.cpp:19
git
MITK
Modules
AlgorithmsExt
test
mitkAutoCropImageFilterTest.cpp
Generated on Fri Feb 3 2017 20:51:53 for Medical Imaging Interaction Toolkit by
1.8.9.1