I am doing some work where I am creating radiation dose distributions for simulated tumours from scratch (rather than exporting from a RT planning software). In Python I generate a 3D numpy array which I convert to a vtkMRMLScalarVolumeNode. How do I convert my scalar volume node into a dose volume node that is used by the Dose Volume Histogram module in SlicerRT?
I am able to successfully load in dose volumes from DICOM data. When I investigate those volumes, I find that they are also vtkMRMLScalarVolumeNodes. What differentiates a dose volume node from other Scalar Volume Nodes (besides the unit).