parameters: (nodeName='default')
return_statement: return newNode
docstring: Create a new node from scratch
          The method is deprecated and will be removed in the future.
docstring_summary: Create a new node from scratch
          The method is deprecated and will be removed in the future.
docstring_tokens: Create a new node from scratch The method is deprecated and will be removed in the future .
function: def CreateNewDisplayNode(nodeName='default'):
      """ Create a new node from scratch
          The method is deprecated and will be removed in the future.
      """
  
      warnings.warn("'CreateNewVolumeNode' method is deprecated and will be removed in the future."+
          "Use volumeNode.CreateDefaultDisplayNodes() method instead.",
          FutureWarning)
  
      scene = slicer.mrmlScene
      nodeType='vtkMRMLScalarVolumeDisplayNode'
      newNode = scene.CreateNodeByClass(nodeType)
      newNode.UnRegister(scene)
      AddNodeToMRMLScene(newNode, nodeName + '_Display', False)
      colorLogic = slicer.modules.colors.logic()
      newNode.SetAndObserveColorNodeID(colorLogic.GetDefaultVolumeColorNodeID())
      return newNode
function_tokens: def CreateNewDisplayNode ( nodeName = 'default' ) : warnings . warn ( "'CreateNewVolumeNode' method is deprecated and will be removed in the future." + "Use volumeNode.CreateDefaultDisplayNodes() method instead." , FutureWarning ) scene = slicer . mrmlScene nodeType = 'vtkMRMLScalarVolumeDisplayNode' newNode = scene . CreateNodeByClass ( nodeType ) newNode . UnRegister ( scene ) AddNodeToMRMLScene ( newNode , nodeName + '_Display' , False ) colorLogic = slicer . modules . colors . logic ( ) newNode . SetAndObserveColorNodeID ( colorLogic . GetDefaultVolumeColorNodeID ( ) ) return newNode