parameters: (self,checkPointList,volumeNode)
docstring: Internal helper function
      Save a stashed copy of the given volume node into
      the passed list (could be undo or redo list)
docstring_summary: Internal helper function
      Save a stashed copy of the given volume node into
      the passed list (could be undo or redo list)
docstring_tokens: Internal helper function Save a stashed copy of the given volume node into the passed list ( could be undo or redo list )
function: def storeVolume(self,checkPointList,volumeNode):
      """ Internal helper function
      Save a stashed copy of the given volume node into
      the passed list (could be undo or redo list)
      """
      if not self.enabled or not volumeNode or not volumeNode.GetImageData():
        return
      checkPointList.append( self.checkPoint(volumeNode) )
      self.stateChangedCallback()
      if len(checkPointList) >= self.undoSize:
        return( checkPointList[1:] )
      else:
        return( checkPointList )
function_tokens: def storeVolume ( self , checkPointList , volumeNode ) : if not self . enabled or not volumeNode or not volumeNode . GetImageData ( ) : return checkPointList . append ( self . checkPoint ( volumeNode ) ) self . stateChangedCallback ( ) if len ( checkPointList ) >= self . undoSize : return ( checkPointList [ 1 : ] ) else : return ( checkPointList )