28#ifndef itkIPLFileNameList_h
29#define itkIPLFileNameList_h
30#include "ITKIOIPLExport.h"
40#define IPLSetMacroDeclaration(name, type) virtual void Set##name(const type _arg)
42#define IPLSetMacroDefinition(class, name, type) \
43 void class ::Set##name(const type _arg) \
46 ITK_GCC_SUPPRESS_Wfloat_equal \
47 if (this->m_##name != _arg) \
49 this->m_##name = _arg; \
53 ITK_MACROEND_NOOP_STATEMENT
56#define IPLGetMacroDeclaration(name, type) virtual type Get##name()
58#define IPLGetMacroDefinition(class, name, type) \
59 type class ::Get##name() { return this->m_##name; } \
60 ITK_MACROEND_NOOP_STATEMENT
85 void * data =
nullptr)
172 for (
unsigned int i = 0; it != itend && i != __n; it++, i++)
190 const float sliceLocation,
196 const int imageNumber,
225 if (std::string(filename) == (*it)->GetImageFileName())
243 auto itend =
m_List.end();
245 for (
int i = 0; it != itend; i++, it++)
247 if (i != ElementToRemove)
IPLGetMacroDeclaration(XRes, float)
std::vector< IPLFileSortInfo * > ListType
void RemoveElementFromList(const int ElementToRemove)
ListType::iterator IteratorType
IPLSetMacroDeclaration(SortOrder, int)
IPLSetMacroDeclaration(Key2, int)
IPLSetMacroDeclaration(XDim, int)
bool AddElementToList(const char *const filename, const float sliceLocation, const int offset, const int XDim, const int YDim, const float XRes, const float YRes, const int imageNumber, const int Key1, const int Key2)
IPLGetMacroDeclaration(Key1, int)
IPLGetMacroDeclaration(YDim, int)
IPLFileSortInfo * operator[](unsigned int __n)
ListSizeType NumFiles() const
IPLSetMacroDeclaration(Key1, int)
IPLGetMacroDeclaration(XDim, int)
virtual ~IPLFileNameList()
IPLGetMacroDeclaration(Key2, int)
IPLGetMacroDeclaration(YRes, float)
IPLSetMacroDeclaration(YRes, float)
void sortImageListDescend()
void sortImageListAscend()
IPLSetMacroDeclaration(YDim, int)
IPLSetMacroDeclaration(XRes, float)
ListSizeType GetnumImageInfoStructs() const
IPLGetMacroDeclaration(Data, const void *)
IPLSetMacroDeclaration(EchoNumber, int)
IPLSetMacroDeclaration(SliceLocation, float)
IPLGetMacroDeclaration(SliceOffset, int)
IPLGetMacroDeclaration(EchoNumber, int)
IPLSetMacroDeclaration(ImageNumber, int)
IPLSetMacroDeclaration(Data, void *)
virtual ~IPLFileSortInfo()
std::string m_ImageFileName
IPLGetMacroDeclaration(ImageFileName, std::string)
IPLGetMacroDeclaration(SliceLocation, float)
IPLSetMacroDeclaration(SliceOffset, int)
IPLGetMacroDeclaration(ImageNumber, int)
IPLSetMacroDeclaration(ImageFileName, std::string)
IPLFileSortInfo(const char *const filename, float sliceLocation, int sliceOffset, int echoNumber, int imageNumber, void *data=nullptr)
bool NotAlmostEquals(T1 x1, T2 x2)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....