Class ActionSaveAllVOIs

    • Field Detail

      • SAVE_VOIS_TO_DIR

        private static final java.lang.String SAVE_VOIS_TO_DIR
        The label to use for the VOI-save destination directory parameter (leave empty for the default directory).
        See Also:
        Constant Field Values
      • recordingTargetDir

        private java.lang.String recordingTargetDir
        The directory where the VOIs were saved to, which should be recorded in the script. Leave empty or null to save in the current default directory.
    • Constructor Detail

      • ActionSaveAllVOIs

        public ActionSaveAllVOIs()
        Constructor for the dynamic instantiation and execution of the SaveAllVOIs script action.
      • ActionSaveAllVOIs

        public ActionSaveAllVOIs​(ModelImage input)
        Constructor used to record the SaveAllVOIs script action line.
        Parameters:
        input - The image which had its VOIs saved.
      • ActionSaveAllVOIs

        public ActionSaveAllVOIs​(ModelImage input,
                                 java.lang.String targetDir)
        Constructor used to record the SaveAllVOIs script action line.
        Parameters:
        input - The image which had its VOIs saved.
        targetDir - The directory where the VOIs were saved (leave empty or null for the default directory).
    • Method Detail

      • setTargetDirectory

        public void setTargetDirectory​(java.lang.String targetDir)
        Changes the target directory where the VOIs were saved, which should be recorded in the script. Use empty or null string to indicate that the default directory should be used.
        Parameters:
        targetDir - The directory where the VOIs were saved.