How to set Frame Increment Pointer in DRTDoseIOD

Questions regarding the DCMRT library, a DCMTK add-on that implements support for the various DICOM Radiation Therapy (RT) IODs

Moderator: Moderator Team

Post Reply
Message
Author
rmoore
Posts: 6
Joined: Thu, 2011-05-05, 18:52
Location: Gainesville, Florida, USA
Contact:

How to set Frame Increment Pointer in DRTDoseIOD

#1 Post by rmoore »

I need to ask a very basic question.
I'm trying to set the FrameIncrementPointer in DRTDoseIOD. The function setFrameIncrementPointer() takes an OFString as it's parameter.
I want to set it to the default (3004,000C) but I cannot for the life of me figure out how to convert an attribute tag into an OFString so the function will accept it.
I've been trying different things for days with no luck. Any help would be appreciated.
Russ Moore
Medical Applications Programmer
University of Florida
rmoore@neurosurgery.ufl.edu

J. Riesmeier
DCMTK Developer
Posts: 2496
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: How to set Frame Increment Pointer in DRTDoseIOD

#2 Post by J. Riesmeier »

What about calling setFrameIncrementPointer("(3004,000C)") or setFrameIncrementPointer(DCM_GridFrameOffsetVector.toString())?

rmoore
Posts: 6
Joined: Thu, 2011-05-05, 18:52
Location: Gainesville, Florida, USA
Contact:

Re: How to set Frame Increment Pointer in DRTDoseIOD

#3 Post by rmoore »

And that, of course, worked.
I had tried the 1st option, but without the parentheses. And I tried the second, but without the ".toString()".

Many thanks. If you ever make it to Florida, I owe you a beer.
Russ Moore
Medical Applications Programmer
University of Florida
rmoore@neurosurgery.ufl.edu

J. Riesmeier
DCMTK Developer
Posts: 2496
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: How to set Frame Increment Pointer in DRTDoseIOD

#4 Post by J. Riesmeier »

Thank you for the feedback and for the kind offer. I'll keep that in mind :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest