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.
How to set Frame Increment Pointer in DRTDoseIOD
Moderator: Moderator Team
How to set Frame Increment Pointer in DRTDoseIOD
Russ Moore
Medical Applications Programmer
University of Florida
rmoore@neurosurgery.ufl.edu
Medical Applications Programmer
University of Florida
rmoore@neurosurgery.ufl.edu
-
- DCMTK Developer
- Posts: 2549
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: How to set Frame Increment Pointer in DRTDoseIOD
What about calling setFrameIncrementPointer("(3004,000C)") or setFrameIncrementPointer(DCM_GridFrameOffsetVector.toString())?
Re: How to set Frame Increment Pointer in DRTDoseIOD
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.
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
Medical Applications Programmer
University of Florida
rmoore@neurosurgery.ufl.edu
-
- DCMTK Developer
- Posts: 2549
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: How to set Frame Increment Pointer in DRTDoseIOD
Thank you for the feedback and for the kind offer. I'll keep that in mind
Who is online
Users browsing this forum: No registered users and 0 guests