From: tbaudier Date: Fri, 11 Jan 2019 12:36:24 +0000 (+0100) Subject: Comment snoutID X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=d55f025b18f68066a52b8f33c2dc6481e82c2580;p=clitk.git Comment snoutID In clitkDicomRTPlan2Gate, I commented the part of code about snout ID because the variable snoutID is not used at all --- diff --git a/tools/clitkDicomRTPlan2Gate.cxx b/tools/clitkDicomRTPlan2Gate.cxx index f8eb86e..3f07c8e 100644 --- a/tools/clitkDicomRTPlan2Gate.cxx +++ b/tools/clitkDicomRTPlan2Gate.cxx @@ -140,8 +140,8 @@ int main(int argc, char * argv[]) gdcm::Attribute<0x300a,0x330> numberOfLateralSpreadingDevices; gdcm::Attribute<0x300a,0x340> numberOfRangeModulators; - gdcm::Tag tSnoutSQ(0x300a,0x30c); - gdcm::Attribute<0x300a,0x30f> snoutID; + //gdcm::Tag tSnoutSQ(0x300a,0x30c); + //gdcm::Attribute<0x300a,0x30f> snoutID; gdcm::Tag tControlPointSQ(0x300a,0x3a8); gdcm::Attribute<0x300a,0x15> energyUnit; @@ -195,6 +195,7 @@ int main(int argc, char * argv[]) numberOfLateralSpreadingDevices.SetFromDataSet(IonBeamData); numberOfRangeModulators.SetFromDataSet(IonBeamData); + /* const gdcm::DataElement &SnoutSQ = IonBeamData.GetDataElement(tSnoutSQ); gdcm::SmartPointer sqsn = SnoutSQ.GetValueAsSQ(); for( unsigned int snidx = 1; snidx <= sqsn->GetNumberOfItems(); ++snidx ) @@ -204,6 +205,7 @@ int main(int argc, char * argv[]) snoutID.SetFromDataSet(SnoutData); } + */ const gdcm::DataElement &ControlPointSQ = IonBeamData.GetDataElement(tControlPointSQ); gdcm::SmartPointer sqcp = ControlPointSQ.GetValueAsSQ();