ITK  4.8.0
Insight Segmentation and Registration Toolkit
itkTestDriverIncludeRequiredIOFactories.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef itkTestDriverIncludeRequiredIOFactories_h
19 #define itkTestDriverIncludeRequiredIOFactories_h
20 
21 #include "itkGDCMImageIOFactory.h"
22 #include "itkMetaImageIOFactory.h"
23 #include "itkJPEGImageIOFactory.h"
24 #include "itkPNGImageIOFactory.h"
25 #include "itkTIFFImageIOFactory.h"
26 #include "itkBMPImageIOFactory.h"
27 #include "itkVTKImageIOFactory.h"
28 #include "itkNrrdImageIOFactory.h"
29 #include "itkGiplImageIOFactory.h"
30 #include "itkNiftiImageIOFactory.h"
31 #include "itkTestDriverInclude.h"
32 #include "itkObjectFactoryBase.h"
33 
34 #ifdef __EMSCRIPTEN__
35 #include <emscripten.h>
36 #endif
37 
38 void
40 {
51 }
52 
53 void
55 {
56  try
57  {
59  }
60  catch( itk::ExceptionObject & error )
61  {
62  std::cerr << "Error during registration of required factories: " << error << std::endl;
63  }
64  ProcessArguments( ac, av );
65 }
66 
67 #endif
static Pointer New()
void ProcessArgumentsAndRegisterRequiredFactories(int *ac, ArgumentStringType *av)
char ** ArgumentStringType
static Pointer New()
static Pointer New()
static Pointer New()
Standard exception handling object.
static Pointer New()
static Pointer New()
static Pointer New()
static bool RegisterFactory(ObjectFactoryBase *, InsertionPositionType where=INSERT_AT_BACK, vcl_size_t position=0)
int ProcessArguments(int *ac, ArgumentStringType *av, ProcessedOutputType *processedOutput=nullptr)
static Pointer New()
static Pointer New()
static Pointer New()