I’m trying to adjust the window label of a vtkMRMLScalarVolumeNode and to Apply it a Rainbow LUT.
I thought to use the object SetWindowLevelToVolumeProp() of the class volumerendering.logic(). The problem which I am facing is that this function takes as argument a vtkVolumeProperty and I don’t know how to get it from the vtkMRMLScalarVolumeNode.
I wonder also if it is possible to automatic adjust the window label.
Thank you very much.