16 #if !defined(__mlKernelEditor_H)
17 #define __mlKernelEditor_H
Field to encapsulate a double value.
Base class for all fields used in the ML.
Field to encapsulate an integer value.
The class to edit a 6D kernel.
NotifyField * getPowFld() const
std::vector< std::string > _undoList
List of strings to push recent kernels.
NotifyField * getSqrtFld() const
DoubleField * getElementSumFld() const
virtual void _updateInfo(std::string errString="")
Update the kernel information line with kernel infos or error lines.
NotifyField * getGaussFld() const
IntField * getKernelCFld() const
IntField * getPrecisionFld() const
void calculateOutputImageProperties(int outIndex, PagedImage *outputImage) override
Return kernel size as output image size. Set page size to 64x64x1x1x1x1.
IntField * getKernelZFld() const
void activateAttachments() override
Called when field settings are finished after load.
NotifyField * getMultFld() const
virtual void _stringToKernel(bool addToUndo=true)
Converts current editor string to a kernel and append it to the undo list if addToUndo is true.
NotifyField * getDivFld() const
NotifyField * getMirrorCFld() const
NotifyField * getUndoFld() const
NotifyField * getMirrorTFld() const
IntField * getKernelXFld() const
NotifyField * getSetElementValuesFld() const
void calculateOutputSubImage(SubImage *outSubImg, int, SubImage *) override
Implements the call of calculateOutputSubImage() for all data types.
NotifyField * getFillFld() const
NotifyField * getInvSubFld() const
NotifyField * getMirrorZFld() const
NotifyField * getInvDivFld() const
IntField * getKernelUFld() const
StringField * getKernelStringFld() const
StringField * getInfoFld() const
NotifyField * getMirrorFld() const
SubImageBox calculateInputSubImageBox(int, const SubImageBox &, int) override
We don't need any input image to calculate the output. So return an empty box.
void handleNotification(Field *field) override
Called when a parameter field is changed.
NotifyField * getAddFld() const
NotifyField * getRedoFld() const
NotifyField * getMirrorYFld() const
IntField * getFieldWidthFld() const
NotifyField * getSubFld() const
NotifyField * getSqrFld() const
ML_MODULE_CLASS_HEADER(KernelEditor)
Macro to declare methods for the runtime system, defined in mlRuntimeSubClass.h.
MLint _recEntries
Counter for recursive entries in handleNotifications.
IntField * getNumElementsFld() const
IntField * getKernelYFld() const
NotifyField * getMirrorUFld() const
void calculateOutputSubImage(TSubImage< DATATYPE > *outSubImg, int outIndex)
Return kernel as output image.
std::vector< std::string > _redoList
List of strings to redo recent kernels.
NotifyField * getMirrorXFld() const
NotifyField * getLogFld() const
KernelEditor()
Constructor.
IntField * getKernelTFld() const
NotifyField * getSphereFld() const
NotifyField * getNormalizeFld() const
NotifyField * getSetExtFld() const
virtual void _kernelToString(bool addToUndo=true)
Converts the current kernel to the editor string and append it to the undo list if addToUndo is true.
DoubleField * getValueFld() const
Base class for an image processing module of the ML.
Field without value for notifications.
The class PagedImage, representing a fragmented image that manages properties and data of an image lo...
Field to encapsulate a string value.
This class manages/represents a rectangular 6D image region that is organized linearly in memory.
This template class manages/represents a rectangular 6D image region in memory that is organized line...
#define MLKERNELEXPORT
Includes files used in many parts of the dll, defined dll-specific macros and controls any system dep...
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
TSubImageBox< MLint > SubImageBox
Defines the standard SubImageBox type used in the ML. Its size varies with the size of the MLint type...