@staticmethod     
    def createNewFiducial(x, y, z, radX, radY, radZ, scalarNode):
        fiducial = slicer.mrmlScene.CreateNodeByClass('vtkMRMLAnnotationROINode')
        fiducial.SetXYZ(x, y, z)
        fiducial.SetRadiusXYZ(radX, radY, radZ)
        # Add the fiducial to the scalar node
        displayNodeID = scalarNode.GetDisplayNode().GetID()
        fiducial.AddAndObserveDisplayNodeID(displayNodeID)
        # Get fiducial (Point)
        #f = slicer.mrmlScene.CreateNodeByClass('vtkMRMLMarkupsFiducialNode')
        #f.GetMarkupPointVector(0,0) --> returns a vtkVector3d with the coordinates for the
        # first node where the fidual is displayed (param 0) and the number of markup (param1)
Default auth format for requests.
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/CIP_Common/CIP/logic/SlicerUtil.py/SlicerUtil.createNewFiducial--crossover with--dataset/ETHPy150Open bjorns/aem-cmd/acmd/server.py/Server.auth