14 #ifndef vtkDICOMSliceSorter_h
15 #define vtkDICOMSliceSorter_h
17 #include "vtkObject.h"
18 #include "vtkDICOMModule.h"
19 #include "vtkDICOMConfig.h"
20 #include "vtkDICOMTag.h"
23 #if defined(VTK_ABI_NAMESPACE_BEGIN)
24 VTK_ABI_NAMESPACE_BEGIN
30 #if defined(VTK_ABI_NAMESPACE_BEGIN)
46 void PrintSelf(ostream& os, vtkIndent indent) VTK_DICOM_OVERRIDE;
57 const char *GetDesiredStackID() {
return this->DesiredStackID; }
111 vtkGetMacro(RepeatsAsTime,
int);
112 vtkSetMacro(RepeatsAsTime,
int);
113 vtkBooleanMacro(RepeatsAsTime,
int);
125 vtkGetMacro(TimeAsVector,
int);
126 vtkSetMacro(TimeAsVector,
int);
127 vtkBooleanMacro(TimeAsVector,
int);
131 int GetTimeDimension() {
return this->TimeDimension; }
133 double GetTimeSpacing() {
return this->TimeSpacing; }
137 vtkSetMacro(DesiredTimeIndex,
int);
139 vtkGetMacro(DesiredTimeIndex,
int);
170 vtkDICOMTag GetTimeSequence() {
return this->TimeSequence; }
177 vtkGetMacro(ReverseSlices,
int);
178 vtkSetMacro(ReverseSlices,
int);
179 vtkBooleanMacro(ReverseSlices,
int);
183 double GetSliceSpacing() {
return this->SliceSpacing; }
197 virtual
void SortFiles(vtkIntArray *fileArray, vtkIntArray *frameArray);
203 vtkIntArray *FileIndexArray;
206 vtkIntArray *FrameIndexArray;
209 vtkStringArray *StackIDs;
215 int DesiredTimeIndex;
219 char DesiredStackID[20];
230 #ifdef VTK_DICOM_DELETE
Index a DICOM series to allow proper dimensional ordering.
Definition: vtkDICOMSliceSorter.h:43
vtkStringArray * GetStackIDs()
Get a list of the stacks that are present.
Definition: vtkDICOMSliceSorter.h:63
void SetMetaData(vtkDICOMMetaData *meta)
Set the meta data for the DICOM files.
vtkIntArray * GetFrameIndexArray()
Get an array that converts slice index to frame index.
Definition: vtkDICOMSliceSorter.h:86
void SetDesiredStackID(const char *stackId)
Set the Stack ID of the stack to use, for named stacks.
void SetTimeTag(vtkDICOMTag tag)
Set the DICOM tag to use for time measurement.
void SetTimeSequence(vtkDICOMTag tag)
Set the DICOM sequence to use for timing information.
vtkIntArray * GetFileIndexArray()
Get an array that converts slice index to input file index.
Definition: vtkDICOMSliceSorter.h:77
void PrintSelf(ostream &os, vtkIndent indent) VTK_DICOM_OVERRIDE
A (group,element) identifier tag for DICOM attributes.
Definition: vtkDICOMTag.h:23
abstract base class for most VTK objects
Definition: vtkObject.h:54