def InitAddTargetPoint(self):
        scene = self._parentClass.GetLogic().GetMRMLScene()

        if self._targetFiducialList == None:

            # no list created yet
            self._targetFiducialList = slicer.vtkMRMLFiducialListNode()
            self._targetFiducialList.SetName(
                "VMTK Colliding Fronts Target Points")
            self._targetFiducialList.SetScene(scene)
            self._targetFiducialList.SetColor(0.2, 0.2, 0.6)
            self._targetFiducialList.SetLocked(1)
            scene.AddNode(self._targetFiducialList)

        #change the button appeareance
        self._addTargetPointButton.SetActiveBackgroundColor(0.2, 0.2, 0.6)
        self._addTargetPointButton.SetReliefToSunken()
        self._addTargetPointButton.SetBackgroundColor(0.2, 0.2, 0.6)
        self._addTargetPointButton.SetForegroundColor(0.7, 0.7, 0.7)
        self._addTargetPointButton.SetActiveForegroundColor(0.7, 0.7, 0.7)
        self._addTargetPointButton.SetText("Click into slice")
        self._addTargetPointButton.SetWidth(15)

        self._parentClass.UnLockInitInterface(0)
        self._addSourcePointButton.SetEnabled(0)
        self._thresholdSlider.SetEnabled(0)
        self._startButton.SetEnabled(0)
        self._resetButton.SetEnabled(0)

        self._currentFiducialList = self._targetFiducialList
        self._currentFiducialListLabel = "TP"
        self._parentClass.GetHelper().SetIsInteractiveMode(1, self)
    def InitAddTargetPoint(self):

        scene = self._parentClass.GetLogic().GetMRMLScene()

        if self._targetFiducialList == None:

            # no list created yet
            self._targetFiducialList = slicer.vtkMRMLFiducialListNode()
            self._targetFiducialList.SetName(
                "VMTK Fast Marching Target Points")
            self._targetFiducialList.SetScene(scene)
            self._targetFiducialList.SetColor(0.2, 0.2, 0.6)
            self._targetFiducialList.SetLocked(1)
            scene.AddNode(self._targetFiducialList)
            self._targetPointsList.GetWidget().DeleteAll()

        #disable all other buttons
        self._parentClass.UnLockInitInterface(0)

        #change the button appeareance
        self._addTargetPointButton.SetActiveBackgroundColor(0.2, 0.2, 0.6)
        self._addTargetPointButton.SetReliefToSunken()
        self._addTargetPointButton.SetBackgroundColor(0.2, 0.2, 0.6)
        self._addTargetPointButton.SetForegroundColor(0.7, 0.7, 0.7)
        self._addTargetPointButton.SetActiveForegroundColor(0.7, 0.7, 0.7)
        self._addTargetPointButton.SetText("Stop adding!")
        self._addTargetPointButton.SetWidth(15)
        self._addTargetPointButton.SetBalloonHelpString(
            "Click to stop adding new target points")

        self._currentFiducialList = self._targetFiducialList
        self._currentFiducialListLabel = "TP"
        self._parentClass.GetHelper().SetIsInteractiveMode(1, self)
    def InitAddTargetPoint(self):

        scene = self._parentClass.GetLogic().GetMRMLScene()

        if self._targetFiducialList == None:
            
            # no list created yet
            self._targetFiducialList = slicer.vtkMRMLFiducialListNode()
            self._targetFiducialList.SetName("VMTK Fast Marching Target Points")
            self._targetFiducialList.SetScene(scene)
            self._targetFiducialList.SetColor(0.2,0.2,0.6)
            self._targetFiducialList.SetLocked(1)
            scene.AddNode(self._targetFiducialList)
            self._targetPointsList.GetWidget().DeleteAll()

        #disable all other buttons
        self._parentClass.UnLockInitInterface(0)

        #change the button appeareance
        self._addTargetPointButton.SetActiveBackgroundColor(0.2,0.2,0.6)
        self._addTargetPointButton.SetReliefToSunken()
        self._addTargetPointButton.SetBackgroundColor(0.2,0.2,0.6)
        self._addTargetPointButton.SetForegroundColor(0.7,0.7,0.7)
        self._addTargetPointButton.SetActiveForegroundColor(0.7,0.7,0.7)
        self._addTargetPointButton.SetText("Stop adding!")
        self._addTargetPointButton.SetWidth(15)
        self._addTargetPointButton.SetBalloonHelpString("Click to stop adding new target points")

        self._currentFiducialList = self._targetFiducialList
        self._currentFiducialListLabel = "TP"
        self._parentClass.GetHelper().SetIsInteractiveMode(1,self)
    def InitAddSeedPoint(self):

        scene = self._parentClass.GetLogic().GetMRMLScene()

        if self._seedFiducialList == None:
            
            # no list created yet
            self._seedFiducialList = slicer.vtkMRMLFiducialListNode()
            self._seedFiducialList.SetName("VMTK Seed Points")
            self._seedFiducialList.SetScene(scene)
            self._seedFiducialList.SetColor(0.2,0.6,0.2)
            self._seedFiducialList.SetGlyphTypeFromString("Circle2D")
            self._seedFiducialList.SetLocked(1)
            scene.AddNode(self._seedFiducialList)
            self._seedPointsList.GetWidget().DeleteAll()

        #disable all other buttons
        self._parentClass.UnLockInitInterface(0)
        self._startButton.SetEnabled(0)

        #change the button appeareance
        self._addSeedPointButton.SetActiveBackgroundColor(0.2,0.6,0.2)
        self._addSeedPointButton.SetReliefToSunken()
        self._addSeedPointButton.SetBackgroundColor(0.2,0.6,0.2)
        self._addSeedPointButton.SetForegroundColor(0.2,0.2,0.2)
        self._addSeedPointButton.SetText("Stop adding!")
        self._addSeedPointButton.SetWidth(15)
        self._addSeedPointButton.SetBalloonHelpString("Click to stop adding new seed points")


        self._parentClass.GetHelper().SetIsInteractiveMode(1,self)
    def InitAddTargetPoint(self):
        scene = self._parentClass.GetLogic().GetMRMLScene()

        if self._targetFiducialList == None:
            
            # no list created yet
            self._targetFiducialList = slicer.vtkMRMLFiducialListNode()
            self._targetFiducialList.SetName("VMTK Colliding Fronts Target Points")
            self._targetFiducialList.SetScene(scene)
            self._targetFiducialList.SetColor(0.2,0.2,0.6)
            self._targetFiducialList.SetLocked(1)
            scene.AddNode(self._targetFiducialList)

        #change the button appeareance
        self._addTargetPointButton.SetActiveBackgroundColor(0.2,0.2,0.6)
        self._addTargetPointButton.SetReliefToSunken()
        self._addTargetPointButton.SetBackgroundColor(0.2,0.2,0.6)
        self._addTargetPointButton.SetForegroundColor(0.7,0.7,0.7)
        self._addTargetPointButton.SetActiveForegroundColor(0.7,0.7,0.7)
        self._addTargetPointButton.SetText("Click into slice")
        self._addTargetPointButton.SetWidth(15)

        self._parentClass.UnLockInitInterface(0)
        self._addSourcePointButton.SetEnabled(0)
        self._thresholdSlider.SetEnabled(0)
        self._startButton.SetEnabled(0)
        self._resetButton.SetEnabled(0)

        self._currentFiducialList = self._targetFiducialList
        self._currentFiducialListLabel = "TP"
        self._parentClass.GetHelper().SetIsInteractiveMode(1,self)