Currently i’m working on loading and visualization of ion range compensator,
which data is loaded from DICOM-RT ion plan file. The compensator volume data taken from the dicom file are very similar to image parameters: rows, columns, pixel spacing, thickness data.
The compensator is going to be a square block or slab with a milled down center part of the block by a milling machine.
Typical amount of data isn’t very large, for rows=50 and columns=50, thickness data size is 2500 single precision digits.
What is best way to store the data for model visualization?
- A class derived from vtkMRMLModelNode, and thickness data is stored as std::vector< float >.
- A class derived from vtkMRMLModelNode, and thickness data is stored as observed vtkMRMLTableNode.
- A loader member function which takes the data and creates a compensator model.