X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vtk%2FvtkGdcm4DSplitter.h;fp=vtk%2FvtkGdcm4DSplitter.h;h=482f509c915aee1218925ecba624c976817c2610;hb=d0f6827609a499057f4bad725522060590af3d82;hp=1c479a3f80f25aa6cf715f8bc9cd18d18a06495f;hpb=4552d4ee18f3234af4e037e77abf0622c2702004;p=gdcm.git diff --git a/vtk/vtkGdcm4DSplitter.h b/vtk/vtkGdcm4DSplitter.h index 1c479a3f..482f509c 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/15 15:23:14 $ - Version: $Revision: 1.11 $ + Date: $Date: 2011/04/20 15:03:54 $ + Version: $Revision: 1.12 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -55,7 +55,7 @@ typedef bool (*FoncComp)(GDCM_NAME_SPACE::File *file1, GDCM_NAME_SPACE::File *f bool setVectGdcmFile(std::vector *vectGdcmFile); - void SetFlipY(bool f) { FlipY = f; } + void setFlipY(bool f) { FlipY = f; } // Split // ===== @@ -97,12 +97,17 @@ typedef bool (*FoncComp)(GDCM_NAME_SPACE::File *file1, GDCM_NAME_SPACE::File *f bool CompareOnSortTagConvertToFloat(GDCM_NAME_SPACE::File *file1, GDCM_NAME_SPACE::File *file2); void reorgXCoherentFileSetmap (GDCM_NAME_SPACE::XCoherentFileSetmap &xcm); bool sortVectElem(std::vector *le); - + GDCM_NAME_SPACE::FileList * getGdcmFileList(); + // Data // ---- public: protected: private: + + // + // Set by user + // std::string DirName; std::vector VectDirName; std::vector VectFileName; @@ -118,28 +123,33 @@ typedef bool (*FoncComp)(GDCM_NAME_SPACE::File *file1, GDCM_NAME_SPACE::File *f bool SortOnPosition; bool SortOnOrientation; - bool SortOnTag; + //bool SortOnTag; bool SortOnFileName; bool SortOnUserFunction; FoncComp UserCompareFunction; - unsigned short int SortGroup; - unsigned short int SortElem; - bool SortConvertToFloat; + //unsigned short int SortGroup; + //unsigned short int SortElem; + //bool SortConvertToFloat; bool Recursive; - int TypeDir; - //int TypeResult; + bool FlipY; bool verbose; - std::vector *ImageDataVector; - vtkImageData *ImageData; - //std::vector VectGdcmFile; - GDCM_NAME_SPACE::FileList *VectGdcmFile; + + // + // needed, to work + // + int TypeDir; GDCM_NAME_SPACE::XCoherentFileSetmap xcm; - //std::vector > VectGdcmFileLists; - std::vector VectGdcmFileLists; - bool FlipY; + + // + // may be got by user + // + std::vector *ImageDataVector; + GDCM_NAME_SPACE::FileList *VectGdcmFile; // std::vector of gdcm::File* + + std::vector VectGdcmFileLists; // result of the splitting operation }; //} // end namespace gdcm