feat: add Laterality property to ExtendMedicalImageProperties class
This commit is contained in:
@@ -20,6 +20,7 @@ void ExtendMedicalImageProperties::Clear() {
|
|||||||
vtkMedicalImageProperties::Clear();
|
vtkMedicalImageProperties::Clear();
|
||||||
this->SetStudyUID(nullptr);
|
this->SetStudyUID(nullptr);
|
||||||
this->SetSeriesUID(nullptr);
|
this->SetSeriesUID(nullptr);
|
||||||
|
this->SetLaterality(nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ExtendMedicalImageProperties::ComputeTransformMatrix() {
|
void ExtendMedicalImageProperties::ComputeTransformMatrix() {
|
||||||
|
|||||||
@@ -48,6 +48,16 @@ public:
|
|||||||
vtkSetStringMacro(SeriesUID);
|
vtkSetStringMacro(SeriesUID);
|
||||||
//@}
|
//@}
|
||||||
|
|
||||||
|
//@{
|
||||||
|
/**
|
||||||
|
* Series Instance UID
|
||||||
|
* DICOM (0020,000e)
|
||||||
|
*/
|
||||||
|
vtkGetStringMacro(Laterality);
|
||||||
|
vtkSetStringMacro(Laterality);
|
||||||
|
//@}
|
||||||
|
|
||||||
|
|
||||||
//@{
|
//@{
|
||||||
/**
|
/**
|
||||||
* Acquisition Number
|
* Acquisition Number
|
||||||
@@ -291,6 +301,7 @@ protected:
|
|||||||
long ImageSetNumber = 0;
|
long ImageSetNumber = 0;
|
||||||
long Rows = 0;
|
long Rows = 0;
|
||||||
long Columns = 0;
|
long Columns = 0;
|
||||||
|
char* Laterality = nullptr;
|
||||||
unsigned short SamplePerPixel;
|
unsigned short SamplePerPixel;
|
||||||
unsigned short BitsAllocated;
|
unsigned short BitsAllocated;
|
||||||
unsigned short PixelRepresentation;
|
unsigned short PixelRepresentation;
|
||||||
|
|||||||
Reference in New Issue
Block a user