MeVisLab Toolbox Reference
|
#include "MeVisLabVersion.h"
#include "mlMacros.h"
#include "mlConfig.h"
#include "mlUtilities.h"
#include <ThirdPartyWarningsDisable.h>
#include <cstdlib>
#include <cstdint>
#include <cfloat>
#include <ThirdPartyWarningsRestore.h>
#include <basetsd.h>
Go to the source code of this file.
Classes | |
struct | MLApplicationPropertyCallbacks |
Defines all callbacks that an application has to support for property access. More... | |
struct | MLTypeInfos |
Structure containing all data type features and pointers to all functions needed to implement operations on any extended type. More... | |
Namespaces | |
ml | |
Main documentation file for ML users and developers. | |
Macros | |
#define | _ML_INT8 MLint8 |
Set MLint8 as define(d). More... | |
#define | _ML_UINT8 MLuint8 |
Set MLuint8 as define(d). More... | |
#define | _ML_INT16 MLint16 |
Set MLint16 as define(d). More... | |
#define | _ML_UINT16 MLuint16 |
Set MLuint16 as define(d). More... | |
#define | _ML_INT32 MLint32 |
Set MLint32 as define(d). More... | |
#define | _ML_UINT32 MLuint32 |
Set MLuint32 as define(d). More... | |
#define | _ML_FLOAT MLfloat |
Set MLfloat as define(d). More... | |
#define | _ML_DOUBLE MLdouble |
Set MLdouble as define(d). More... | |
#define | _ML_LDOUBLE MLldouble |
Set MLldouble as define(d). More... | |
#define | ML_NUM_STANDARD_TYPES 10 |
Number of available compiler/scalar datatypes. More... | |
#define | ML_MAX_COMPONENTS_EXTENDED_TYPE 512 |
Maximum number of components for extended types. More... | |
#define | ML_M_PI 3.14159265358979323846 /* pi */ |
Pi as ML constant for backward compatibility. More... | |
#define | ML_M_PI_2 1.57079632679489661923 /* pi/2 */ |
Pi/2 as ML constant for backward compatibility. More... | |
#define | _ML_INT64 MLint64 |
Sets MLint64 as define(d). More... | |
#define | _ML_UINT64 MLuint64 |
Sets MLuint64 as define(d). More... | |
#define | ML_UNDEFINED_THREADID 0 |
MLThreadId. Defines the data type for a thread ID for comparing threads to each other. More... | |
#define | ML_INVALID_DATA_TYPE -1 |
Defines an invalid MLDataType. More... | |
#define | ML_INVALID_ERROR_CODE static_cast<MLErrorCode>(-1) |
Defines an invalid MLErrorCode. More... | |
#define | ML_RESULT_OK static_cast<MLErrorCode>( 0) |
No error. Everything seems to be okay. More... | |
#define | ML_UNKNOWN_EXCEPTION static_cast<MLErrorCode>( 1) |
An unknown exception was detected and caught; this usually means that something went seriously wrong for an unknown reason, which would normally cause a program crash detected by the ML or a module. More... | |
#define | ML_NO_MEMORY static_cast<MLErrorCode>( 2) |
The system does not have enough memory to perform the desired operation; try to reduce application data and/or complexity, try to replace modules that load the entire image into the memory, terminate other applications running at the same time, install more memory. More... | |
#define | ML_DISCONNECTED_GRAPH static_cast<MLErrorCode>( 3) |
The module/operator graph is obviously disconnected but expected to be connected for this operation. More... | |
#define | ML_CYCLIC_GRAPH static_cast<MLErrorCode>( 4) |
The module/operator graph is connected cyclically; the ML cannot handle this. More... | |
#define | ML_BAD_OPERATOR_POINTER static_cast<MLErrorCode>( 5) |
A NULL, an invalid, or a wrong module/operator pointer has been passed to an algorithm. More... | |
#define | ML_BAD_OPERATOR_OUTPUT_INDEX static_cast<MLErrorCode>( 6) |
A bad output number of a module/operator has been specified. More... | |
#define | ML_BAD_FIELD static_cast<MLErrorCode>( 7) |
A NULL, an invalid, or badly/wrong typed or named field has been passed to an algorithm. More... | |
#define | ML_IMAGE_DATA_CALCULATION_FAILED static_cast<MLErrorCode>( 8) |
The requested image data could not be calculated. More... | |
#define | ML_NO_IMAGE_INPUT_EXTENSION static_cast<MLErrorCode>( 9) |
Currently not used. More... | |
#define | ML_NO_IMAGE_PROPS static_cast<MLErrorCode>(10) |
The calculation of image properties failed. More... | |
#define | ML_BAD_OPERATOR_INPUT_INDEX static_cast<MLErrorCode>(11) |
A bad input number of a module/operator has been specified. More... | |
#define | ML_BAD_INPUT_IMAGE_POINTER static_cast<MLErrorCode>(12) |
A NULL, an invalid, or badly/wrong sized/typed image pointer has been passed to an algorithm. More... | |
#define | ML_BAD_DATA_TYPE static_cast<MLErrorCode>(13) |
A wrong or unexpected data type has been passed to an algorithm, which often is a programming error. More... | |
#define | ML_PROGRAMMING_ERROR static_cast<MLErrorCode>(14) |
A case occurred that should not appear and there are a variety of reasons, typically it is a programming error in a module; look for previous errors, they may give more precise information. More... | |
#define | ML_EMPTY_MESSAGE static_cast<MLErrorCode>(15) |
The following error message describes more precise what has happened; if not, then a non-registered error occurred that is only known in the module using it. More... | |
#define | ML_PAGE_CALCULATION_ERROR_IN_MODULE static_cast<MLErrorCode>(16) |
An image page could not be calculated. More... | |
#define | ML_PROPERTY_CALCULATION_ERROR_IN_MODULE static_cast<MLErrorCode>(17) |
Image properties could not be calculated correctly and there is a variety of reasons, often this is a programming error within a module, which was detected by the ML. More... | |
#define | ML_INBOX_CALCULATION_ERROR_IN_MODULE static_cast<MLErrorCode>(18) |
The input image region required to calculate an image page could not be calculated correctly. More... | |
#define | ML_BAD_PARAMETER static_cast<MLErrorCode>(19) |
A bad/invalid parameter (or even an inappropriate image) has been passed to a module or an algorithm, which usually means that there has been an invalid or inappropriate parameter passed to an algorithm, that the developer forgot to implement a certain case, or that a parameter is out of range. More... | |
#define | ML_CALCULATION_ERROR static_cast<MLErrorCode>(20) |
This is an unspecific error used in some cases where the error is not very specific. More... | |
#define | ML_BAD_DIMENSION static_cast<MLErrorCode>(21) |
The image or data structure has wrong extent or dimensions. More... | |
#define | ML_RECURSION_ERROR static_cast<MLErrorCode>(22) |
An invalid recursion occurred; read details for an explanation. More... | |
#define | ML_LIBRARY_LOAD_ERROR static_cast<MLErrorCode>(23) |
Loading or initialization of an ML module library failed. More... | |
#define | ML_FILE_IO_ERROR static_cast<MLErrorCode>(24) |
Reasons may be wrong path specifications, other applications using the same file, wrong file permissions, missing disk space, still non-existing files, etc. More... | |
#define | ML_AFTER_EFFECT static_cast<MLErrorCode>(25) |
This is a typical error occurring if another previous error has left an incomplete or undefined state. More... | |
#define | ML_BAD_INDEX static_cast<MLErrorCode>(26) |
The index given to the algorithm is out of range. More... | |
#define | ML_OUT_OF_RANGE static_cast<MLErrorCode>(27) |
Any coordinate or value is out of range, often a voxel address that is outside of an image or it is even a programming error or an image with invalid contents. More... | |
#define | ML_MISSING_VOXEL_TYPE_OPERATIONS static_cast<MLErrorCode>(28) |
A voxel data type does not implement required arithmetic operations. More... | |
#define | ML_BAD_FIELD_TYPE static_cast<MLErrorCode>(29) |
The passed parameter is not derived from the class Field or is not of the expected field type; this can be a programming error. More... | |
#define | ML_BAD_FIELD_POINTER_OR_NO_MEMORY static_cast<MLErrorCode>(30) |
The passed parameter is not of an expected (field) type or the allocation of memory failed. More... | |
#define | ML_FIELD_CREATION_ERROR_OR_NO_MEMORY static_cast<MLErrorCode>(31) |
A field could not be created. More... | |
#define | ML_TYPE_INITIALIZATION_ERROR static_cast<MLErrorCode>(32) |
A (runtime or voxel) type could not be initialized correctly. More... | |
#define | ML_CONSTRUCTOR_EXCEPTION static_cast<MLErrorCode>(33) |
Creating an object failed due to a programming error in a constructor or due to a lack of memory. More... | |
#define | ML_DESTRUCTOR_EXCEPTION static_cast<MLErrorCode>(34) |
The destruction of a C++ object failed, for example, due to a programming error or since it was destroyed from other buggy code. More... | |
#define | ML_TABLE_FULL static_cast<MLErrorCode>(35) |
A table is full and nothing can be inserted anymore. More... | |
#define | ML_EXTERNAL_ERROR static_cast<MLErrorCode>(36) |
Error messages from other libraries are delivered with this error code if more specific error information from the external library is not available. More... | |
#define | ML_BAD_BASE_FIELD static_cast<MLErrorCode>(37) |
The (runtime) type of a Base field is not the expected one, the Base field pointer is invalid (NULL), or it is not (derived from) a Base field. More... | |
#define | ML_BAD_BASE_FIELD_CONTENT static_cast<MLErrorCode>(38) |
The content of the Base field referenced by a Base field pointer is invalid, it should not be NULL, or the pointer it does not point to an object derived from Base. More... | |
#define | ML_TYPE_NOT_REGISTERED static_cast<MLErrorCode>(39) |
The required or used type is (still) not registered. More... | |
#define | ML_LIBRARY_INIT_ERROR static_cast<MLErrorCode>(40) |
The initialization code of a library failed; this is a typical error if the ML, an application, or a linked library has detected an initialization problem. More... | |
#define | ML_BAD_POINTER_OR_0 static_cast<MLErrorCode>(41) |
A pointer is NULL or a value is NULL or 0 where it should not be. More... | |
#define | ML_BAD_STATE static_cast<MLErrorCode>(42) |
The current state of an object is not appropriate for an operation. More... | |
#define | ML_TOO_MANY_PUSHES_OR_ADDS static_cast<MLErrorCode>(43) |
Too many elements were pushed or added onto a stack, array, or another container type. More... | |
#define | ML_TOO_MANY_POPS_OR_REMOVES static_cast<MLErrorCode>(44) |
Too many elements were removed from a stack, an array, or another container type. More... | |
#define | ML_STACK_TABLE_OR_BUFFER_EMPTY static_cast<MLErrorCode>(45) |
The access to a table, stack, container, or its elements failed because it is empty. More... | |
#define | ML_STACK_TABLE_OR_BUFFER_NOT_EMPTY static_cast<MLErrorCode>(46) |
A table, stack, or another container was expected to be empty but it is not. More... | |
#define | ML_ELEMENT_NOT_FOUND static_cast<MLErrorCode>(47) |
An expected entry or element was not found. More... | |
#define | ML_INVALID_FILE_NAME static_cast<MLErrorCode>(48) |
The specified file name is not valid, for example, because it is empty or it contains invalid characters or path specifications or simply does not specify a correct file. More... | |
#define | ML_INVALID_FILE_DESCRIPTOR static_cast<MLErrorCode>(49) |
The descriptor used to manage a file is invalid or denotes a closed file. More... | |
#define | ML_FILE_NOT_OPEN static_cast<MLErrorCode>(50) |
The specified file is not open. More... | |
#define | ML_NO_OR_INVALID_PERMISSIONS static_cast<MLErrorCode>(51) |
The operation cannot or could not be executed because the user or process does not have appropriate permissions or the permissions of the object to manipulate are not set correctly. More... | |
#define | ML_DISK_OR_RESSOURCE_FULL static_cast<MLErrorCode>(52) |
There are not enough resources left to execute the desired operation. More... | |
#define | ML_FILE_OR_DATA_STRUCTURE_CORRUPTED static_cast<MLErrorCode>(53) |
The content of a file or another data structure is not organized as expected by the program. More... | |
#define | ML_INVALID_VERSION static_cast<MLErrorCode>(54) |
The version of a data structure of file is invalid, maybe a newer version than expected; an update of the software could help. More... | |
#define | ML_UNKNOWN_OR_INVALID_COMPRESSION_SCHEME static_cast<MLErrorCode>(55) |
The compression scheme is invalid, too old, too new, or not known on your system. More... | |
#define | ML_TYPE_ALREADY_REGISTERED static_cast<MLErrorCode>(56) |
This error occurs on an attempt to register a type whose name is already registered. More... | |
#define | ML_TYPE_IS_ABSTRACT static_cast<MLErrorCode>(57) |
The runtime type to be used is abstract and cannot be used (for example, an object of that type cannot be created). More... | |
#define | ML_TYPE_NOT_DERIVED_FROM_EXPECTED_PARENT_CLASS static_cast<MLErrorCode>(58) |
The used class type is not of the expected type and/or is not derived from the expected parent/base class. More... | |
#define | ML_OPERATION_INTERRUPTED static_cast<MLErrorCode>(59) |
The operation was interrupted, either by a user or another signal. More... | |
#define | ML_BAD_PAGE_ID static_cast<MLErrorCode>(60) |
This error comments the attempt to use an identifier or index to an (image) page that does not exist or that is out of range. More... | |
#define | ML_OUT_OF_RESSOURCES static_cast<MLErrorCode>(61) |
There are not enough resources to execute the desired operation. More... | |
#define | ML_OBJECT_OR_FILE_EXISTS static_cast<MLErrorCode>(62) |
The object or file to be created already exists. More... | |
#define | ML_OBJECT_OR_FILE_DOES_NOT_EXIST static_cast<MLErrorCode>(63) |
The expected object or file does not exist or is not found. More... | |
#define | ML_DEADLOCK_WOULD_OCCURR static_cast<MLErrorCode>(64) |
The operation cannot be executed because it would lead to a deadlock. More... | |
#define | ML_COULD_NOT_OPEN_FILE static_cast<MLErrorCode>(65) |
The file could not be opened, for example, because the permissions are not sufficient, resources for opening are not available, the file could not be found, or the file is already open. More... | |
#define | ML_COULD_NOT_CREATE_OPEN_OR_MODIFY_FILE ML_COULD_NOT_OPEN_FILE |
More flexible error description for ML_COULD_NOT_OPEN_FILE because it is often needed if permissions are missing or full resources occur. More... | |
#define | ML_LIBRARY_UNLOAD_ERROR static_cast<MLErrorCode>(66) |
This error occurs if unloading of a module or library failed. More... | |
#define | ML_LIBRARY_UNLOAD_EXCEPTION static_cast<MLErrorCode>(67) |
This error occurs if unloading of a module or library caused a crash or threw an exception. More... | |
#define | ML_NOT_SUPPORTED_ON_THIS_SYSTEM static_cast<MLErrorCode>(68) |
This error occurs if a functionality is not supported on the current system. More... | |
#define | ML_OBJECT_STILL_REFERENCED static_cast<MLErrorCode>(69) |
The object to be removed is still referenced, for example, a DLL to be removed is still used. More... | |
#define | ML_REQUEST_OUTSIDE_OF_IMAGE static_cast<MLErrorCode>(70) |
The request was completely outside of the image. More... | |
#define | MLNumDefaultErrorCodes static_cast<MLErrorCode>(71) |
Number of predefined/compiled ML error codes, not to be used as an error code. More... | |
ML String Prefixes | |
#define | ML_PREFIX "ML" |
Library identification prefix for messages from the ML. More... | |
#define | ML_CONSTANT_PREFIX "ML_" |
Prefix for environment variables and debugging constants used in the ML. More... | |
Color plane names for CDimInfo image property | |
#define | ML_LUMINANCE "LUMINANCE" |
Gray, min is black. More... | |
#define | ML_NEGATIVE "NEGATIVE" |
Gray, min is white. More... | |
#define | ML_PALETTE "PALETTE" |
Palette or partial palette image, e.g., luminance with trace colors. More... | |
#define | ML_RED "RED" |
Red channel code for RGB/RGBA color model. More... | |
#define | ML_GREEN "GREEN" |
Green channel code for RGB/RGBA color model. More... | |
#define | ML_BLUE "BLUE" |
Blue channel code for RGB/RGBA color model. More... | |
#define | ML_ALPHA "ALPHA" |
Alpha (transparency) channel code for RGB/RGBA color model. More... | |
#define | ML_CYAN "CYAN" |
Cyan channel code for CMY* color models. More... | |
#define | ML_MAGENTA "MAGENTA" |
Magenta channel code for CMY* color models. More... | |
#define | ML_YELLOW "YELLOW" |
Yellow channel code for CMY* color models. More... | |
#define | ML_BLACK "BLACK" |
Black channel code for CMY* color models. More... | |
#define | ML_HUE "HUE" |
Hue channel code for HSV/HLS color models. More... | |
#define | ML_SATURATION "SATURATION" |
Saturation channel code for HSV/HLS color models. More... | |
#define | ML_VALUE "VALUE" |
Value channel code for HSV/HLS color models. In HSV, pure colors and white have V=1. More... | |
#define | ML_LIGHTNESS "LIGHTNESS" |
Lightness channel code for HSV/HLS color models. In HLS, white has L=1, pure colors have L=0.5. More... | |
#define | ML_YIQ_Y "YIQ_Y" |
YIQ Y channel code for YIQ color model (used in US TV standard). More... | |
#define | ML_YIQ_I "YIQ_I" |
YIQ I channel code for YIQ color model (used in US TV standard). More... | |
#define | ML_YIQ_Q "YIQ_Q" |
YIQ Q channel code for YIQ color model (used in US TV standard). More... | |
#define | ML_CIE_X "CIE_X" |
C channel code for CIE-XYZ and CIE-LUV color models (standardized color models approximately matching the human color perception). More... | |
#define | ML_CIE_Y "CIE_Y" |
I channel code for CIE_XYZ color model. See ML_CIE_X for further information. More... | |
#define | ML_CIE_Z "CIE_Z" |
E channel code for CIE_XYZ color model. See ML_CIE_X for further information. More... | |
#define | ML_LUV_L "LUV_L" |
LI channel code for CIE_LUV color model. See ML_CIE_X for further information. More... | |
#define | ML_LUV_U "LUV_U" |
U channel code for CIE_LUV color model. See ML_CIE_X for further information. More... | |
#define | ML_LUV_V "LUV_V" |
V channel code for CIE_LUV color model. See ML_CIE_X for further information. More... | |
#define | ML_UNKNOWN "UNKNOWN" |
Code for unknown image plane/color channel content. More... | |
U-dimension names for UDimInfo image property. | |
#define | ML_REAL "REAL_PART" |
Real part of a complex number. More... | |
#define | ML_IMAG "IMAG_PART" |
Imaginary part of a complex number. More... | |
#define | ML_V0 "V0" |
Name for the first component of a vector. More... | |
#define | ML_V1 "V1" |
Name for the second component of a vector. More... | |
#define | ML_V2 "V2" |
Name for the third component of a vector. More... | |
#define | ML_V3 "V3" |
Name for the fourth component of a vector. More... | |
#define | ML_V4 "V4" |
Name for the fifth component of a vector. More... | |
#define | ML_V5 "V5" |
Name for the sixth component of a vector. More... | |
#define | ML_MAGNITUDE "MAGNITUDE" |
First/magnitude component of polar coordinate. More... | |
#define | ML_ANGLE "ANGLE" |
Second/angle component of polar coordinate. More... | |
MIN/MAX/QUOTE MACROS | |
#define | ML_QUOTE_INTERNAL(A) #A |
Defines a quotation macro to get a string from a macro parameter. More... | |
#define | ML_QUOTE(A) ML_QUOTE_INTERNAL(A) |
#define | ML_LERP(a, l, h) ((l)+(((h)-(l))*(a))) |
Linear interpolation from l (if a=0) to h (if a=1) (equal to (a*h)+((1-a)*l). More... | |
Defines min/max for 64-bit types if still not done. | |
#define | ML_INT64_MIN INT64_MIN |
#define | ML_INT64_MAX INT64_MAX |
Defines min/max for unsigned 64-bit types if still not done. | |
#define | ML_UINT64_MIN static_cast<MLuint64>(0) |
#define | ML_UINT64_MAX UINT64_MAX |
A helper macro assigning all addresses of implemented functions pointers to function members. | |
#define | ML_TYPE_ASSIGN_FUNCTION_POINTERS() |
Typedefs | |
typedef MLint32 | MLDataType |
MLDataType. More... | |
typedef MLuint32 | MLThreadId |
typedef MLint32 | MLErrorCode |
Type of an ML Error code. More... | |
typedef double(* | MLDblFuncPtr) (double) |
A function pointer type to a function that returns a double and takes a double as argument. More... | |
typedef void | MLMessageCB(void *usrData, MLErrorCode errCode, MLMessageType messageType, const char *messStr, int line, const char **infos) |
Handling/setting/getting of ML messages callbacks. More... | |
typedef void | MLNotifyCB(MLuint32 objType, void *usrData, void *objectData1, void *objData2) |
Function type that is registered by the Notify object; it receives a code objType of type MLNotifyChangedObjectType. More... | |
Function types for callback functions (see corresponding classes Sensor, Host, and mlAPI.) | |
typedef void | MLSensorCB(void *usrData, void *sensor) |
typedef void | MLHostProgressCB(void *usrData, const char *info1, const char *info2) |
typedef MLint32 | MLHostBreakCheckCB(void *usrData, void **hitField) |
typedef void | MLRequestProgressCB(void *usrData, double progress) |
Functions | |
void ML_UTILS_EXPORT | ml::logTypeComponentsFromStringError (const char *function) |
Defines 8-bit signed integer data type and its pointer type if still not done. | |
#define | ML_INT8_MIN -128 |
#define | ML_INT8_MAX 0x7F |
typedef char | MLint8 |
typedef char * | MLint8Ptr |
Defines 8-bit unsigned integer data type and its pointer type if still not done. | |
#define | ML_UINT8_MIN 0x00 |
#define | ML_UINT8_MAX 0xFF |
typedef unsigned char | MLuint8 |
typedef unsigned char * | MLuint8Ptr |
Defines 16-bit signed integer data type and its pointer type if still not done. | |
#define | ML_INT16_MIN -32768 |
#define | ML_INT16_MAX 0x7FFF |
typedef signed short | MLint16 |
typedef signed short * | MLint16Ptr |
Defines 16-bit unsigned integer data type and its pointer type if still not done. | |
#define | ML_UINT16_MIN 0x0000 |
#define | ML_UINT16_MAX 0xFFFF |
typedef unsigned short | MLuint16 |
typedef unsigned short * | MLuint16Ptr |
Defines 32-bit signed integer data type and its pointer type if still not done. | |
#define | ML_INT32_MIN (static_cast<MLint32>(0x80000000L)) |
#define | ML_INT32_MAX (static_cast<MLint32>(0x7FFFFFFFL)) |
typedef signed int | MLint32 |
typedef signed int * | MLint32Ptr |
Defines 32-bit unsigned integer data type and its pointer type if still not done. | |
#define | ML_UINT32_MIN (static_cast<MLuint32>(0x00000000L)) |
#define | ML_UINT32_MAX (static_cast<MLuint32>(0xFFFFFFFFL)) |
typedef unsigned int | MLuint32 |
typedef unsigned int * | MLuint32Ptr |
Defines float type and its pointer type if still not done. | |
#define | ML_FLOAT_MIN FLT_MIN |
#define | ML_FLOAT_MAX FLT_MAX |
#define | ML_FLOAT_EPSILON FLT_EPSILON |
#define | ML_FLOAT_DIG (FLT_DIG+2) |
typedef float | MLfloat |
typedef float * | MLfloatPtr |
Defines double type and its pointer type if still not done. | |
#define | ML_DOUBLE_MIN DBL_MIN |
#define | ML_DOUBLE_MAX DBL_MAX |
#define | ML_DOUBLE_EPSILON DBL_EPSILON |
#define | ML_DOUBLE_DIG DBL_DIG |
typedef double | MLdouble |
typedef double * | MLdoublePtr |
Defines long double type and its pointer type if still not done. | |
#define | ML_LDOUBLE_MIN LDBL_MIN |
#define | ML_LDOUBLE_MAX LDBL_MAX |
#define | ML_LDOUBLE_EPSILON LDBL_EPSILON |
#define | ML_LDOUBLE_DIG LDBL_DIG |
typedef long double | MLldouble |
typedef long double * | MLldoublePtr |
64 signed and unsigned integer support with min and max defines | |
#define | INT64_MIN 0x8000000000000000I64 |
If still not done define INT64_MIN and INT64_MAX. More... | |
#define | INT64_MAX 0x7FFFFFFFFFFFFFFFI64 |
#define | UINT64_MIN static_cast<MLuint64>(0) |
If still not done, define UINT64_MIN and UINT64_MAX. More... | |
#define | UINT64_MAX 0xFFFFFFFFFFFFFFFFUI64 |
typedef INT64 | MLint64 |
Include 64-bit integer support for Windows or Unix. More... | |
typedef INT64 * | MLint64Ptr |
Introduce platform-independent 64-bit signed integer pointer type. More... | |
typedef UINT64 | MLuint64 |
Introduce platform-independent 64-bit unsigned integer type. More... | |
typedef UINT64 * | MLuint64Ptr |
Introduce platform-independent 64-bit unsigned integer pointer type. More... | |
Typedef of an integer type using 64-bit. | |
#define | ML_INT_MIN ML_INT64_MIN |
Minimum possible value of MLint. More... | |
#define | ML_INT_MAX ML_INT64_MAX |
Maximum possible value of MLint. More... | |
#define | ML_UINT_MIN UINT64_MIN |
Minimum possible value of MLuint. More... | |
#define | ML_UINT_MAX UINT64_MAX |
Maximum possible value of MLuint. More... | |
typedef MLint64 | MLint |
A signed ML integer type with at least 64 bits used for index calculations on very large images even on 32-bit systems. More... | |
typedef MLint64 * | MLintPtr |
A pointer to the signed ML integer type MLint. More... | |
typedef MLuint64 | MLuint |
An unsigned ML integer type with at least 64 bits used for index calculations on very large images even on 32-bit systems. More... | |
typedef MLuint64 * | MLuintPtr |
A pointer to the unsigned ML integer type MLuint. More... | |
Support for signed and unsigned size and offset types. | |
#define | _ML_USIZE_T |
Marks unsigned offset and size types as defined. More... | |
#define | ML_USIZE_T_MIN ( static_cast<size_t>(0)) |
The minimum value of size_t. More... | |
#define | ML_USIZE_T_MAX (~static_cast<size_t>(0)) |
The maximum value of size_t. More... | |
#define | ML_SIZE_T_MIN ML_USIZE_T_MIN |
For convenience, the minimum value of size_t without "U", which is probably more in line of the expected naming. More... | |
#define | ML_SIZE_T_MAX ML_USIZE_T_MAX |
For convenience, the maximum value of size_t without "U", which is probably more in line of the expected naming. More... | |
#define | _ML_SIZE_T |
Marks signed offset and size types as defined. More... | |
#define | ML_SSIZE_T_MIN (static_cast<MLssize_t>(1) << (sizeof(MLssize_t)*8-1)) |
The minimum value of ML_SSIZE_T. More... | |
#define | ML_SSIZE_T_MAX (static_cast<MLssize_t>(ML_USIZE_T_MAX ^ ML_SSIZE_T_MIN)) |
The maximum value of ML_SSIZE_T. More... | |
typedef MLuint64 | MLuoffset |
Unsigned ML offset type that is a 32-bit unsigned integer on 32-bit platforms and 64-bit one on 64-bit platforms. More... | |
typedef size_t | MLusize_t |
The unsigned ML size type that is an unsigned 32-bit size_t on 32-bit platforms and 64-bit one on 64-bit platforms. More... | |
typedef MLint | MLsoffset |
Signed ML offset type that is a 32-bit signed integer on 32-bit platforms and a 64-bit integer on 64-bit platforms. More... | |
typedef SSIZE_T | MLssize_t |
The signed ML size type that is a signed 32-bit size_t on 32-bit platforms and 64-bit one on 64-bit platforms. More... | |
Internal Application API (used by MeVisLab) | |
#define | ML_CALC_FTYPE MLdouble |
The floating point type used if datatypes need to convert something internally to a certain floating point type. More... | |
#define | ML_CALC_ITYPE MLint |
The integer type used if datatypes have to convert something internally to a certain integer type. More... | |
enum | MLTypeGroupIds { MLNoTypeGroup = -1 , MLScalarTypeGroup , MLVectorTypeGroup , MLMatrixTypeGroup } |
Some predefined type groups. More... | |
typedef const char * | MLApplicationGetStringPropertyCB(void *applicationUsrData, const char *propertyName, MLint16 *found) |
Callback to the hosting application that is used to get a string value property with the propertyName from the application. More... | |
typedef MLint32 | MLApplicationGetInt32PropertyCB(void *applicationUsrData, const char *propertyName, MLint16 *found) |
Callback to the hosting application that is used to get an integer value property with the propertyName from the application. More... | |
typedef double | MLApplicationGetDoublePropertyCB(void *applicationUsrData, const char *propertyName, MLint16 *found) |
Callback to the hosting application that is used to get a double value property with the propertyName from the application. More... | |
typedef MLint32 | MLApplicationGetBoolPropertyCB(void *applicationUsrData, const char *propertyName, MLint16 *found) |
Callback to the hosting application that is used to get a bool value property with the propertyName from the application, it should return 0 for false and 1 for true . More... | |
typedef MLint32 | MLEventFilterCB(void *usrData, void *event) |
Callback function type for events that are passed to the user. More... | |
typedef void | MLEventFilterApplicationHookCB(void *applicationUsrData, MLEventFilterApplicationMessage type, MLEventFilterCB *cb, void *usrData, MLuint32 fromMessageId, MLuint32 toMessageId) |
Internal application event filter callback type. More... | |
typedef MLuint64 | MLTypePropertyBits |
Structure to define a bit mask that identifies all implemented functions for a data type. More... | |
typedef unsigned char | MLTypeData |
This is the pointer type used to point to the data of MLType data instances. More... | |
typedef MLint32 | MLTypeGroup |
This is an identifier to differentiate types like matrices, vectors, and complex/quaternion types, which may have the same number of components but with different semantics. More... | |
#define _ML_DOUBLE MLdouble |
Set MLdouble as define(d).
Definition at line 225 of file mlTypeDefs.h.
#define _ML_FLOAT MLfloat |
Set MLfloat as define(d).
Definition at line 210 of file mlTypeDefs.h.
#define _ML_INT16 MLint16 |
Set MLint16 as define(d).
Definition at line 132 of file mlTypeDefs.h.
#define _ML_INT32 MLint32 |
Set MLint32 as define(d).
Definition at line 174 of file mlTypeDefs.h.
#define _ML_INT64 MLint64 |
Sets MLint64 as define(d).
Definition at line 470 of file mlTypeDefs.h.
#define _ML_INT8 MLint8 |
Set MLint8 as define(d).
Definition at line 103 of file mlTypeDefs.h.
#define _ML_LDOUBLE MLldouble |
Set MLldouble as define(d).
Definition at line 240 of file mlTypeDefs.h.
#define _ML_SIZE_T |
Marks signed offset and size types as defined.
Definition at line 559 of file mlTypeDefs.h.
#define _ML_UINT16 MLuint16 |
Set MLuint16 as define(d).
Definition at line 149 of file mlTypeDefs.h.
#define _ML_UINT32 MLuint32 |
Set MLuint32 as define(d).
Definition at line 194 of file mlTypeDefs.h.
#define _ML_UINT64 MLuint64 |
Sets MLuint64 as define(d).
Definition at line 480 of file mlTypeDefs.h.
#define _ML_UINT8 MLuint8 |
Set MLuint8 as define(d).
Definition at line 115 of file mlTypeDefs.h.
#define _ML_USIZE_T |
Marks unsigned offset and size types as defined.
Definition at line 534 of file mlTypeDefs.h.
#define INT64_MAX 0x7FFFFFFFFFFFFFFFI64 |
Definition at line 421 of file mlTypeDefs.h.
#define INT64_MIN 0x8000000000000000I64 |
If still not done define INT64_MIN and INT64_MAX.
Definition at line 418 of file mlTypeDefs.h.
#define ML_ALPHA "ALPHA" |
Alpha (transparency) channel code for RGB/RGBA color model.
Definition at line 275 of file mlTypeDefs.h.
#define ML_ANGLE "ANGLE" |
Second/angle component of polar coordinate.
Definition at line 348 of file mlTypeDefs.h.
#define ML_BLACK "BLACK" |
Black channel code for CMY* color models.
Definition at line 284 of file mlTypeDefs.h.
#define ML_BLUE "BLUE" |
Blue channel code for RGB/RGBA color model.
Definition at line 273 of file mlTypeDefs.h.
#define ML_CALC_FTYPE MLdouble |
The floating point type used if datatypes need to convert something internally to a certain floating point type.
The standard by the compiler is double, but long double could also be used; however, it would be slower.
Definition at line 1535 of file mlTypeDefs.h.
#define ML_CALC_ITYPE MLint |
The integer type used if datatypes have to convert something internally to a certain integer type.
The standard by the compiler is int, but int64 could also be used; however, it would be slower.
Definition at line 1542 of file mlTypeDefs.h.
#define ML_CIE_X "CIE_X" |
C channel code for CIE-XYZ and CIE-LUV color models (standardized color models approximately matching the human color perception).
Definition at line 305 of file mlTypeDefs.h.
#define ML_CIE_Y "CIE_Y" |
I channel code for CIE_XYZ color model. See ML_CIE_X for further information.
Definition at line 307 of file mlTypeDefs.h.
#define ML_CIE_Z "CIE_Z" |
E channel code for CIE_XYZ color model. See ML_CIE_X for further information.
Definition at line 309 of file mlTypeDefs.h.
#define ML_CYAN "CYAN" |
Cyan channel code for CMY* color models.
Definition at line 278 of file mlTypeDefs.h.
#define ML_DOUBLE_DIG DBL_DIG |
Definition at line 222 of file mlTypeDefs.h.
#define ML_DOUBLE_EPSILON DBL_EPSILON |
Definition at line 221 of file mlTypeDefs.h.
#define ML_DOUBLE_MAX DBL_MAX |
Definition at line 220 of file mlTypeDefs.h.
#define ML_DOUBLE_MIN DBL_MIN |
Definition at line 219 of file mlTypeDefs.h.
#define ML_FLOAT_DIG (FLT_DIG+2) |
Definition at line 207 of file mlTypeDefs.h.
#define ML_FLOAT_EPSILON FLT_EPSILON |
Definition at line 205 of file mlTypeDefs.h.
#define ML_FLOAT_MAX FLT_MAX |
Definition at line 204 of file mlTypeDefs.h.
#define ML_FLOAT_MIN FLT_MIN |
Definition at line 203 of file mlTypeDefs.h.
#define ML_GREEN "GREEN" |
Green channel code for RGB/RGBA color model.
Definition at line 271 of file mlTypeDefs.h.
#define ML_HUE "HUE" |
Hue channel code for HSV/HLS color models.
Definition at line 287 of file mlTypeDefs.h.
#define ML_IMAG "IMAG_PART" |
Imaginary part of a complex number.
Definition at line 330 of file mlTypeDefs.h.
#define ML_INT16_MAX 0x7FFF |
Definition at line 129 of file mlTypeDefs.h.
#define ML_INT16_MIN -32768 |
Definition at line 128 of file mlTypeDefs.h.
#define ML_INT32_MAX (static_cast<MLint32>(0x7FFFFFFFL)) |
Definition at line 171 of file mlTypeDefs.h.
#define ML_INT32_MIN (static_cast<MLint32>(0x80000000L)) |
Definition at line 170 of file mlTypeDefs.h.
#define ML_INT64_MAX INT64_MAX |
Definition at line 467 of file mlTypeDefs.h.
#define ML_INT64_MIN INT64_MIN |
Definition at line 466 of file mlTypeDefs.h.
#define ML_INT8_MAX 0x7F |
Definition at line 100 of file mlTypeDefs.h.
#define ML_INT8_MIN -128 |
Definition at line 99 of file mlTypeDefs.h.
#define ML_INT_MAX ML_INT64_MAX |
Maximum possible value of MLint.
Definition at line 499 of file mlTypeDefs.h.
#define ML_INT_MIN ML_INT64_MIN |
Minimum possible value of MLint.
Definition at line 496 of file mlTypeDefs.h.
#define ML_LDOUBLE_DIG LDBL_DIG |
Definition at line 237 of file mlTypeDefs.h.
#define ML_LDOUBLE_EPSILON LDBL_EPSILON |
Definition at line 236 of file mlTypeDefs.h.
#define ML_LDOUBLE_MAX LDBL_MAX |
Definition at line 235 of file mlTypeDefs.h.
#define ML_LDOUBLE_MIN LDBL_MIN |
Definition at line 234 of file mlTypeDefs.h.
#define ML_LIGHTNESS "LIGHTNESS" |
Lightness channel code for HSV/HLS color models. In HLS, white has L=1, pure colors have L=0.5.
Definition at line 293 of file mlTypeDefs.h.
#define ML_LUMINANCE "LUMINANCE" |
Gray, min is black.
Definition at line 260 of file mlTypeDefs.h.
#define ML_LUV_L "LUV_L" |
LI channel code for CIE_LUV color model. See ML_CIE_X for further information.
Definition at line 311 of file mlTypeDefs.h.
#define ML_LUV_U "LUV_U" |
U channel code for CIE_LUV color model. See ML_CIE_X for further information.
Definition at line 313 of file mlTypeDefs.h.
#define ML_LUV_V "LUV_V" |
V channel code for CIE_LUV color model. See ML_CIE_X for further information.
Definition at line 315 of file mlTypeDefs.h.
#define ML_M_PI 3.14159265358979323846 /* pi */ |
Pi as ML constant for backward compatibility.
Definition at line 377 of file mlTypeDefs.h.
#define ML_M_PI_2 1.57079632679489661923 /* pi/2 */ |
Pi/2 as ML constant for backward compatibility.
Definition at line 381 of file mlTypeDefs.h.
#define ML_MAGENTA "MAGENTA" |
Magenta channel code for CMY* color models.
Definition at line 280 of file mlTypeDefs.h.
#define ML_MAGNITUDE "MAGNITUDE" |
First/magnitude component of polar coordinate.
Definition at line 346 of file mlTypeDefs.h.
#define ML_NEGATIVE "NEGATIVE" |
Gray, min is white.
Definition at line 262 of file mlTypeDefs.h.
#define ML_PALETTE "PALETTE" |
Palette or partial palette image, e.g., luminance with trace colors.
Definition at line 264 of file mlTypeDefs.h.
#define ML_REAL "REAL_PART" |
Real part of a complex number.
Definition at line 328 of file mlTypeDefs.h.
#define ML_RED "RED" |
Red channel code for RGB/RGBA color model.
Definition at line 269 of file mlTypeDefs.h.
#define ML_SATURATION "SATURATION" |
Saturation channel code for HSV/HLS color models.
Definition at line 289 of file mlTypeDefs.h.
#define ML_SIZE_T_MAX ML_USIZE_T_MAX |
For convenience, the maximum value of size_t without "U", which is probably more in line of the expected naming.
Definition at line 552 of file mlTypeDefs.h.
#define ML_SIZE_T_MIN ML_USIZE_T_MIN |
For convenience, the minimum value of size_t without "U", which is probably more in line of the expected naming.
Definition at line 549 of file mlTypeDefs.h.
#define ML_SSIZE_T_MAX (static_cast<MLssize_t>(ML_USIZE_T_MAX ^ ML_SSIZE_T_MIN)) |
The maximum value of ML_SSIZE_T.
Definition at line 577 of file mlTypeDefs.h.
The minimum value of ML_SSIZE_T.
Definition at line 573 of file mlTypeDefs.h.
#define ML_TYPE_ASSIGN_FUNCTION_POINTERS | ( | ) |
Definition at line 1549 of file mlTypeDefs.h.
#define ML_UINT16_MAX 0xFFFF |
Definition at line 146 of file mlTypeDefs.h.
#define ML_UINT16_MIN 0x0000 |
Definition at line 145 of file mlTypeDefs.h.
#define ML_UINT32_MAX (static_cast<MLuint32>(0xFFFFFFFFL)) |
Definition at line 191 of file mlTypeDefs.h.
#define ML_UINT32_MIN (static_cast<MLuint32>(0x00000000L)) |
Definition at line 190 of file mlTypeDefs.h.
#define ML_UINT64_MAX UINT64_MAX |
Definition at line 477 of file mlTypeDefs.h.
#define ML_UINT64_MIN static_cast<MLuint64>(0) |
Definition at line 476 of file mlTypeDefs.h.
#define ML_UINT8_MAX 0xFF |
Definition at line 112 of file mlTypeDefs.h.
#define ML_UINT8_MIN 0x00 |
Definition at line 111 of file mlTypeDefs.h.
#define ML_UINT_MAX UINT64_MAX |
Maximum possible value of MLuint.
Definition at line 515 of file mlTypeDefs.h.
#define ML_UINT_MIN UINT64_MIN |
Minimum possible value of MLuint.
Definition at line 512 of file mlTypeDefs.h.
#define ML_UNDEFINED_THREADID 0 |
MLThreadId. Defines the data type for a thread ID for comparing threads to each other.
Definition at line 601 of file mlTypeDefs.h.
#define ML_UNKNOWN "UNKNOWN" |
Code for unknown image plane/color channel content.
Definition at line 318 of file mlTypeDefs.h.
#define ML_USIZE_T_MAX (~static_cast<size_t>(0)) |
The maximum value of size_t.
Definition at line 546 of file mlTypeDefs.h.
#define ML_USIZE_T_MIN ( static_cast<size_t>(0)) |
The minimum value of size_t.
Definition at line 543 of file mlTypeDefs.h.
#define ML_V0 "V0" |
Name for the first component of a vector.
Definition at line 333 of file mlTypeDefs.h.
#define ML_V1 "V1" |
Name for the second component of a vector.
Definition at line 335 of file mlTypeDefs.h.
#define ML_V2 "V2" |
Name for the third component of a vector.
Definition at line 337 of file mlTypeDefs.h.
#define ML_V3 "V3" |
Name for the fourth component of a vector.
Definition at line 339 of file mlTypeDefs.h.
#define ML_V4 "V4" |
Name for the fifth component of a vector.
Definition at line 341 of file mlTypeDefs.h.
#define ML_V5 "V5" |
Name for the sixth component of a vector.
Definition at line 343 of file mlTypeDefs.h.
#define ML_VALUE "VALUE" |
Value channel code for HSV/HLS color models. In HSV, pure colors and white have V=1.
Definition at line 291 of file mlTypeDefs.h.
#define ML_YELLOW "YELLOW" |
Yellow channel code for CMY* color models.
Definition at line 282 of file mlTypeDefs.h.
#define ML_YIQ_I "YIQ_I" |
YIQ I channel code for YIQ color model (used in US TV standard).
Definition at line 298 of file mlTypeDefs.h.
#define ML_YIQ_Q "YIQ_Q" |
YIQ Q channel code for YIQ color model (used in US TV standard).
Definition at line 300 of file mlTypeDefs.h.
#define ML_YIQ_Y "YIQ_Y" |
YIQ Y channel code for YIQ color model (used in US TV standard).
Definition at line 296 of file mlTypeDefs.h.
#define UINT64_MAX 0xFFFFFFFFFFFFFFFFUI64 |
Definition at line 434 of file mlTypeDefs.h.
#define UINT64_MIN static_cast<MLuint64>(0) |
If still not done, define UINT64_MIN and UINT64_MAX.
Definition at line 431 of file mlTypeDefs.h.
typedef MLint32 MLApplicationGetBoolPropertyCB(void *applicationUsrData, const char *propertyName, MLint16 *found) |
Callback to the hosting application that is used to get a bool value property with the propertyName
from the application, it should return 0 for false
and 1 for true
.
Definition at line 1225 of file mlTypeDefs.h.
typedef double MLApplicationGetDoublePropertyCB(void *applicationUsrData, const char *propertyName, MLint16 *found) |
Callback to the hosting application that is used to get a double value property with the propertyName
from the application.
Definition at line 1221 of file mlTypeDefs.h.
typedef MLint32 MLApplicationGetInt32PropertyCB(void *applicationUsrData, const char *propertyName, MLint16 *found) |
Callback to the hosting application that is used to get an integer value property with the propertyName
from the application.
Definition at line 1218 of file mlTypeDefs.h.
typedef const char* MLApplicationGetStringPropertyCB(void *applicationUsrData, const char *propertyName, MLint16 *found) |
Callback to the hosting application that is used to get a string value property with the propertyName
from the application.
The returned char
pointer may be short-lived and should be copied immediately!
Definition at line 1215 of file mlTypeDefs.h.
typedef double(* MLDblFuncPtr) (double) |
A function pointer type to a function that returns a double and takes a double as argument.
Definition at line 1166 of file mlTypeDefs.h.
typedef double MLdouble |
Definition at line 217 of file mlTypeDefs.h.
typedef double* MLdoublePtr |
Definition at line 218 of file mlTypeDefs.h.
typedef void MLEventFilterApplicationHookCB(void *applicationUsrData, MLEventFilterApplicationMessage type, MLEventFilterCB *cb, void *usrData, MLuint32 fromMessageId, MLuint32 toMessageId) |
Internal application event filter callback type.
type
determines whether the pair cb
and usrData
shall be added or removed from the Windows handler. cb
is the callback that is passed from the calls of MLAddEventFilter or MLRemoveEventFilterCB. usrData
is the callback data that is passed from the calls of MLAddEventFilter or MLRemoveEventFilterCB. fromMessageId
and toMessageId
define the range of the message IDs that are passed to the filter, see MLAddEventFilterCB.
Definition at line 1273 of file mlTypeDefs.h.
typedef MLint32 MLEventFilterCB(void *usrData, void *event) |
Callback function type for events that are passed to the user.
The event parameter event is a MSG* for WIN32 and a XEvent* for X11. The return value encodes whether the event is further processed by the underlying Windows system in the case of MeVisLab QT. By default, one should return 0 if the event is not used/handled by the user and 1 if the event was handled the callback.
Definition at line 1236 of file mlTypeDefs.h.
typedef float MLfloat |
Definition at line 201 of file mlTypeDefs.h.
typedef float* MLfloatPtr |
Definition at line 202 of file mlTypeDefs.h.
typedef MLint32 MLHostBreakCheckCB(void *usrData, void **hitField) |
Definition at line 1201 of file mlTypeDefs.h.
typedef void MLHostProgressCB(void *usrData, const char *info1, const char *info2) |
Definition at line 1200 of file mlTypeDefs.h.
A signed ML integer type with at least 64 bits used for index calculations on very large images even on 32-bit systems.
This is typically used for positions and coordinates in/of images.
Definition at line 490 of file mlTypeDefs.h.
typedef signed short MLint16 |
Definition at line 125 of file mlTypeDefs.h.
typedef signed short* MLint16Ptr |
Definition at line 126 of file mlTypeDefs.h.
typedef signed int MLint32 |
Definition at line 161 of file mlTypeDefs.h.
typedef signed int* MLint32Ptr |
Definition at line 162 of file mlTypeDefs.h.
typedef INT64 MLint64 |
Include 64-bit integer support for Windows or Unix.
Introduce platform-independent 64-bit signed integer type.
Definition at line 412 of file mlTypeDefs.h.
typedef INT64* MLint64Ptr |
Introduce platform-independent 64-bit signed integer pointer type.
Definition at line 414 of file mlTypeDefs.h.
typedef char MLint8 |
Definition at line 97 of file mlTypeDefs.h.
typedef char* MLint8Ptr |
Definition at line 98 of file mlTypeDefs.h.
A pointer to the signed ML integer type MLint.
Definition at line 493 of file mlTypeDefs.h.
typedef long double MLldouble |
Definition at line 232 of file mlTypeDefs.h.
typedef long double* MLldoublePtr |
Definition at line 233 of file mlTypeDefs.h.
typedef void MLMessageCB(void *usrData, MLErrorCode errCode, MLMessageType messageType, const char *messStr, int line, const char **infos) |
Handling/setting/getting of ML messages callbacks.
Callback function type for application defined error handler.
Definition at line 1173 of file mlTypeDefs.h.
typedef void MLNotifyCB(MLuint32 objType, void *usrData, void *objectData1, void *objData2) |
Function type that is registered by the Notify object; it receives a code objType
of type MLNotifyChangedObjectType.
This registered function will be called with the registered user data usrData
and the changed object type objType
when an ML object changes. Additional objects or information may be passed with pointers objectData1
and objectData2
that depend on the type of call. However, in most cases, these pointers are NULL.
Definition at line 1191 of file mlTypeDefs.h.
typedef void MLRequestProgressCB(void *usrData, double progress) |
Definition at line 1202 of file mlTypeDefs.h.
typedef void MLSensorCB(void *usrData, void *sensor) |
Definition at line 1199 of file mlTypeDefs.h.
Signed ML offset type that is a 32-bit signed integer on 32-bit platforms and a 64-bit integer on 64-bit platforms.
Definition at line 562 of file mlTypeDefs.h.
typedef SSIZE_T MLssize_t |
The signed ML size type that is a signed 32-bit size_t on 32-bit platforms and 64-bit one on 64-bit platforms.
Definition at line 566 of file mlTypeDefs.h.
typedef MLuint32 MLThreadId |
Definition at line 604 of file mlTypeDefs.h.
typedef unsigned char MLTypeData |
This is the pointer type used to point to the data of MLType data instances.
Definition at line 1300 of file mlTypeDefs.h.
typedef MLint32 MLTypeGroup |
This is an identifier to differentiate types like matrices, vectors, and complex/quaternion types, which may have the same number of components but with different semantics.
Definition at line 1311 of file mlTypeDefs.h.
typedef MLuint64 MLTypePropertyBits |
Structure to define a bit mask that identifies all implemented functions for a data type.
Definition at line 1295 of file mlTypeDefs.h.
An unsigned ML integer type with at least 64 bits used for index calculations on very large images even on 32-bit systems.
This is sometimes needed for positions and coordinates in/of images. Note that normally the signed MLint should be used for safe signed indexing arithmetics in the ML, because images can be larger than 2^32 even on 32-bit systems.
Definition at line 506 of file mlTypeDefs.h.
typedef unsigned short MLuint16 |
Definition at line 142 of file mlTypeDefs.h.
typedef unsigned short* MLuint16Ptr |
Definition at line 143 of file mlTypeDefs.h.
typedef unsigned int MLuint32 |
Definition at line 185 of file mlTypeDefs.h.
typedef unsigned int* MLuint32Ptr |
Definition at line 186 of file mlTypeDefs.h.
typedef UINT64 MLuint64 |
Introduce platform-independent 64-bit unsigned integer type.
Definition at line 425 of file mlTypeDefs.h.
typedef UINT64* MLuint64Ptr |
Introduce platform-independent 64-bit unsigned integer pointer type.
Definition at line 427 of file mlTypeDefs.h.
typedef unsigned char MLuint8 |
Definition at line 109 of file mlTypeDefs.h.
typedef unsigned char* MLuint8Ptr |
Definition at line 110 of file mlTypeDefs.h.
A pointer to the unsigned ML integer type MLuint.
Definition at line 509 of file mlTypeDefs.h.
Unsigned ML offset type that is a 32-bit unsigned integer on 32-bit platforms and 64-bit one on 64-bit platforms.
Definition at line 537 of file mlTypeDefs.h.
typedef size_t MLusize_t |
The unsigned ML size type that is an unsigned 32-bit size_t on 32-bit platforms and 64-bit one on 64-bit platforms.
Definition at line 540 of file mlTypeDefs.h.
enum MLArrayIndex |
Indexes for axes, arrays and vectors.
Definition at line 1146 of file mlTypeDefs.h.
enum MLCheckBits |
Enumerator describing runtime and final checks in the ML.
Enumerator | |
---|---|
ML_FINAL_RUNTIME_CHECK_BIT | Final checks in the RuntimeType system are activated. |
ML_NO_CHECKS_BITS | All checks are deactivated. |
ML_ALL_CHECKS_BITS | All available checks are activated. |
Definition at line 686 of file mlTypeDefs.h.
Enum to describe the significance of the call, e.g., whether an 'add' or a 'remove' of a function is requested.
Enumerator | |
---|---|
ML_EVENTFILTER_ADD_CB | |
ML_EVENTFILTER_REMOVE_CB |
Definition at line 1129 of file mlTypeDefs.h.
Enumerator to specify memory error handling.
Definition at line 676 of file mlTypeDefs.h.
enum MLMessageType |
Message types handled by the ErrorOutput class.
Enumerator | |
---|---|
ML_WARNING | |
ML_ERROR | |
ML_FATAL | |
ML_DEBUG | |
ML_COUT | |
ML_CERR | |
ML_INFORMATION | |
ML_OTHER_MESSAGE | |
ML_ALL_MESSAGES |
Definition at line 696 of file mlTypeDefs.h.
Codes for ML classes that may change:
Definition at line 1074 of file mlTypeDefs.h.
Objects of the ML that call the registered functions when changed.
The highest 16 bits contain the code for the class that changes. The lowest 16 bits contain the object that changes. Note regarding ML_MODULE_DELETED and ML_NOTIFY_RUNTIME_TYPE_REMOVED: If called, then the deleted module or runtime type pointers, which are passed as first parameters, are still not valid anymore.
Definition at line 1090 of file mlTypeDefs.h.
enum MLSign |
Definition of possible signs as enumerator.
Enumerator | |
---|---|
ML_ZERO_SIGN | Enumerator for no negative and no positive sign (=0). |
ML_NEGATIVE_SIGN | Negative sign enumerator. |
ML_POSITIVE_SIGN | Positive sign enumerator. |
Definition at line 1138 of file mlTypeDefs.h.
enum MLTerminator |
Termination types for error handling.
Selectors what the ML shall do if a debug, error, warning, or information is received.
Definition at line 1060 of file mlTypeDefs.h.
enum MLTypeGroupIds |
Some predefined type groups.
Enumerator | |
---|---|
MLNoTypeGroup | |
MLScalarTypeGroup | |
MLVectorTypeGroup | |
MLMatrixTypeGroup |
Definition at line 1316 of file mlTypeDefs.h.