15 #ifndef niftkConversionUtils_h
16 #define niftkConversionUtils_h
18 #include <NifTKConfigure.h>
23 #define NIFTK_PI 3.1415926535897932384626433832795
67 double millimetreCoordinateOfFirstVoxel,
68 int numberOfVoxelsInThatAxis,
69 double voxelSpacingInThatAxis);
73 double millimetreCoordinateOfMiddleVoxel,
74 int numberOfVoxelsInThatAxis,
75 double voxelSpacingInThatAxis);
79 #endif // niftkConversionUtils_h
int ConvertToInt(const std::string &x)
Definition: niftkConversionUtils.cxx:82
double CalculateStdDevFromFWHM(double fwhm)
Definition: niftkConversionUtils.cxx:119
double fixRangeTo1(double d)
Definition: niftkConversionUtils.cxx:152
double ConvertMiddleOfImageCoordinateToFirstVoxelCoordinate(double millimetreCoordinateOfMiddleVoxel, int numberOfVoxelsInThatAxis, double voxelSpacingInThatAxis)
Definition: niftkConversionUtils.cxx:140
double ConvertFirstVoxelCoordinateToMiddleOfImageCoordinate(double millimetreCoordinateOfFirstVoxel, int numberOfVoxelsInThatAxis, double voxelSpacingInThatAxis)
Definition: niftkConversionUtils.cxx:128
double CalculateVarianceFromFWHM(double fwhm)
Definition: niftkConversionUtils.cxx:110
double ConvertToDouble(const std::string &x)
Definition: niftkConversionUtils.cxx:89
int Round(double d)
Definition: niftkConversionUtils.cxx:160
bool ConvertToBool(const std::string &x)
Definition: niftkConversionUtils.cxx:96
std::string GetLastNCharacters(std::string s, int n)
Definition: niftkConversionUtils.cxx:175
std::string ConvertToString(int x)
Definition: niftkConversionUtils.cxx:26
GLint GLint GLint GLint GLint x
Definition: glew.h:1236
GLclampd n
Definition: glew.h:6789
GLdouble s
Definition: glew.h:1374
Definition: niftkExceptionObject.h:21
GLsizei const GLcharARB ** string
Definition: glew.h:5194