Read spacing and position to property
This commit is contained in:
@@ -31,8 +31,11 @@ public:
|
|||||||
vtkGetMacro(SamplePerPixel, unsigned short)
|
vtkGetMacro(SamplePerPixel, unsigned short)
|
||||||
vtkSetMacro(SamplePerPixel, unsigned short)
|
vtkSetMacro(SamplePerPixel, unsigned short)
|
||||||
|
|
||||||
vtkSetVector2Macro(Spacing,double);
|
vtkSetVector3Macro(Spacing,double);
|
||||||
vtkGetVector2Macro(Spacing,double);
|
vtkGetVector3Macro(Spacing,double);
|
||||||
|
|
||||||
|
vtkSetVector3Macro(Position,double);
|
||||||
|
vtkGetVector3Macro(Position,double);
|
||||||
|
|
||||||
std::vector<std::string>* GetFileNames(){
|
std::vector<std::string>* GetFileNames(){
|
||||||
return &FileNames;
|
return &FileNames;
|
||||||
@@ -75,7 +78,8 @@ protected:
|
|||||||
~ExtendMedicalImageProperties() override;
|
~ExtendMedicalImageProperties() override;
|
||||||
char * StudyUID = nullptr;
|
char * StudyUID = nullptr;
|
||||||
char * SeriesUID = nullptr;
|
char * SeriesUID = nullptr;
|
||||||
double Spacing[2] ={1.0,1.0};
|
double Spacing[3] ={1.0,1.0,1.0};
|
||||||
|
double Position[3] ={.0,.0,.0};
|
||||||
long AcquisitionNumber = 0;
|
long AcquisitionNumber = 0;
|
||||||
unsigned short SamplePerPixel;
|
unsigned short SamplePerPixel;
|
||||||
std::vector<std::string> FileNames;
|
std::vector<std::string> FileNames;
|
||||||
|
|||||||
Reference in New Issue
Block a user