Hi,
I probably have a silly question, but I didn’t manage to find an answer in the forum. I am trying to write a custom module to manage a treatment planning simulation. Part of this module consist in associating segmented volumes to a material. I have now a working QT widget where the user can add this information and the data is managed within the python script with:
@parameterPack
class MaskParameters:
node: vtkMRMLScalarVolumeNode
material: str
@parameterNodeWrapper
class GenerateInputParameterNode:
CT: MaskParameters
GTV: MaskParameters
OAR: list[MaskParameters]
Other: list[MaskParameters]
AddVolume: vtkMRMLScalarVolumeNode
I would like to save the user generated data with the scene or medical record bundle. Is this possible ? Is there an example I could use as a guideline ?
thanks in advance !