NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
itkCommandLineHelper.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef itkCommandLineHelper_h
16 #define itkCommandLineHelper_h
17 
18 #include <NifTKConfigure.h>
20 
21 #include <itkImageIOBase.h>
22 
23 namespace itk
24 {
25 
32  extern "C++" NIFTKITK_WINEXPORT ITK_EXPORT int PeekAtImageDimension(std::string filename);
33 
40  extern "C++" NIFTKITK_WINEXPORT ITK_EXPORT ImageIOBase::IOComponentType PeekAtComponentType(std::string filename);
41 
48  extern "C++" NIFTKITK_WINEXPORT ITK_EXPORT ImageIOBase::IOPixelType PeekAtPixelType(std::string filename);
49 
57  extern "C++" NIFTKITK_WINEXPORT ITK_EXPORT int PeekAtImageDimensionFromSizeInVoxels(std::string filename);
58 
60  extern "C++" NIFTKITK_WINEXPORT ITK_EXPORT void InitialiseImageIO(std::string filename, ImageIOBase::Pointer& imageIO);
61 
68  extern "C++" NIFTKITK_WINEXPORT ITK_EXPORT std::string GetExceptionString(ExceptionObject& err);
69 
70 } // end namespace
71 
72 #endif
#define NIFTKITK_WINEXPORT
Definition: niftkITKWin32ExportHeader.h:28
Definition: niftkITKAffineResampleImage.cxx:74
int PeekAtImageDimension(std::string filename)
Definition: itkCommandLineHelper.cxx:67
ImageIOBase::IOPixelType PeekAtPixelType(std::string filename)
Definition: itkCommandLineHelper.cxx:89
int PeekAtImageDimensionFromSizeInVoxels(std::string filename)
Definition: itkCommandLineHelper.cxx:100
ImageIOBase::IOComponentType PeekAtComponentType(std::string filename)
Definition: itkCommandLineHelper.cxx:78
std::string GetExceptionString(itk::ExceptionObject &err)
Definition: itkCommandLineHelper.cxx:27
GLsizei const GLcharARB ** string
Definition: glew.h:5194
void InitialiseImageIO(std::string filename, ImageIOBase::Pointer &imageIO)
Definition: itkCommandLineHelper.cxx:39