Search found 4 matches

by sic1981
Fri, 2011-10-07, 16:53
Forum: DCMRT
Topic: RT Plan: Visualize Beams
Replies: 0
Views: 22141

RT Plan: Visualize Beams

Hi,

I am using the dcmrt module to read the infos from the RT Plan objects. Now I want to visualize the beams listed in the file in a viewer. Does anyone have an idea what information of the RT plan object I could use to display the beams?


Thanks and best regards,

Stefan
by sic1981
Fri, 2011-03-18, 11:04
Forum: DCMTK - General
Topic: Write Dicom File to memory
Replies: 6
Views: 8960

Hi, okay I am almost there. If I first call DcmFileFormat::validateMetaInfo( opt_oxfer ) then DcmFileFormat::getLength( opt_oxfer, opt_oenctype ) return almost the exact length of the file. But there are still always 8 Bytes missing. If I add these 8 Bytes to the length all my test files seem to wor...
by sic1981
Thu, 2011-03-17, 10:39
Forum: DCMTK - General
Topic: Write Dicom File to memory
Replies: 6
Views: 8960

Thanks for the answer. But unfortunately that's not the solution :(

The value returned by DcmFileFormat::getLength() is equal to DcmDataset::getLength() + DcmFileFormat::getMetaInfo()->calcElementLength(). But there are still ~100Bytes missing.

Do you have any more ideas?
by sic1981
Wed, 2011-03-16, 09:55
Forum: DCMTK - General
Topic: Write Dicom File to memory
Replies: 6
Views: 8960

Write Dicom File to memory

Hi, I try to write a dicom file into a memory buffer. I can write a file by using the DcmFileFormat::saveFile method. Now I have written a method DcmFileFormat::saveMem which uses a DcmOutputBufferStream to copy the Dicom file to an address in memory. It works so far but I have some problems to dete...