X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vtk%2FvtkGdcm4DSplitter.h;h=c0f4bead237a4563b6b30c5f8258934f9249b1a8;hb=eaebe2a27458d0cd5e71fd260260d378860a81f7;hp=105f2894f6a6714f83307041631731c8b7177129;hpb=021186647facd499ce95526682c645c5d0a6f617;p=gdcm.git diff --git a/vtk/vtkGdcm4DSplitter.h b/vtk/vtkGdcm4DSplitter.h index 105f2894..c0f4bead 100644 --- a/vtk/vtkGdcm4DSplitter.h +++ b/vtk/vtkGdcm4DSplitter.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: vtkGdcm4DSplitter.h,v $ Language: C++ - Date: $Date: 2011/04/08 00:11:36 $ - Version: $Revision: 1.7 $ + Date: $Date: 2011/04/11 11:28:31 $ + Version: $Revision: 1.8 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -27,7 +27,15 @@ typedef bool (*FoncComp)(GDCM_NAME_SPACE::File *file1, GDCM_NAME_SPACE::File *file2); #define CALL_MEMBER_FONC(object, ptrToFoncMember) ((object).*(ptrToFoncMember)) - + + typedef struct + { + std::string strIPP; + double dist; + GDCM_NAME_SPACE::File *file; + } ELEM; + + //namespace GDCM_NAME_SPACE //{ class vtkGdcm4DSplitter { @@ -79,6 +87,8 @@ typedef bool (*FoncComp)(GDCM_NAME_SPACE::File *file1, GDCM_NAME_SPACE::File *f private: bool CompareOnSortTag (GDCM_NAME_SPACE::File *file1, GDCM_NAME_SPACE::File *file2); bool CompareOnSortTagConvertToFloat(GDCM_NAME_SPACE::File *file1, GDCM_NAME_SPACE::File *file2); + void reorgXCoherentFileSetmap (GDCM_NAME_SPACE::XCoherentFileSetmap &xcm); + bool sortVectElem(std::vector *le); // Data // ----