Class WriteMat
java.lang.Object
net.algart.json.PropertyChecker
net.algart.executors.api.ExecutionBlock
net.algart.executors.api.Executor
net.algart.executors.modules.core.common.io.FileOperation
net.algart.executors.modules.core.common.io.WriteFileOperation
net.algart.executors.modules.opencv.matrices.io.WriteMat
- All Implemented Interfaces:
AutoCloseable,net.algart.executors.api.ReadOnlyExecutionInput
public final class WriteMat
extends net.algart.executors.modules.core.common.io.WriteFileOperation
implements net.algart.executors.api.ReadOnlyExecutionInput
-
Nested Class Summary
Nested classes/interfaces inherited from class net.algart.executors.modules.core.common.io.FileOperation
net.algart.executors.modules.core.common.io.FileOperation.FileNameAdditionModeNested classes/interfaces inherited from class net.algart.executors.api.Executor
net.algart.executors.api.Executor.Timing -
Field Summary
Fields inherited from class net.algart.executors.modules.core.common.io.WriteFileOperation
M1, M2, M3, S1, S2, S3, X1, X2, X3Fields inherited from class net.algart.executors.modules.core.common.io.FileOperation
DEFAULT_EMPTY_FILE, FILE_NAME_ADDITION_PATTERN, INPUT_FILE, INPUT_FILE_NAME_ADDITION, OUTPUT_ABSOLUTE_PATH, OUTPUT_FILE_NAME, OUTPUT_OS_PATH, OUTPUT_PARENT_FOLDERFields inherited from class net.algart.executors.api.Executor
ENUM_VALUE_OF_NAME_CUSTOM_METHOD, LOG, LOGGABLE_DEBUG, LOGGABLE_INFO, LOGGABLE_TRACE, OUTPUT_EXECUTOR_ID_NAME, OUTPUT_PLATFORM_ID_NAME, OUTPUT_RESOURCE_FOLDER_NAME, STANDARD_VISIBLE_RESULT_PARAMETER_NAMEFields inherited from class net.algart.executors.api.ExecutionBlock
DEFAULT_INPUT_PORT, DEFAULT_OUTPUT_PORT, EXTENDED_MODE, GLOBAL_SHARED_SESSION_ID, SHOW_INFO_ON_STARTUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess()booleansetRequireInput(boolean requireInput) net.algart.executors.api.ExecutionVisibleResultsInformationvoidwriteMat(net.algart.executors.api.data.SMat inputMat) voidwriteMat(org.bytedeco.opencv.opencv_core.Mat mat) Methods inherited from class net.algart.executors.modules.core.common.io.WriteFileOperation
addWriteFileOperationPorts, copyAdditionalDataMethods inherited from class net.algart.executors.modules.core.common.io.FileOperation
addFileOperationPorts, completeFilePath, completeFilePath, completeFilePath, completeOSFilePath, completeOSFilePath, completeSeveralFilePaths, completeSeveralFilePaths, currentOSPath, filePath, fillOutputFileInformation, getFile, getFileNameAdditionMode, isSecure, readOnly, relativizePathInsideCurrent, setFile, setFileNameAdditionMode, setSecure, simplifyOSPathMethods inherited from class net.algart.executors.api.Executor
addServiceTime, allocatedMemory, allOutputContainers, allParameters, checkOutputNecessary, close, configAllocatedMemory, debugTime, defaultInputPortName, defaultInputPortName, defaultOutputPortName, defaultOutputPortName, defaultVisibleResultsInformation, disableOnChangeParameterAutomatic, disableOnChangeParametersAutomatic, execute, execute, executorPlatform, executorResourceFolder, fillSystemOutputs, fineAllocatedMemory, finishTimingOfExecutingAll, getEndProcessingTimeStamp, getServiceTime, getStartProcessingTimeStamp, infoTime, initialize, isCancellingExecutionRequested, isCancellingFurtherExecutionRequested, isMultithreadingEnvironment, isTimingEnabled, isUsingVisibleResultParameter, isVisiblePort, isVisibleResultDisabled, logDebug, logDebug, loggingEnabled, logInfo, logInfo, logTrace, logTrace, onChangeParameter, onChangeParameterAutomatic, parameterControlValueType, parameterJavaType, postprocess, requestCancellingFurtherExecution, requestContinuingFurtherExecution, reset, resetTiming, setDefaultInputMat, setDefaultInputNumbers, setDefaultInputPort, setDefaultInputScalar, setDefaultOutputMat, setDefaultOutputNumbers, setDefaultOutputPort, setDefaultOutputScalar, setEndProcessingTimeStamp, setMultithreadingEnvironment, setStartProcessingTimeStamp, setTimingEnabled, showStatus, showStatus, skipStandardAutomaticParameters, startTimingOfExecutingAll, status, statusData, toString, useVisibleResultParameter, valueOfLogLevel, visibleOutputPortNameMethods inherited from class net.algart.executors.api.ExecutionBlock
addInputData, addInputMat, addInputNumbers, addInputScalar, addOneTimeTaskAfterExecutingAll, addOutputData, addOutputMat, addOutputNumbers, addOutputScalar, addPort, addTaskAfterExecutingAll, addTaskBeforeExecutingAll, afterExecutingAll, allInputPorts, allOneTimeTasksAfterExecutingAll, allOutputPorts, allTasksAfterExecutingAll, allTasksBeforeExecutingAll, beforeExecutingAll, checkInputNecessary, clearSession, contextPath, freeAllInputPortData, freeAllOutputPortData, freeAllPortData, getCaller, getContextId, getContextName, getContextPath, getCurrentDirectory, getData, getData, getDoubleScalar, getDoubleScalar, getExecutorId, getExecutorSpecification, getInputData, getInputData, getInputData, getInputData, getInputDataContainer, getInputDataContainer, getInputMat, getInputMat, getInputMat, getInputMat, getInputMatContainer, getInputMatContainer, getInputNumbers, getInputNumbers, getInputNumbers, getInputNumbers, getInputNumbersContainer, getInputNumbersContainer, getInputPort, getInputScalar, getInputScalar, getInputScalar, getInputScalar, getInputScalarContainer, getInputScalarContainer, getIntScalar, getIntScalar, getLongScalar, getLongScalar, getMat, getMat, getNumbers, getNumbers, getOutputPort, getOwnerId, getPlatformId, getPort, getRequiredInputPort, getRequiredOutputPort, getRootCaller, getScalar, getScalar, getSessionId, getStringScalar, getStringScalar, globalExecutorLoaders, hasDefaultInputPort, hasDefaultOutputPort, hasInputPort, hasOutputPort, initializeExecutionSystem, interrupt, isAllOutputsNecessary, isClosed, isInputNecessary, isInterrupted, isInterruptionRequested, isOutputNecessary, isReadOnlyInput, isVisibleResultNecessary, needToRepeat, newExecutor, newExecutor, parameters, putDoubleScalar, putDoubleScalar, putIntScalar, putIntScalar, putJsonScalar, putJsonScalar, putLongScalar, putLongScalar, putMat, putMat, putNumbers, putNumbers, putNumbers, putNumbers, putScalar, putScalar, putStringScalar, putStringScalar, recommendedCategory, recommendedName, removeInputPort, removeOneTimeTaskAfterExecutingAll, removeOutputData, removeOutputPort, removeTaskAfterExecutingAll, removeTaskBeforeExecutingAll, replacePort, requestDefaultOutput, requestOutput, serializedSpecifications, setAllOutputsNecessary, setBooleanParameter, setCaller, setContextId, setContextId, setContextName, setContextPath, setCurrentDirectory, setDoubleParameter, setExecutorSpecification, setInterruptionRequested, setIntParameter, setLongParameter, setOutputScalar, setOutputScalar, setOutputScalar, setOutputScalar, setOutputScalar, setOutputScalar, setOutputScalarIfNecessary, setOwnerId, setSessionId, setStringParameter, setVisibleResultNecessary, translateCurrentDirectoryMethods inherited from class net.algart.json.PropertyChecker
doubleOrDefault, doubleOrNegativeInfinity, doubleOrNull, doubleOrPositiveInfinity, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, inRange, inRange, inRange, inRange, inRange, inRange, intOrDefault, intOrNull, longOrDefault, longOrNull, nonEmpty, nonEmpty, nonEmptyTrimmed, nonEmptyTrimmed, nonLessThan, nonLessThan, nonLessThan, nonLessThan, nonLessThan, nonLessThan, nonNegative, nonNegative, nonNegative, nonNegative, nonNegative, nonNegative, nonNull, nonNull, positive, positive, positive, positive, positive, positive, propertyNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.algart.executors.api.ReadOnlyExecutionInput
isReadOnly
-
Constructor Details
-
WriteMat
public WriteMat()
-
-
Method Details
-
setFile
- Overrides:
setFilein classnet.algart.executors.modules.core.common.io.FileOperation
-
requireInput
public boolean requireInput() -
setRequireInput
-
process
public void process()- Specified by:
processin classnet.algart.executors.api.Executor
-
writeMat
public void writeMat(net.algart.executors.api.data.SMat inputMat) -
writeMat
public void writeMat(org.bytedeco.opencv.opencv_core.Mat mat) -
visibleResultsInformation
public net.algart.executors.api.ExecutionVisibleResultsInformation visibleResultsInformation()- Overrides:
visibleResultsInformationin classnet.algart.executors.api.Executor
-