#NEWLINE# @ staticmethod #NEWLINE# def createNewFiducial( x , y , z , radX , radY , radZ , scalarNode ) : #NEWLINE# #INDENT# 'Create a new fiducial (ROI) that will be visible in the scalar node passed.\n        Parameters: \n        - x, y, z: fiducial coordinates\n        - radX, radY, radZ: ROI size\n        - scalarNode: vtk scalar node where the fiducial will be displayed' #NEWLINE# fiducial = slicer . mrmlScene . CreateNodeByClass ( 'vtkMRMLAnnotationROINode' ) #NEWLINE# fiducial . SetXYZ ( radZ , y , z ) #NEWLINE# fiducial . SetRadiusXYZ ( radX , radY , radZ ) #NEWLINE# displayNodeID = scalarNode . GetDisplayNode ( ) . GetID ( ) #NEWLINE# fiducial . AddAndObserveDisplayNodeID ( displayNodeID )