ML Reference
|
Main documentation file for ML users and developers. More...
Namespaces | |
detail | |
internal | |
library | |
ScopeGuardDetail | |
taskSystem | |
TypedProcessing | |
Unicode | |
ValuePersistence | |
Classes | |
class | ClassicHost |
Classic ML host used internally to calculate getTile and processAllPages requests. More... | |
class | GetTileJobBase |
Base class for TileRequest based jobs. More... | |
class | GetTileJob |
Public interface for requesting a tile from a an ML PagedImage using the PageRequestProcessor. More... | |
class | MultiThreadedPageRequestProcessor |
A multithreaded processor that takes one or even multiple tile requests and can process them iteratively. More... | |
class | PageRequest |
A PageRequest represents the request for the calculation of a single page of a PagedImage. More... | |
class | PageRequestCursor |
A cursor to create page and tile requests iteratively, allowing breaks and resumption at any time, and avoiding a recursive tree traversal that is difficult to resume. More... | |
class | PageRequestQueueInterface |
Virtual interface for queuing PageRequests that are ready for processing. More... | |
class | PageRequestProcessor |
Abstract base class for page request processors. More... | |
class | PageRequestProcessorBase |
Base class for single and multithreaded processor. More... | |
class | ProcessAllPagesJob |
Public interface for processing all pages of a temporary output image. More... | |
class | ProcessingTimeLine |
Stores a processing timeline for multiple threads. More... | |
class | SingleThreadedPageRequestProcessor |
A single-threaded processor that takes one or even multiple tile requests and can process them iteratively. More... | |
class | TileRequest |
A TileRequest either represents the input subimage that is needed by a PageRequest or if it is a root TileRequest, it represents the request by a user to get that tile. More... | |
class | OutputConnector |
Class to manage an output connection for a Module module. More... | |
class | InputConnector |
Class to manage an input connection of a Module module. More... | |
class | Engine |
Base class for all ML Engines that are derived from Module, and have no inputs or outputs but implement field connections or operations on fields. More... | |
class | Field |
Base class for all fields used in the ML. More... | |
class | FieldContainer |
Defines the class FieldContainer to encapsulate a vector of fields (see class Field). More... | |
class | BoolField |
Field to encapsulate a boolean value. More... | |
class | IntField |
Field to encapsulate an integer value. More... | |
class | EnumField |
Field to encapsulate an enumerated value. More... | |
class | EnumValues |
Helper class that stores a list of typed enum values and their string names. More... | |
class | TypedEnumField |
TypedEnumField is used to encapsulate a C++ enum value and work with a real enum value instead of int. More... | |
class | FloatField |
Field to encapsulate a float value. More... | |
class | ProgressField |
Field to encapsulate an increasing float value from range [0,1]. More... | |
class | DoubleField |
Field to encapsulate a double value. More... | |
class | StringField |
Field to encapsulate a string value. More... | |
class | NotifyField |
Field without value for notifications. More... | |
class | OutputConnectorField |
Field to encapsulate a pointer to an output connector which represents a module output. More... | |
class | InputConnectorField |
Field to encapsulate a pointer to an input connector that represents a module input. More... | |
class | BaseField |
Field to encapsulate a pointer to an ML base object. More... | |
class | TypedBaseField |
Templated version of BaseField that only stores the template type as pointer. More... | |
class | SoNodeField |
Field to encapsulate a pointer to an SoNode instance of OpenInventor. More... | |
class | PointerField |
Field to encapsulate a void pointer to arbitrary data. More... | |
class | Vector2Field |
Field to encapsulate a vector of two double values. More... | |
class | Vector3Field |
Field to encapsulate a vector of three double values. More... | |
class | Vector4Field |
Field to encapsulate a vector of four double values. More... | |
class | Vector5Field |
Field to encapsulate a vector of five double values. More... | |
class | Vector6Field |
Field to encapsulate a vector of six double values. More... | |
class | Vector10Field |
Field to encapsulate a vector of ten double values. More... | |
class | ColorField |
Field to encapsulate a vector of three float values representing an (RGB) color with all properties of Vector3Field. More... | |
class | Matrix2Field |
Field encapsulating a 2x2 matrix. More... | |
class | Matrix3Field |
Field encapsulating a 3x3 matrix. More... | |
class | MatrixField |
Field to encapsulate a 4x4 matrix, same as Matrix4Field for backward compatibility. More... | |
class | Matrix4Field |
Field to encapsulate a 4x4 matrix. More... | |
class | Matrix5Field |
Field encapsulating a 5x5 matrix. More... | |
class | Matrix6Field |
Field encapsulating a 6x6 matrix. More... | |
class | MLDataTypeField |
Field to encapsulate an MLDataType value. More... | |
class | ImageVectorField |
Field to encapsulate an ML vector ImageVector with six integer components. More... | |
class | SubImageBoxField |
Field to encapsulate an ML integer SubimgBox. More... | |
class | SubImageBoxdField |
Field to encapsulate an ML double SubimgBox. More... | |
class | UniversalTypeField |
Field to encapsulate any of the registered ML types. More... | |
class | RotationField |
Field to encapsulate a vector of four double values representing a rotation with all properties of Vector4Field. More... | |
class | PlaneField |
Field to encapsulate a vector of four double values representing a plane with all properties of Vector4Field. More... | |
class | FieldSensor |
Class to define and to manage field sensors. More... | |
class | Host |
The Host is the central image processing class in the ML. More... | |
class | ImageProperties |
This class represents basic image properties: More... | |
class | InputSubImageProperties |
Defines the class InSubImageProps, a simple container for some properties that can be defined for an input subimage that is to be delivered to the corresponding call of the module's calculateOutputSubImage method. More... | |
class | ListField |
class | IntListField |
class | DoubleListField |
class | Vector2ListField |
class | Vector3ListField |
class | Vector4ListField |
class | MedicalImageProperties |
This class encapsulates basic medical image properties: More... | |
class | MemoryImage |
A memory cache for the complete output image of an output connector. More... | |
class | Module |
Base class for an image processing module of the ML. More... | |
class | ModuleDiagnosisStackScope |
class | UserThreadData |
Base class for thread local data that is passed to CalculateOutputImageHandler::calculateOutputSubImage. More... | |
class | CalculateOutputImageHandler |
Base class for the calculation of pages of an output image (PagedImage) of a Module. More... | |
class | ModuleTools |
Class containing some helper functionality for Module programming and/or for the Module class itself. More... | |
class | PagedImage |
The class PagedImage, representing a fragmented image that manages properties and data of an image located in pages. More... | |
class | PageIDIterator |
A class that allows to incrementally iterate over all IDs of pages have an intersection with a given box on a given PagedImage. More... | |
class | ProcessAllPagesHandler |
Base class for handlers that are used for the Module::processAllPages facility. More... | |
class | OrderedSingleInputProcessAllPagesHandler |
A ProcessAllPages handler that offers ordered tile delivery on a single input image. More... | |
class | OrderedProcessAllPagesHandler |
A ProcessAllPages handler that offers ordered tile delivery on any number of input images. More... | |
class | TScaleShiftData |
The class defines a first order linear transformation. More... | |
class | MLTStdTypeInfos |
Template class to register the standard integer classes as voxel types in the ML. More... | |
class | StringConversion |
The class StringConversion provides static methods to convert ML objects to and from strings. More... | |
class | SubImage |
This class manages/represents a rectangular 6D image region that is organized linearly in memory. More... | |
class | TSubImageBox |
This class defines a rectangular subimage region of standard ML dimensions. More... | |
class | SubImageBoxd |
SubImageBoxd - SubImageBox with coordinates of float data type. More... | |
class | TreeNodeException |
The class TreeNodeException is the base class for all exceptions thrown by the class TreeNode and all derived classes. More... | |
class | TreeNode |
The class TreeNode is the abstract base class for the import/export of ML objects. More... | |
class | TSubImageCursor |
Predeclaration for cursor. More... | |
class | ConstTSubImageCursor |
Predeclaration for const cursor. More... | |
class | TSubImage |
This template class manages/represents a rectangular 6D image region in memory that is organized linearly. More... | |
class | TSubImageCursorBase |
Base class for all TSubImage Cursors. More... | |
class | TSubImageWithCursor |
A class that offers a TSubImage with a TSubImageCursor. More... | |
class | VariableType |
Base class for all variable types, mainly for Doxygen documentation purpose. More... | |
class | TypedProcessAllPagesHandler |
TypedProcessAllPagesHandler can be used as a base class for a custom ProcessAllPages handler and supports up to four type variable types. More... | |
class | TypedCalculateOutputImageHandler |
TypedCalculateOutputImageHandler can be used as a base class for a custom CalculateOutputImageHandler and supports up to four variable types. More... | |
struct | TypeTraits |
TypeTraits for scalar ML datatypes. More... | |
struct | DataTypeSelector |
Helper template so select a data type from its type ID. More... | |
class | TQuaternion |
Declaration of complex type traits. More... | |
class | Tvec2 |
Declaration of float vector type traits. More... | |
class | Tvec3 |
Forward declarations to resolve header file dependencies. More... | |
class | Tvec4 |
Forward declarations to resolve header file dependencies. More... | |
class | Tvec5 |
Forward declarations to resolve header file dependencies. More... | |
class | Tvec6 |
A six dimensional vector class for floating point types. More... | |
class | Tvec7 |
An seven dimensional vector class for floating point types. More... | |
class | Tvec8 |
An eight dimensional vector class for floating point types. More... | |
class | Tvec9 |
An nine dimensional vector class for floating point types. More... | |
class | Tvec10 |
An ten dimensional vector class for floating point types. More... | |
class | Tvec16 |
A 16 dimensional vector class for floating point types. More... | |
class | Tvec32 |
A 32 dimensional vector class for floating point types. More... | |
class | Tvec64 |
A 64 dimensional vector class for floating point types. More... | |
class | Tmat2 |
Declaration of matrix type traits. More... | |
class | Tmat3 |
A 3x3 matrix class of three row vectors. More... | |
class | Tmat4 |
A 4x4 matrix class consisting of four row vectors. More... | |
class | Tmat5 |
A 5x5 matrix class of five row vectors. More... | |
class | Tmat6 |
A 6x6 matrix class of six row vectors. More... | |
class | TVectorNDBase |
Declaration of integer vector type traits. More... | |
class | FloatingPointVector |
Template class for vector arithmetic with floating point datatypes. More... | |
class | FloatingPointMatrix |
Base class of all matrix classes that holds the data buffer and provides some general access methods. More... | |
class | AbstractPersistenceStream |
AbstactPersistenceStream is the base class for AbstractPersistenceOutputStream and AbstractPersistenceInputStream, and implements the methods that are common for both these classes. More... | |
class | AbstractPersistenceOutputStream |
Class for writing object data to a stream. More... | |
class | AbstractPersistenceInputStream |
Class for reading object data from a stream. More... | |
class | PersistenceStreamException |
This class represents the exceptions that can be thrown while reading from or writing to the persistence stream. More... | |
class | PersistenceStreamIOException |
Derived class. More... | |
class | PersistenceStreamFormatException |
Derived class. More... | |
class | PersistenceStreamInternalError |
Derived class. This exception usually denotes programming errors. More... | |
class | ApplicationProperties |
Static class that defines an interface to access properties of the host application. More... | |
struct | ArgumentList0 |
Empty argument to allow running with zero arguments. More... | |
struct | ArgumentList1 |
ArgumentList with one argument. More... | |
struct | ArgumentList2 |
ArgumentList with two arguments. More... | |
struct | ArgumentList3 |
ArgumentList with three arguments. More... | |
struct | ArgumentList4 |
ArgumentList with four arguments. More... | |
struct | ArgumentList5 |
ArgumentList with five arguments. More... | |
class | Barrier |
A barrier class that handles synchronization of multiple threads Thread-safety: This class is thread-safe. More... | |
class | ScopedBarrierWaiter |
A helper class that ensures barrier waiting even when an exception occurs. More... | |
class | Base |
Class representing general ML objects that support import/export via strings (setPersistentState() and getPersistentState()), arbitrary tree structures (using addStateToTree() and readStateFromTree()), or a data stream (using writeTo() and readFrom()). More... | |
class | CompilerInfo |
class | ComputerModelInfo |
class | ConstantStringValue |
Shared container for the string value and its hash. More... | |
class | ConstantString |
A ConstantString that contains a std::string and its hash. More... | |
struct | Is |
In combination with the in function, it returns true if a passed value is in the set of possible values. More... | |
class | ContainerProxy |
This template implements a proxy for containers that contain a collection of items normally accessed with a get-by-index method. More... | |
struct | tree_node |
class | CPUInfo |
Singleton class that provides hardware-specific information. More... | |
class | DateTime |
Class for performing date/time arithmetic, comparisons and formatting. More... | |
class | ErrorOutput |
Class to handle all ML debug prints, errors, warnings, and information. More... | |
class | ErrorOutputInfos |
Struct that contains all information about errors, fatal errors, warnings, information, or debug prints. More... | |
class | EventSource |
EventSourceBase class adds event listener handling to Base. More... | |
class | BaseEvent |
BaseEvent is the base class for all events emitted from EventSourceBase. More... | |
class | EventSourceDeletedEvent |
EventSourceRemovedEvent is used to indicate when the EventSourceBase object is removed. More... | |
class | ImagePropertyExtension |
Base class from which one can derive own image properties. More... | |
class | ImagePropertyExtensionContainer |
This class is a container for extended image properties derived from ImagePropertyExtension. More... | |
class | Memory |
Basic memory management class for the ML. More... | |
class | MemoryInfo |
Singleton class that provides hardware specific information. More... | |
class | Notify |
Class to handle all ML Notify prints, errors, and warnings. More... | |
class | RefCountedBase |
RefCountedBase class adds intrusive reference counting support to the Base class. More... | |
class | Runtime |
This class contains the runtime system of the ML. More... | |
class | RuntimeDict |
This file declares the class RuntimeDict that manages a set of instances of class RuntimeTypes . More... | |
class | RuntimeType |
RuntimeType contains type and inheritance information of a class and a static dictionary with information on all created instances of RuntimeType. More... | |
class | StringSwitch |
struct | Overload |
class | TimeCounter |
Class to measure precise time intervals. More... | |
class | TraceBuffer |
This class manages a list and a stack of pointers to permanent strings. More... | |
class | Trace |
This class simply implements a constructor and a destructor. More... | |
class | WaitCondition |
WaitCondition implements a wait condition for thread synchronization. More... | |
class | WMIInterface |
Interface to the Windows Management Instrumentation https://msdn.microsoft.com/en-us/library/aa394582.aspx. More... | |
class | FloatingPointVectorDataContainerBase |
Base class of the FloatingPointVector class that holds the data buffer. More... | |
class | TVector6DBase |
TVector6DBase is the data container class for TVector providing specialized 6D container functionality for vectors of dimension MLMaxImageDimension. More... | |
class | TImageVector |
ImageVector is the 6D TVector specialization used by the ML for all image indexing. More... | |
class | TVector |
ML integer image vector class to be specialized for different purposes. More... | |
class | Line |
Class to define the geometry primitive 'Line' consisting of a position and a direction. More... | |
class | Plane |
Class defining a plane in 3D. More... | |
class | Rotation |
Class to handle Rotations (internally, the rotation is stored as a unit quaternion) More... | |
class | Vector2DataContainer |
Specialized base class for the FloatingPointVectorDataContainerBase. More... | |
class | Vector3DataContainer |
Specialized base class for the FloatingPointVectorDataContainerBase. More... | |
Typedefs | |
typedef void | TileRequestFinishedCB(void *data, TileRequest *request) |
Callback for a finished TileRequest. More... | |
typedef NotifyField | TriggerField |
TriggerField is an alias for the NotifyField, which is easier to find for Open Inventor users who are used to the 'SoSFTrigger' field. More... | |
typedef void | CalculateOutputImagePropertiesCB(void *userData, PagedImage *outImage) |
Callback for the calculation of the output image properties for outputImage . More... | |
typedef TScaleShiftData< MLdouble > | ScaleShiftData |
Double version of TScaleShiftData for maximum reasonable precision. More... | |
typedef TSubImageBox< MLint > | SubImageBox |
Defines the standard SubImageBox type used in the ML. Its size varies with the size of the MLint type. More... | |
using | AtomicCounter = std::atomic_int32_t |
AtomicCounter is a thread-safe integer counter. More... | |
typedef void | BaseEventCallback(void *, BaseEvent *) |
typedef std::vector< ImagePropertyExtension * > | ImagePropertyExtensionVector |
Defines the STL container type of ImagePropertyExtension objects. More... | |
typedef boost::recursive_mutex | RecursiveMutex |
Defines a recursive mutex. More... | |
typedef boost::recursive_mutex::scoped_lock | RecursiveLock |
Defines a lock for locking a recursive mutex. More... | |
typedef boost::mutex | Mutex |
Defines a non-recursive mutex. More... | |
typedef boost::mutex::scoped_lock | Lock |
Defines a lock for locking a non-recursive mutex. More... | |
using | low_executor = detail::executor< execute_low > |
using | default_executor = detail::executor< execute_default > |
using | high_executor = detail::executor< execute_high > |
template<template< class... > class Op, class... Args> | |
using | is_detected = typename internal::detector< internal::nonesuch, void, Op, Args... >::value_t |
template<template< class... > class Op, class... Args> | |
using | detected_t = typename internal::detector< internal::nonesuch, void, Op, Args... >::type |
typedef boost::thread | Thread |
typedef MLuint16 | MLGlobalTraceBufferType |
The type used in the MLGlobalTraceBuffer. More... | |
typedef TImageVector< MLint > | ImageVector |
Defines the standard ImageVector type that is used by the ML for indexing and coordinates. More... | |
typedef int | VectorDimIdxType |
Signed integer type used as count and index type to traverse the array of the TVector. More... | |
Specializations for float, double, and long double. | |
typedef Tmat2< MLfloat > | Matrix2f |
A 2x2 matrix of type float. More... | |
typedef Tmat2< MLdouble > | Matrix2d |
A 2x2 matrix of type double. More... | |
typedef Tmat2< MLldouble > | Matrix2ld |
A 2x2 matrix of type long double. More... | |
typedef Tmat2< MLdouble > | Matrix2 |
The standard 2x2 matrix of type double. More... | |
typedef Tmat4< MLfloat > | Matrix4f |
A 4x4 matrix of type float. More... | |
typedef Tmat4< MLdouble > | Matrix4d |
A 4x4 matrix of type double. More... | |
typedef Tmat4< MLldouble > | Matrix4ld |
A 4x4 matrix of type long double. More... | |
typedef Tmat4< MLdouble > | Matrix4 |
The standard 4x4 matrix of type double. More... | |
typedef Tmat5< MLfloat > | Matrix5f |
A 5x5 matrix of type float. More... | |
typedef Tmat5< MLdouble > | Matrix5d |
A 5x5 matrix of type double. More... | |
typedef Tmat5< MLldouble > | Matrix5ld |
A 5x5 matrix of type long double. More... | |
typedef Tmat5< MLdouble > | Matrix5 |
The standard 5x5 matrix of type double. More... | |
typedef Tmat6< MLfloat > | Matrix6f |
A 6x6 matrix of type float. More... | |
typedef Tmat6< MLdouble > | Matrix6d |
A 6x6 matrix of type double. More... | |
typedef Tmat6< MLldouble > | Matrix6ld |
A 6x6 matrix of type long double. More... | |
typedef Tmat6< MLdouble > | Matrix6 |
The standard 6x6 matrix of type double. More... | |
typedef TQuaternion< MLfloat > | Quaternionf |
A smaller Quaternion type as a specialization from TQuaternion. More... | |
typedef TQuaternion< MLdouble > | Quaterniond |
The default Quaternion type used in the ML as a specialization from TQuaternion. More... | |
typedef TQuaternion< MLldouble > | Quaternionld |
A large Quaternion type for further extensions of the ML as a specialization from TQuaternion. More... | |
typedef TQuaternion< MLdouble > | Quaternion |
Defines the default Quaternion type that is used by the ML; it uses double as component type. More... | |
typedef Tvec10< MLfloat > | Vector10f |
A vector with ten components of type float. More... | |
typedef Tvec10< MLdouble > | Vector10d |
A vector with ten components of type double. More... | |
typedef Tvec10< MLldouble > | Vector10ld |
A vector with ten components of type long double. More... | |
typedef Tvec10< MLdouble > | Vector10 |
A vector with ten components of type double. More... | |
typedef Tvec16< MLfloat > | Vector16f |
A vector with 16 components of type float. More... | |
typedef Tvec16< MLdouble > | Vector16d |
A vector with 16 components of type double. More... | |
typedef Tvec16< MLldouble > | Vector16ld |
A vector with 16 components of type long double. More... | |
typedef Tvec16< MLdouble > | Vector16 |
A vector with 16 components of type double. More... | |
typedef Tvec2< MLfloat > | Vector2f |
A vector with two components of type float. More... | |
typedef Tvec2< MLdouble > | Vector2d |
A vector with two components of type double. More... | |
typedef Tvec2< MLldouble > | Vector2ld |
A vector with two components of type long double. More... | |
typedef Tvec2< MLdouble > | Vector2 |
A vector with two components of type double. More... | |
typedef Tvec3< MLfloat > | Vector3f |
A vector with three components of type float. More... | |
typedef Tvec3< MLdouble > | Vector3d |
A vector with three components of type double. More... | |
typedef Tvec3< MLldouble > | Vector3ld |
A vector with three components of type long double. More... | |
typedef Tvec3< MLdouble > | Vector3 |
A vector with three components of type double. More... | |
typedef Tvec32< MLfloat > | Vector32f |
A vector with 32 components of type float. More... | |
typedef Tvec32< MLdouble > | Vector32d |
A vector with 32 components of type double. More... | |
typedef Tvec32< MLldouble > | Vector32ld |
A vector with 32 components of type long double. More... | |
typedef Tvec32< MLdouble > | Vector32 |
A vector with 32 components of type double. More... | |
typedef Tvec4< MLfloat > | Vector4f |
A vector with four components of type float. More... | |
typedef Tvec4< MLdouble > | Vector4d |
A vector with four components of type double. More... | |
typedef Tvec4< MLldouble > | Vector4ld |
A vector with four components of type long double. More... | |
typedef Tvec4< MLdouble > | Vector4 |
A vector with four components of type double. More... | |
typedef Tvec5< MLfloat > | Vector5f |
A vector with five components of type float. More... | |
typedef Tvec5< MLdouble > | Vector5d |
A vector with five components of type double. More... | |
typedef Tvec5< MLldouble > | Vector5ld |
A vector with five components of type long double. More... | |
typedef Tvec5< MLdouble > | Vector5 |
A vector with five components of type double. More... | |
typedef Tvec6< MLfloat > | Vector6f |
A vector with six components of type float. More... | |
typedef Tvec6< MLdouble > | Vector6d |
A vector with six components of type double. More... | |
typedef Tvec6< MLldouble > | Vector6ld |
A vector with six components of type long double. More... | |
typedef Tvec6< MLdouble > | Vector6 |
A vector with six components of type double. More... | |
typedef Tvec64< MLfloat > | Vector64f |
A vector with 64 components of type float. More... | |
typedef Tvec64< MLdouble > | Vector64d |
A vector with 64 components of type double. More... | |
typedef Tvec64< MLldouble > | Vector64ld |
A vector with 64 components of type long double. More... | |
typedef Tvec64< MLdouble > | Vector64 |
A vector with 64 components of type double. More... | |
typedef Tvec7< MLfloat > | Vector7f |
A vector with seven components of type float. More... | |
typedef Tvec7< MLdouble > | Vector7d |
A vector with seven components of type double. More... | |
typedef Tvec7< MLldouble > | Vector7ld |
A vector with seven components of type long double. More... | |
typedef Tvec7< MLdouble > | Vector7 |
A vector with seven components of type double. More... | |
typedef Tvec8< MLfloat > | Vector8f |
A vector with eight components of type float. More... | |
typedef Tvec8< MLdouble > | Vector8d |
A vector with eight components of type double. More... | |
typedef Tvec8< MLldouble > | Vector8ld |
A vector with eight components of type long double. More... | |
typedef Tvec8< MLdouble > | Vector8 |
A vector with eight components of type double. More... | |
typedef Tvec9< MLfloat > | Vector9f |
A vector with nine components of type float. More... | |
typedef Tvec9< MLdouble > | Vector9d |
A vector with nine components of type double. More... | |
typedef Tvec9< MLldouble > | Vector9ld |
A vector with nine components of type long double. More... | |
typedef Tvec9< MLdouble > | Vector9 |
A vector with nine components of type double. More... | |
Specializations for float, double and long double. | |
typedef Tmat3< MLfloat > | Matrix3f |
A 3x3 matrix of type float. More... | |
typedef Tmat3< MLdouble > | Matrix3d |
A 3x3 matrix of type double. More... | |
typedef Tmat3< MLldouble > | Matrix3ld |
A 3x3 matrix of type long double. More... | |
typedef Tmat3< MLdouble > | Matrix3 |
The standard 3x3 matrix of type double. More... | |
Enumerations | |
enum | { TNE_VoidImplementation , TNE_NotSupported , TNE_ChildNotFound , TNE_AddingBase , TNE_ReadingBase , TNE_ReadingUChar , TNE_ReadingChar , TNE_ReadingUShort , TNE_ReadingShort , TNE_ReadingUInt , TNE_ReadingInt , TNE_ReadingULong , TNE_ReadingLong , TNE_ReadingFloat , TNE_ReadingDouble , TNE_ReadingLDouble , TNE_ReadingString , TNE_ReadingVector2 , TNE_ReadingVector3 , TNE_ReadingVector4 , TNE_ReadingVector6 , TNE_ReadingImageVector , TNE_ReadingMatrix3 , TNE_ReadingMatrix4 , TNE_ReadingSubImageBox , TNE_ReadingSubImageBoxd , TNE_InvalidReadNext , TNE_InvalidParentNode , TNE_FileNotFound , TNE_ReadingFile , TNE_WritingFile , TNE_UnsupportedClassVersion , TNE_UserDefined , TNE_Unknown , TNE_ReadingMLint64 , TNE_ReadingMLuint64 , TNE_COUNT } |
TreeNode exceptions. More... | |
enum | { ML_INTEGER_TYPE = 0x01 , ML_FLOAT_TYPE = 0x02 , ML_SIGNED_TYPE = 0x04 } |
enum | { MLMaxImageDimension = 6 } |
The default dimension of images in the ML. More... | |
Functions | |
MLEXPORT void | MLInitFields () |
Initialize all standard fields of the ML. More... | |
MLEXPORT void | MLInitListFields () |
Initialize all multi-fields of the ML. More... | |
template<typename... T> | |
TSubImageVariant< T... > | createTSubImageVariant (const SubImage *subImage) |
template<typename... T> | |
TSubImageVariantPair< T... > | createTSubImageVariantPair (SubImage &output, const SubImage *input) |
template<std::size_t N, typename... T> | |
TSubImageVariantArray< N, T... > | createTSubImageVariantArray (const SubImage *inputs) |
template<std::size_t N, typename... T> | |
TSubImageVariantArrayPair< N, T... > | createTSubImageVariantArrayPair (SubImage &output, const SubImage *inputs) |
ArgumentList0 | MLGenerateArgumentList () |
Creates argument list with zero arguments. More... | |
template<class Arg1 > | |
ArgumentList1< Arg1 > | MLGenerateArgumentList (const Arg1 &arg1) |
Create argument list with one argument. More... | |
template<class Arg1 , class Arg2 > | |
ArgumentList2< Arg1, Arg2 > | MLGenerateArgumentList (const Arg1 &arg1, const Arg2 &arg2) |
Creates argument list with two arguments. More... | |
template<class Arg1 , class Arg2 , class Arg3 > | |
ArgumentList3< Arg1, Arg2, Arg3 > | MLGenerateArgumentList (const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3) |
Creates argument list with three arguments. More... | |
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 > | |
ArgumentList4< Arg1, Arg2, Arg3, Arg4 > | MLGenerateArgumentList (const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4) |
Creates argument list with four arguments. More... | |
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 > | |
ArgumentList5< Arg1, Arg2, Arg3, Arg4, Arg5 > | MLGenerateArgumentList (const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5) |
Creates argument list with five arguments. More... | |
template<class Object , class Method > | |
void | MLCallMethodWithArguments (Object *object, Method method, const ArgumentList0 &) |
Calls a method on given object with zero arguments. More... | |
template<class Object , class Method , class Arg1 > | |
void | MLCallMethodWithArguments (Object *object, Method method, const ArgumentList1< Arg1 > &args) |
Calls a method on given object with one argument. More... | |
template<class Object , class Method , class Arg1 , class Arg2 > | |
void | MLCallMethodWithArguments (Object *object, Method method, const ArgumentList2< Arg1, Arg2 > &args) |
Calls a method on given object with two arguments. More... | |
template<class Object , class Method , class Arg1 , class Arg2 , class Arg3 > | |
void | MLCallMethodWithArguments (Object *object, Method method, const ArgumentList3< Arg1, Arg2, Arg3 > &args) |
Calls a method on given object with three arguments. More... | |
template<class Object , class Method , class Arg1 , class Arg2 , class Arg3 , class Arg4 > | |
void | MLCallMethodWithArguments (Object *object, Method method, const ArgumentList4< Arg1, Arg2, Arg3, Arg4 > &args) |
Calls a method on given object with four arguments. More... | |
template<class Object , class Method , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 > | |
void | MLCallMethodWithArguments (Object *object, Method method, const ArgumentList5< Arg1, Arg2, Arg3, Arg4, Arg5 > &args) |
Calls a method on given object with five arguments. More... | |
std::size_t | hash_value (ConstantString const &b) |
template<class T > | |
constexpr Is< T > | is (T d) |
template<typename Range1 , typename Range2 , typename BinaryPredicate > | |
constexpr Range2::const_iterator | is_rotated (const Range1 &range1, const Range2 &range2, BinaryPredicate p) |
template<typename Range1 , typename Range2 > | |
constexpr Range2::const_iterator | is_rotated (const Range1 &range1, const Range2 &range2) |
template<typename T > | |
void | flatten (const tree_node< T > &tree, std::vector< T > &flatten_elements) |
template<typename T > | |
void | insert_set_sorted (tree_node< T > &tree, T newValue, T zero={}) |
ML_UTILS_EXPORT float | roundf (float x) |
ML_UTILS_EXPORT double | round (double x) |
ML_UTILS_EXPORT int | iroundf (float x) |
ML_UTILS_EXPORT int | iround (double x) |
ML_UTILS_EXPORT long | lroundf (float x) |
ML_UTILS_EXPORT long | lround (double x) |
template<typename T , std::size_t N> | |
constexpr T | convertTo (const char(&t)[N]) |
template<typename T > | |
constexpr bool | almostEqualRelativeAndAbs (T x, T y, T absoluteEpsilon, T relativeEpsilon=std::numeric_limits< T >::epsilon()) |
void ML_UTILS_EXPORT | printTemplateFatalError (const char *location, MLErrorCode reason, const std::string_view &handling) |
void ML_UTILS_EXPORT | printTemplateError (const char *location, MLErrorCode reason, const std::string_view &handling) |
void ML_UTILS_EXPORT | printTemplateWarning (const char *location, MLErrorCode reason, const std::string_view &handling) |
void | intrusive_ptr_add_ref (const ml::RefCountedBase *p) |
void | intrusive_ptr_release (const ml::RefCountedBase *p) |
template<typename T > | |
bool | vector_contains (const std::vector< T > &vec, const T &value) |
Helper template that searches for value in given vector vec and returns whether it was found. More... | |
template<typename T > | |
bool | vector_remove (std::vector< T > &vec, const T &value) |
Helper template that removes the first occurrence of value in given vector vec and returns whether it was found. More... | |
template<typename T > | |
void | vector_remove_all (std::vector< T > &vec, const T &value) |
Helper template that removes all occurrences of value in given vector vec . More... | |
template<typename T > | |
bool | vector_replace_by_NULL (std::vector< T > &vec, const T &value) |
Helper template that replaces the first occurrence of value in given vector vec with NULL and returns whether it was found. More... | |
void ML_UTILS_EXPORT | execute_low (stlab::task< void()> f) |
void ML_UTILS_EXPORT | execute_default (stlab::task< void()> f) |
void ML_UTILS_EXPORT | execute_high (stlab::task< void()> f) |
void ML_UTILS_EXPORT | pre_exit () |
template<class... Ts> | |
Overload (Ts...) -> Overload< Ts... > | |
void ML_UTILS_EXPORT | logTypeComponentsFromStringError (const char *function) |
template<typename DT > | |
DT | abs (DT val) |
ML_UTILS_EXPORT std::wstring | convertUTF8ToWString (const char *text) |
ML_UTILS_EXPORT std::wstring | convertUTF8ToWString (const std::string &text) |
ML_UTILS_EXPORT std::string | convertToUTF8String (const wchar_t *text) |
ML_UTILS_EXPORT std::string | convertToUTF8String (const std::wstring &text) |
template<class OBJ_TYPE > | |
void | MLSwap (OBJ_TYPE &obj1, OBJ_TYPE &obj2) |
Swaps two objects obj1 and obj2 . More... | |
template<class BASE_TYPE > | |
BASE_TYPE | MLInverseMatHelper (const BASE_TYPE &origMat, bool *isInvertible, const typename BASE_TYPE::ComponentType, const char *const ZeroDetErrString, const BASE_TYPE &Identity, const size_t Dim) |
Computes an N dimensional inverse from given default parameters. More... | |
template<class DT , class DT2 > | |
Tvec3< DT > | operator* (const Tmat3< DT > &a, const Tvec3< DT2 > &v) |
Normal multiplication of 3x3 matrix a with 3D vector v with a Tvec3 as result. More... | |
template<class DT , class DT2 > | |
Tvec3< DT > | operator* (const Tvec3< DT > &v, const Tmat3< DT2 > &a) |
Normal multiplication of 3D vector v with 3x3 matrix with a Tvec3 as result. More... | |
template<class DT , class DT2 > | |
Tvec3< DT > | operator* (const Tmat4< DT > &a, const Tvec3< DT2 > &v) |
Interprets v as a 4D homogeneous point, multiplies the 4x4 matrix M with it, and returns a Tvec3 after normalizing the result by dividing by the fourth component. More... | |
template<class DT , class DT2 > | |
Tvec3< DT > | operator* (const Tvec3< DT > &v, const Tmat4< DT2 > &a) |
Interprets v as a 4D homogeneous point, multiplies it with the 4x4 matrix M, and returns a Tvec3 after normalizing the result by dividing by the fourth component. More... | |
template<class DT , class DT2 > | |
Tvec3< DT > | operator^ (const Tvec3< DT > &a, const Tvec3< DT2 > &b) |
Returns a vector orthogonal to a and b . More... | |
template<class DT > | |
Tvec4< DT > | operator* (const Tmat4< DT > &a, const Tvec4< DT > &v) |
Multiplies 4x4 matrix a with vector v . More... | |
template<class DT > | |
Tvec4< DT > | operator* (const Tvec4< DT > &v, const Tmat4< DT > &a) |
Multiplies vector v with 4x4 matrix a . More... | |
template<class DT > | |
Tvec5< DT > | operator* (const Tmat5< DT > &a, const Tvec5< DT > &v) |
Multiplies 5x5 matrix a with vector v . More... | |
template<class DT > | |
Tvec5< DT > | operator* (const Tvec5< DT > &v, const Tmat5< DT > &a) |
Multiplies vector v with 5x5 matrix a . More... | |
Casting of SubImage to TSubImage<T> | |
The tsubimage_cast allows to cast a SubImage (pointer or reference) to a typed TSubImage<T> (pointer or reference). If the cast is not possible because the data type of the SubImage does not match the T of tsubimage_cast<T>, a fatal ML error occurs. Usage: TSubImage<MLfloat>& tsubimg = tsubimage_cast<MLfloat>(subimg);
| |
template<typename T > | |
TSubImage< T > & | tsubimage_cast (SubImage &subImg) |
template<typename T > | |
const TSubImage< T > & | tsubimage_cast (const SubImage &subImg) |
template<typename T > | |
TSubImage< T > * | tsubimage_cast (SubImage *subImg) |
template<typename T > | |
const TSubImage< T > * | tsubimage_cast (const SubImage *subImg) |
mlMin/mlMax Templates in ML namespace | |
template<typename T > | |
T | mlMin (T a, T b) |
Defines ML specific min template since min template is platform-dependent. More... | |
template<typename T > | |
T | mlMax (T a, T b) |
Defines ML specific max template since max template is platform-dependent. More... | |
template<typename T > | |
T | mlAbs (T a) |
Defines ML specific abs template since only type-dependent library functions exists. More... | |
Standalone functions for FloatingPointVector. | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > & | operator+= (FloatingPointVector< T, size, DataContainer > &op1, const FloatingPointVector< T, size, DataContainer > &buffer) |
Arithmetic assignment: Component-wise addition. More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > & | operator-= (FloatingPointVector< T, size, DataContainer > &op1, const FloatingPointVector< T, size, DataContainer > &buffer) |
Arithmetic assignment: Component-wise subtraction of buffer from *this. More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > & | operator*= (FloatingPointVector< T, size, DataContainer > &op1, MLdouble value) |
Arithmetic assignment: Component-wise multiplication *this with specialized MLdouble scalar value. More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > & | operator*= (FloatingPointVector< T, size, DataContainer > &op1, const FloatingPointVector< T, size, DataContainer > &op2) |
Arithmetic assignment: Component-wise multiplication *this with a vector of the same size. More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > & | operator/= (FloatingPointVector< T, size, DataContainer > &op1, MLdouble value) |
Arithmetic assignment: Component-wise division of *this by scalar value. More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > & | operator/= (FloatingPointVector< T, size, DataContainer > &op1, const FloatingPointVector< T, size, DataContainer > &op2) |
Arithmetic assignment: Component-wise division of *this by the values of a vector of the same size. More... | |
template<class T , size_t size, class DataContainer > | |
bool | operator! (const FloatingPointVector< T, size, DataContainer > &a) |
Returns whether all components are 0. More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > | operator+ (FloatingPointVector< T, size, DataContainer > lhs, const FloatingPointVector< T, size, DataContainer > &rhs) |
Return value is the component-wise addition of lhs and rhs . More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > | operator- (FloatingPointVector< T, size, DataContainer > lhs, const FloatingPointVector< T, size, DataContainer > &rhs) |
Return value is the component-wise subtraction of rhs from lhs . More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > | operator+ (const FloatingPointVector< T, size, DataContainer > &buffer) |
Unary plus, for completeness and for those who really want to use that. More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > | operator- (const FloatingPointVector< T, size, DataContainer > &buffer) |
Unary minus, all components of the vector are multiplied with -1. More... | |
template<class T , size_t size, class DataContainer > | |
T | operator* (const FloatingPointVector< T, size, DataContainer > &a, const FloatingPointVector< T, size, DataContainer > &b) |
Dot product, returns a.dot(b). More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > | operator* (FloatingPointVector< T, size, DataContainer > lhs, MLdouble rhs) |
Component-wise multiplication of lhs with rhs . More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > | operator* (MLdouble lhs, FloatingPointVector< T, size, DataContainer > rhs) |
Component-wise multiplication of rhs with lhs . More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > | operator/ (FloatingPointVector< T, size, DataContainer > lhs, MLdouble rhs) |
Component-wise division of lhs by specialized rhs of type MLdouble. More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > | compMin (FloatingPointVector< T, size, DataContainer > buffer1, const FloatingPointVector< T, size, DataContainer > &buffer2) |
Component-wise minimum of buffer1 and buffer2 . More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > | compMax (FloatingPointVector< T, size, DataContainer > buffer1, const FloatingPointVector< T, size, DataContainer > &buffer2) |
Component-wise maximum of buffer1 and buffer2 . More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > | compAbs (FloatingPointVector< T, size, DataContainer > vec) |
Returns a vector with all components from vec without negative sign. More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > | compSqr (FloatingPointVector< T, size, DataContainer > vec) |
Returns a vector with all components from vec squared. More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > | compSqrt (FloatingPointVector< T, size, DataContainer > vec) |
Returns a vector with all components from vec square-rooted. More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > | compDiv (FloatingPointVector< T, size, DataContainer > vec, const FloatingPointVector< T, size, DataContainer > &d) |
Component-wise division of vec / d . More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > | clampMin (FloatingPointVector< T, size, DataContainer > vec, const FloatingPointVector< T, size, DataContainer > &m) |
Returns a new vector with all components from vec clamped to minimum m . More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > | clampMax (FloatingPointVector< T, size, DataContainer > vec, const FloatingPointVector< T, size, DataContainer > &m) |
Returns a new vector with all components from vec clamped to maximum m . More... | |
template<class T , size_t size, class DataContainer > | |
FloatingPointVector< T, size, DataContainer > | clamp (FloatingPointVector< T, size, DataContainer > vec, const FloatingPointVector< T, size, DataContainer > &lower, const FloatingPointVector< T, size, DataContainer > &upper) |
Returns a new vector with all components from vec clamped to range [lower, upper]. More... | |
template<class T , size_t size, class DataContainer > | |
T | compMul (const FloatingPointVector< T, size, DataContainer > &vec) |
Returns the product of all components. More... | |
Functions and operators for class Tmat2. | |
Helper macro only locally defined for Tmat2 matrix multiplication. | |
template<class DT > | |
Tmat2< DT > | operator* (const Tmat2< DT > &a, const Tmat2< DT > &b) |
template<class DT > | |
bool | operator== (const Tmat2< DT > &a, const Tmat2< DT > &b) |
a == b ? Returns true if yes. More... | |
template<class DT > | |
bool | operator!= (const Tmat2< DT > &a, const Tmat2< DT > &b) |
a != b ? Returns true if yes. More... | |
Standalone functions and operators for class Tmat2. | |
template<class DT > | |
Tmat2< DT > | operator- (const Tmat2< DT > &a) |
Returns a matrix a with all values negated. More... | |
template<class DT > | |
Tmat2< DT > | operator+ (const Tmat2< DT > &a, const Tmat2< DT > &b) |
Returns the component-wise sum of matrix a and matrix b . More... | |
template<class DT > | |
Tmat2< DT > | operator- (const Tmat2< DT > &a, const Tmat2< DT > &b) |
Returns the component-wise difference of matrix a and matrix b . More... | |
template<class DT > | |
Tmat2< DT > | operator* (const Tmat2< DT > &a, DT d) |
Returns the component-wise multiplication of matrix a with scalar d . More... | |
template<class DT > | |
Tmat2< DT > | operator* (const DT d, const Tmat2< DT > &a) |
Returns the component-wise multiplication of scalar d with matrix a . More... | |
template<class DT > | |
Tmat2< DT > | operator/ (const Tmat2< DT > &a, const DT d) |
Returns the component-wise division of matrix a by scalar d . More... | |
template<class DT > | |
Tvec2< DT > | operator* (const Tmat2< DT > &a, const Tvec2< DT > &v) |
Normal multiplication of 2x2 matrix a with 2D vector v with a Tvec2as result. More... | |
template<class DT > | |
Tvec2< DT > | operator* (const Tvec2< DT > &v, const Tmat2< DT > &a) |
Normal multiplication of 2D vector v with 2x2 matrix with a Tvec2as result. More... | |
Global operators and functions of class Tmat3. | |
template<class DT > | |
Tmat3< DT > | operator- (const Tmat3< DT > &a) |
Returns a matrix a with all values negated. More... | |
template<class DT > | |
Tmat3< DT > | operator+ (const Tmat3< DT > &a, const Tmat3< DT > &b) |
Returns the component-wise sum of matrix a and matrix b . More... | |
template<class DT > | |
Tmat3< DT > | operator- (const Tmat3< DT > &a, const Tmat3< DT > &b) |
Returns the component-wise difference of matrix a and matrix b . More... | |
template<class DT > | |
Tmat3< DT > | operator* (const Tmat3< DT > &a, const DT d) |
Returns the component-wise multiplication of matrix a with scalar d . More... | |
template<class DT > | |
Tmat3< DT > | operator* (const DT d, const Tmat3< DT > &a) |
Returns the component-wise multiplication of scalar d with matrix a . More... | |
template<class DT > | |
Tmat3< DT > | operator/ (const Tmat3< DT > &a, const DT d) |
Returns the component-wise division of matrix a by scalar d . More... | |
Special Functions | |
template<class DT > | |
Tmat3< DT > | operator* (const Tmat3< DT > &a, const Tmat3< DT > &b) |
Matrix 3 product. More... | |
template<class DT > | |
bool | operator== (const Tmat3< DT > &a, const Tmat3< DT > &b) |
a == b ? Return true if yes; otherwise, it returns false . More... | |
template<class DT > | |
bool | operator!= (const Tmat3< DT > &a, const Tmat3< DT > &b) |
a != b ? Return true if yes; otherwise, it returns false . More... | |
template<class DT > | |
Tmat3< DT > | identity2D () |
Returns a 3x3 homogeneous identity2D matrix; synonym for Tmat3<DT>::getIdentity(). More... | |
template<class DT > | |
Tmat3< DT > | translation2D (const Tvec2< DT > &v) |
Returns a 2D translation matrix as 3D homogeneous matrix where the translation is located in the right column. More... | |
template<class DT > | |
Tmat3< DT > | rotation2D (const Tvec2< DT > &Center, const DT angleDeg) |
Returns a 2D rotation matrix as 3D homogeneous matrix where center specifies the center of rotation. More... | |
template<class DT > | |
Tmat3< DT > | scaling2D (const Tvec2< DT > &scaleVector) |
Returns a 2D scale matrix as 3D homogeneous matrix. More... | |
template<class DT > | |
Tmat5< DT > | operator* (const Tmat5< DT > &a, const Tmat5< DT > &b) |
Matrix product. More... | |
template<class DT > | |
bool | operator== (const Tmat5< DT > &a, const Tmat5< DT > &b) |
a == b ? Returns true if yes; otherwise, it returns false . More... | |
template<class DT > | |
bool | operator!= (const Tmat5< DT > &a, const Tmat5< DT > &b) |
a != b ? Returns true if yes; otherwise, it returns false . More... | |
template<class DT > | |
Tmat6< DT > | operator* (const Tmat6< DT > &a, const Tmat6< DT > &b) |
Matrix product. More... | |
template<class DT > | |
bool | operator== (const Tmat6< DT > &a, const Tmat6< DT > &b) |
a == b ? Returns true if yes; otherwise, it returns false . More... | |
template<class DT > | |
bool | operator!= (const Tmat6< DT > &a, const Tmat6< DT > &b) |
a != b ? Returns true if yes; otherwise, it returns false . More... | |
template<class DT > | |
Tvec6< DT > | operator* (const Tmat6< DT > &a, const Tvec6< DT > &v) |
Multiplies 6x6 matrix a with vector v . More... | |
template<class DT > | |
Tvec6< DT > | operator* (const Tvec6< DT > &v, const Tmat6< DT > &a) |
Multiplies vector v with 6x6 matrix a . More... | |
Functions and operators for class Tmat4. | |
template<class DT > | |
Tmat4< DT > | operator* (const Tmat4< DT > &a, const Tmat4< DT > &b) |
a * b. More... | |
template<class DT > | |
bool | operator== (const Tmat4< DT > &a, const Tmat4< DT > &b) |
a == b ? Returns true if yes. More... | |
template<class DT > | |
bool | operator!= (const Tmat4< DT > &a, const Tmat4< DT > &b) |
a != b ? Returns true if yes. More... | |
Global functions and operators for class Tmat4. | |
template<class DT > | |
Tmat4< DT > | operator- (const Tmat4< DT > &a) |
Returns the matrix a with all values negated. More... | |
template<class DT > | |
Tmat4< DT > | operator+ (const Tmat4< DT > &a, const Tmat4< DT > &b) |
Returns the component-wise sum of matrix a and matrix b . More... | |
template<class DT > | |
Tmat4< DT > | operator- (const Tmat4< DT > &a, const Tmat4< DT > &b) |
Returns the component-wise difference of matrix a and matrix b . More... | |
template<class DT > | |
Tmat4< DT > | operator* (const Tmat4< DT > &a, const DT d) |
Returns the component-wise multiplication of matrix a with scalar d . More... | |
template<class DT > | |
Tmat4< DT > | operator* (const DT d, const Tmat4< DT > &a) |
Returns the component-wise multiplication of scalar d with matrix a . More... | |
template<class DT > | |
Tmat4< DT > | operator/ (const Tmat4< DT > &a, const DT d) |
Returns the component-wise division of matrix a by scalar d . More... | |
Tmat4<DT> member functions | |
template<class DT > | |
Tmat4< DT > | identity3D () |
Returns a 4x4 homogeneous identity3D matrix; synonym for Tmat4<DT>::getIdentity(). More... | |
template<class DT > | |
Tmat4< DT > | translation3D (const Tvec3< DT > &v) |
Returns a 4x4 homogeneous translation matrix with default identity matrix contents and the upper three components in right column given by 3D vector v . More... | |
template<class DT > | |
Tmat4< DT > | rotation3D (Tvec3< DT > Axis, const DT angleRad) |
Returns a 4x4 homogeneous 3D rotation matrix describing a rotation with angle angleRad around axis Axis . More... | |
template<class DT > | |
Tmat4< DT > | scaling3D (const Tvec3< DT > &scaleVector) |
Scaling 3D. More... | |
template<class DT > | |
Tmat4< DT > | perspective3D (const DT d) |
Creates a 4x4 homogeneous perspective projection matrix with perspective shortening value given by d that must differ from zero to avoid errors. More... | |
Standalone operators of class Tmat5. | |
template<class DT > | |
Tmat5< DT > | operator- (const Tmat5< DT > &a) |
Returns a matrix a with all values negated. More... | |
template<class DT > | |
Tmat5< DT > | operator+ (const Tmat5< DT > &a, const Tmat5< DT > &b) |
Returns the component-wise sum of matrix a and matrix b . More... | |
template<class DT > | |
Tmat5< DT > | operator- (const Tmat5< DT > &a, const Tmat5< DT > &b) |
Returns the component-wise difference of matrix a and matrix b . More... | |
template<class DT > | |
Tmat5< DT > | operator* (const Tmat5< DT > &a, const DT d) |
Returns the component-wise product of matrix a with scalar d . More... | |
template<class DT > | |
Tmat5< DT > | operator* (const DT d, const Tmat5< DT > &a) |
Returns the component-wise product of scalar d with matrix a . More... | |
template<class DT > | |
Tmat5< DT > | operator/ (const Tmat5< DT > &a, const DT d) |
Returns the component-wise division of matrix a by scalar d . More... | |
Standalone operators of class Tmat6. | |
template<class DT > | |
Tmat6< DT > | operator- (const Tmat6< DT > &a) |
Returns a matrix a with all values negated. More... | |
template<class DT > | |
Tmat6< DT > | operator+ (const Tmat6< DT > &a, const Tmat6< DT > &b) |
Returns the component-wise sum of matrix a and matrix b . More... | |
template<class DT > | |
Tmat6< DT > | operator- (const Tmat6< DT > &a, const Tmat6< DT > &b) |
Returns the component-wise difference of matrix a and matrix b . More... | |
template<class DT > | |
Tmat6< DT > | operator* (const Tmat6< DT > &a, const DT d) |
Returns the component-wise product of matrix a with scalar d . More... | |
template<class DT > | |
Tmat6< DT > | operator* (const DT d, const Tmat6< DT > &a) |
Returns the component-wise product of scalar d with matrix a . More... | |
template<class DT > | |
Tmat6< DT > | operator/ (const Tmat6< DT > &a, const DT d) |
Returns the component-wise division of matrix a by scalar d . More... | |
Variables | |
const MLint | _ML_STD_SLEN =64 |
Length of strings for component descriptions and class names. More... | |
ML_UTILS_EXPORT ErrorOutput | MLErrorOutput |
This is a singleton used for all ML Error input and output;. More... | |
ML_UTILS_EXPORT Notify | MLNotify |
Singleton which contains all registered callback functions of the ML. More... | |
template<template< class... > class Op, class... Args> | |
constexpr bool | is_detected_v = is_detected<Op, Args...>::value |
ML_UTILS_EXPORT TraceBuffer< MLGlobalTraceBufferType > | MLGlobalTraceBuffer |
This is a global singleton of the TraceBuffer class. More... | |
Values to be used in the setup of a TypedCalculateOutputImageHandler/TypedProcessAllPagesHandler | |
const int | MLVariableType0 = _ML_SWITCH_SELECT_OFFSET |
Defines to use the result type of variable type 0. More... | |
const int | MLVariableType1 = _ML_SWITCH_SELECT_OFFSET+1 |
Defines to use the result type of variable type 1. More... | |
const int | MLVariableType2 = _ML_SWITCH_SELECT_OFFSET+2 |
Defines to use the result type of variable type 2. More... | |
const int | MLVariableType3 = _ML_SWITCH_SELECT_OFFSET+3 |
Defines to use the result type of variable type 3. More... | |
const int | MLGenericType = _ML_SWITCH_SELECT_OFFSET+10 |
Defines special index to use a generic type. More... | |
Main documentation file for ML users and developers.
Template class for a 9D vector for floating point types, derived from FloatingPointVector.
Template class for a 8D vector for floating point types, derived from FloatingPointVector.
Template class for a 7D vector for floating point types, derived from FloatingPointVector.
Template class for a 64D vector for floating point types, derived from FloatingPointVector.
Template class for a 6D vector for floating point types, derived from FloatingPointVector.
Template class for a 5D vector for floating point types, derived from FloatingPointVector.
Template class for a 4D vector for floating point types, derived from FloatingPointVector.
Template class for a 32D vector for floating point types, derived from FloatingPointVector.
Template class for a 3D vector for floating point types, derived from FloatingPointVector.
Template class for a 2D vector for floating point types, derived from FloatingPointVector.
Template class for a 16D vector for floating point types, derived from FloatingPointVector.
Template class for a 10D vector for floating point types, derived from FloatingPointVector.
Defines a class to represent a Rotation.
Template class for quaternion numerics.
Defines a class to handle the geometry primitive 'Plane'.
Template class for a 6x6 matrix of 6 rows of Tvec6 vectors.
Template class for a 5x5 matrix of five rows of Tvec5 vectors.
Template class for a 4x4 matrix of four rows of Tvec4 vectors.
Template class for a 3x3 matrix of three rows of Tvec3 vectors.
Template class for a 2x2 matrix of two rows of Tvec2 vectors.
Template class for a 3x3 matrix of 3 rows of Tvec3 vectors.
Main documentation file for mlLinearAlgebra library.
Defines the geometry primitive "Line".
Template class TVector for integer types.
Template class TImageVector for 6D integer types and the specialization ImageVector, which is typically used in the ML as indexing and coordinate type.
Template base class for floating point matrices.
Platform independent class to manage a wait condition that can be used with a mutex to do signalling between threads.
Define the namespace name like in the ML. Default is ml
.
File containing the library documentation of project mlUtils.
Defines named constants for Unicode code points.
Class to manage a buffer for a stack and a list of string pointers for tracing debug and release code.
Class to measure precise time intervals in seconds.
Platform-independent class to manage a thread.
A switch()-like statement where the cases are string literals.
This file declares the class RuntimeType that contains runtime-generated type and inheritance information of associated classes.
This file declares the class RuntimeDict that manages a set of instances of class RuntimeTypes
.
This class contains the global runtime system of the ML.
RefCountedBase class that adds reference counting to Base.
Class to notify registered instances about ML changes.
Platform-independent class to manage a mutex for safe operations on code sections which must be used only by one thread at a time.
Singleton class that provides information about system memory.
Basic memory management class for the ML.
Implementation of basic cross-platform math routines.
This file defines the class ImagePropertyExtensionContainer
.
This file defines the class ImagePropertyExtension, used as a base class for extended image property objects that can be appended to the ImagePropertyExtensionContainer inside MedicalImageProperties.
Define EventSource class that adds event listener handling to Base and a BaseEvent class needed for that.
Information container for error, debug, or tracing information.
Central error handling and redirection class for the ML.
Defines the class DateTime
for processing date and time values.
Singleton class that provides information about CPU.
A light-weight shared constant string (not thread-safe!).
Gather compiler information.
Platform independent class to manage a barrier that is used to make a group of threads wait for each other.
Platform independent class to manage thread-safe atomic counting.
Template classes for storing up to five arguments in a ArgumentList and calling a method with a given argument list.
Defines an interface to access properties of the host application.
These abstract classes define an interface to allow the storing and restoring of structured objects.
Define template functions for converting values to/from string.
This file defines the class TSubImage to administrate/manage/access typed images or subimages, which reside in memory.
This abstract class defines an interface to allow the storing and restoring of complex objects.
Class to define a subimage region with Vector6 corners.
Define the template class TSubImageBox and the specialization SubImageBox.
This file defines the class SubImage to administrate/manage/access images or subimages which reside in memory.
This class provides static methods to convert ML objects to and from strings.
Template class to register the standard integer datatypes as voxel types in the ML.
Defines the class TScaleShiftData.
Defines the class ProcessAllPagesHandler.
Defines the class PageIDIterator.
Contains the class PagedImage, representing a fragmented image that manages properties and data of an image located in pages.
Some tools for Module programming.
Defines the class MemoryImage that manages memory mapped images in ML output connectors.
This file defines the classes ImageProperties and MedicalImageProperties.
Define classes for multi-valued fields.
Define a template class for multi-valued fields.
Defines the class InSubImageProps, a simple container for some properties that can be defined for an input subimage that is to be delivered to the corresponding call of the module's calculateOutputSubImage method.
This file defines the classes ImageProperties.
Defines the class Host for the processing of image processing graphs (see class PagedImage and Module).
Defines the class FieldSensor to realize the concept of field sensors that can observe fields.
Defines the base class Field from which many classes are derived, like StringField and IntField for unified access to image processing parameters of ML module subclasses.
Defined and implements an engine that is an ML module implementing only operations on fields.
This file contains definitions of input and output connectors for the mlModule class, which are necessary to connect ML modules.
Defines the class TileRequest.
Defines the class ProcessingTimeLine.
Defines the class ProcessAllPagesJob.
Defines the class.
Defines the class PageRequestCursor.
Defines the class PageRequest.
Defines the class GetTileJob.
Implements the classic host processing for getTile/processAllPages Thread-safety: This class is not thread-safe and should only be used from the main thread.
It contains source code documentation, release notes and known problems pages.
With field sensors, functions can be registered that shall be called when a corresponding field is modified.
Note that this file needs to be included explicitly, as it is part of the hidden C++ API of the ML. Do not use it, as it is part of the ML internals. If you need functionality, see the wrapped functionality in Module and PagedImage.
Thread-safety: This class is not thread-safe and should only be used from the main thread.
They describe properties of images and sometimes of subimages.
Note that this file needs to be included explicitly, as it is not part of mlModuleIncludes.h.
The image data can be partially available or not. This class has the following properties:
NOTE: Only one instance should be created of this class!
It represents a 6D box like image region defined by two 6D corner points.
The struct ErrorOutputInfos is passed to any call of a user registered function of type ErrorOutputCB
to notify about detailed debug, error, or other runtime information. It passes the registered userData pointer for the callback function, a completely composed information string for convenience, and a structure of type ErrorOutputInfos
to the function. The struct contains:
Objects/classes derived from the abstract class ImagePropertyExtension can be added to this container to define extensions of the MedicalimageProperties of an ML paged image.
This is a class where any instance can register itself with a callback. The callback will be called if any state flag in the ML changes. This way, these instances can update themselves if the ML changes. Note that the notify callbacks may be called from within any environment. This way, critical sections (to avoid parallel execution) could be active or field notifications could be disabled. For example, updating fields within such a callback may fail or critical sections could block. However, the caller should try to avoid that in general.
It manages a dictionary of runtime types, and it can create and remove runtime types. This class contains only static components and must be initialized with init() and destroyed with destroy() on ML initialization/destruction.
See also classes RuntimeType
and RuntimeDict
.
The class Runtime
uses one global instance of this class for the runtime type system of the ML.
See also classes Runtime
and RuntimeType
.
To track this information, the macros defined in RuntimeSubClass.h have to be inserted in the declaration and implementation of the associated classes.
The StringSwitch class is a simple form of a switch() statement that determines whether the given string matches one of the given string literals. The template type parameter T is the type of the value that will be returned from the string-switch expression. For example, the following code switches on the name of a color in argv[i]: (The code was taken from the LLVM project and modified for MBS's environment.)
Another class Trace to be used in tracing macros is also implemented here. Note:
Macro to put all following code into the namespace ml
to avoid collisions with symbols of other libraries. Use END_NAMESPACE_ML
to close the namespace. Closes the namespace for all ML code after the usage of ML_UTILS_START_NAMESPACE
.
Implementation of a Quaternion with common operations; for definition and examples see https://en.wikipedia.org/wiki/Quaternion as reference page. It is also the source of many comments.
typedef void ml::BaseEventCallback(void *, BaseEvent *) |
Definition at line 25 of file mlEventSource.h.
typedef void ml::CalculateOutputImagePropertiesCB(void *userData, PagedImage *outImage) |
Callback for the calculation of the output image properties for outputImage
.
Definition at line 27 of file mlModuleInterfaces.h.
using ml::default_executor = typedef detail::executor<execute_default> |
Definition at line 57 of file mlTaskSystem.h.
using ml::detected_t = typedef typename internal::detector<internal::nonesuch, void, Op, Args...>::type |
Definition at line 80 of file mlTemplateHelpers.h.
using ml::high_executor = typedef detail::executor<execute_high> |
Definition at line 58 of file mlTaskSystem.h.
typedef std::vector<ImagePropertyExtension*> ml::ImagePropertyExtensionVector |
Defines the STL container type of ImagePropertyExtension objects.
Definition at line 99 of file mlImagePropertyExtension.h.
typedef TImageVector<MLint> ml::ImageVector |
Defines the standard ImageVector type that is used by the ML for indexing and coordinates.
Definition at line 285 of file mlImageVector.h.
using ml::is_detected = typedef typename internal::detector<internal::nonesuch, void, Op, Args...>::value_t |
Definition at line 74 of file mlTemplateHelpers.h.
typedef boost::mutex::scoped_lock ml::Lock |
using ml::low_executor = typedef detail::executor<execute_low> |
Definition at line 56 of file mlTaskSystem.h.
typedef Tmat2<MLdouble> ml::Matrix2 |
The standard 2x2 matrix of type double.
Definition at line 518 of file mlMatrix2.h.
typedef Tmat2<MLdouble> ml::Matrix2d |
A 2x2 matrix of type double.
Definition at line 514 of file mlMatrix2.h.
typedef Tmat2<MLfloat> ml::Matrix2f |
A 2x2 matrix of type float.
Definition at line 512 of file mlMatrix2.h.
typedef Tmat2<MLldouble> ml::Matrix2ld |
A 2x2 matrix of type long double.
Definition at line 516 of file mlMatrix2.h.
typedef Tmat3<MLdouble> ml::Matrix3 |
The standard 3x3 matrix of type double.
Definition at line 711 of file mlMatrix3.h.
typedef Tmat3<MLdouble> ml::Matrix3d |
A 3x3 matrix of type double.
Definition at line 707 of file mlMatrix3.h.
typedef Tmat3<MLfloat> ml::Matrix3f |
A 3x3 matrix of type float.
Definition at line 705 of file mlMatrix3.h.
typedef Tmat3<MLldouble> ml::Matrix3ld |
A 3x3 matrix of type long double.
Definition at line 709 of file mlMatrix3.h.
typedef Tmat4<MLdouble> ml::Matrix4 |
The standard 4x4 matrix of type double.
Definition at line 713 of file mlMatrix4.h.
typedef Tmat4<MLdouble> ml::Matrix4d |
A 4x4 matrix of type double.
Definition at line 709 of file mlMatrix4.h.
typedef Tmat4<MLfloat> ml::Matrix4f |
A 4x4 matrix of type float.
Definition at line 707 of file mlMatrix4.h.
typedef Tmat4<MLldouble> ml::Matrix4ld |
A 4x4 matrix of type long double.
Definition at line 711 of file mlMatrix4.h.
typedef Tmat5<MLdouble> ml::Matrix5 |
The standard 5x5 matrix of type double.
Definition at line 705 of file mlMatrix5.h.
typedef Tmat5<MLdouble> ml::Matrix5d |
A 5x5 matrix of type double.
Definition at line 701 of file mlMatrix5.h.
typedef Tmat5<MLfloat> ml::Matrix5f |
A 5x5 matrix of type float.
Definition at line 699 of file mlMatrix5.h.
typedef Tmat5<MLldouble> ml::Matrix5ld |
A 5x5 matrix of type long double.
Definition at line 703 of file mlMatrix5.h.
typedef Tmat6<MLdouble> ml::Matrix6 |
The standard 6x6 matrix of type double.
Definition at line 636 of file mlMatrix6.h.
typedef Tmat6<MLdouble> ml::Matrix6d |
A 6x6 matrix of type double.
Definition at line 632 of file mlMatrix6.h.
typedef Tmat6<MLfloat> ml::Matrix6f |
A 6x6 matrix of type float.
Definition at line 630 of file mlMatrix6.h.
typedef Tmat6<MLldouble> ml::Matrix6ld |
A 6x6 matrix of type long double.
Definition at line 634 of file mlMatrix6.h.
typedef MLuint16 ml::MLGlobalTraceBufferType |
typedef TQuaternion<MLdouble> ml::Quaternion |
Defines the default Quaternion type that is used by the ML; it uses double as component type.
Definition at line 925 of file mlQuaternion.h.
typedef TQuaternion<MLdouble> ml::Quaterniond |
The default Quaternion type used in the ML as a specialization from TQuaternion.
Definition at line 919 of file mlQuaternion.h.
typedef TQuaternion<MLfloat> ml::Quaternionf |
A smaller Quaternion type as a specialization from TQuaternion.
Definition at line 916 of file mlQuaternion.h.
typedef TQuaternion<MLldouble> ml::Quaternionld |
A large Quaternion type for further extensions of the ML as a specialization from TQuaternion.
Definition at line 922 of file mlQuaternion.h.
typedef boost::recursive_mutex::scoped_lock ml::RecursiveLock |
typedef TScaleShiftData<MLdouble> ml::ScaleShiftData |
Double version of TScaleShiftData for maximum reasonable precision.
Definition at line 326 of file mlScaleShiftData.h.
typedef TSubImageBox<MLint> ml::SubImageBox |
Defines the standard SubImageBox type used in the ML. Its size varies with the size of the MLint type.
Definition at line 255 of file mlSubImageBox.h.
typedef boost::thread ml::Thread |
Definition at line 26 of file mlThread.h.
typedef void ml::TileRequestFinishedCB(void *data, TileRequest *request) |
Callback for a finished TileRequest.
Definition at line 34 of file mlTileRequest.h.
typedef NotifyField ml::TriggerField |
TriggerField is an alias for the NotifyField, which is easier to find for Open Inventor users who are used to the 'SoSFTrigger' field.
Definition at line 626 of file mlFields.h.
typedef Tvec10<MLdouble> ml::Vector10 |
A vector with ten components of type double.
Definition at line 103 of file mlVector10.h.
typedef Tvec10<MLdouble> ml::Vector10d |
A vector with ten components of type double.
Definition at line 99 of file mlVector10.h.
typedef Tvec10<MLfloat> ml::Vector10f |
A vector with ten components of type float.
Definition at line 97 of file mlVector10.h.
typedef Tvec10<MLldouble> ml::Vector10ld |
A vector with ten components of type long double.
Definition at line 101 of file mlVector10.h.
typedef Tvec16<MLdouble> ml::Vector16 |
A vector with 16 components of type double.
Definition at line 110 of file mlVector16.h.
typedef Tvec16<MLdouble> ml::Vector16d |
A vector with 16 components of type double.
Definition at line 106 of file mlVector16.h.
typedef Tvec16<MLfloat> ml::Vector16f |
A vector with 16 components of type float.
Definition at line 104 of file mlVector16.h.
typedef Tvec16<MLldouble> ml::Vector16ld |
A vector with 16 components of type long double.
Definition at line 108 of file mlVector16.h.
typedef Tvec2<MLdouble> ml::Vector2 |
A vector with two components of type double.
Definition at line 159 of file mlVector2.h.
typedef Tvec2<MLdouble> ml::Vector2d |
A vector with two components of type double.
Definition at line 155 of file mlVector2.h.
typedef Tvec2<MLfloat> ml::Vector2f |
A vector with two components of type float.
Definition at line 153 of file mlVector2.h.
typedef Tvec2<MLldouble> ml::Vector2ld |
A vector with two components of type long double.
Definition at line 157 of file mlVector2.h.
typedef Tvec3<MLdouble> ml::Vector3 |
A vector with three components of type double.
Definition at line 286 of file mlVector3.h.
typedef Tvec32<MLdouble> ml::Vector32 |
A vector with 32 components of type double.
Definition at line 134 of file mlVector32.h.
typedef Tvec32<MLdouble> ml::Vector32d |
A vector with 32 components of type double.
Definition at line 130 of file mlVector32.h.
typedef Tvec32<MLfloat> ml::Vector32f |
A vector with 32 components of type float.
Definition at line 128 of file mlVector32.h.
typedef Tvec32<MLldouble> ml::Vector32ld |
A vector with 32 components of type long double.
Definition at line 132 of file mlVector32.h.
typedef Tvec3<MLdouble> ml::Vector3d |
A vector with three components of type double.
Definition at line 282 of file mlVector3.h.
typedef Tvec3<MLfloat> ml::Vector3f |
A vector with three components of type float.
Definition at line 280 of file mlVector3.h.
typedef Tvec3<MLldouble> ml::Vector3ld |
A vector with three components of type long double.
Definition at line 284 of file mlVector3.h.
typedef Tvec4<MLdouble> ml::Vector4 |
A vector with four components of type double.
Definition at line 162 of file mlVector4.h.
typedef Tvec4<MLdouble> ml::Vector4d |
A vector with four components of type double.
Definition at line 158 of file mlVector4.h.
typedef Tvec4<MLfloat> ml::Vector4f |
A vector with four components of type float.
Definition at line 156 of file mlVector4.h.
typedef Tvec4<MLldouble> ml::Vector4ld |
A vector with four components of type long double.
Definition at line 160 of file mlVector4.h.
typedef Tvec5<MLdouble> ml::Vector5 |
A vector with five components of type double.
Definition at line 207 of file mlVector5.h.
typedef Tvec5<MLdouble> ml::Vector5d |
A vector with five components of type double.
Definition at line 203 of file mlVector5.h.
typedef Tvec5<MLfloat> ml::Vector5f |
A vector with five components of type float.
Definition at line 201 of file mlVector5.h.
typedef Tvec5<MLldouble> ml::Vector5ld |
A vector with five components of type long double.
Definition at line 205 of file mlVector5.h.
typedef Tvec6<MLdouble> ml::Vector6 |
A vector with six components of type double.
Definition at line 194 of file mlVector6.h.
typedef Tvec64<MLdouble> ml::Vector64 |
A vector with 64 components of type double.
Definition at line 159 of file mlVector64.h.
typedef Tvec64<MLdouble> ml::Vector64d |
A vector with 64 components of type double.
Definition at line 155 of file mlVector64.h.
typedef Tvec64<MLfloat> ml::Vector64f |
A vector with 64 components of type float.
Definition at line 153 of file mlVector64.h.
typedef Tvec64<MLldouble> ml::Vector64ld |
A vector with 64 components of type long double.
Definition at line 157 of file mlVector64.h.
typedef Tvec6<MLdouble> ml::Vector6d |
A vector with six components of type double.
Definition at line 190 of file mlVector6.h.
typedef Tvec6<MLfloat> ml::Vector6f |
A vector with six components of type float.
Definition at line 188 of file mlVector6.h.
typedef Tvec6<MLldouble> ml::Vector6ld |
A vector with six components of type long double.
Definition at line 192 of file mlVector6.h.
typedef Tvec7<MLdouble> ml::Vector7 |
A vector with seven components of type double.
Definition at line 98 of file mlVector7.h.
typedef Tvec7<MLdouble> ml::Vector7d |
A vector with seven components of type double.
Definition at line 94 of file mlVector7.h.
typedef Tvec7<MLfloat> ml::Vector7f |
A vector with seven components of type float.
Definition at line 92 of file mlVector7.h.
typedef Tvec7<MLldouble> ml::Vector7ld |
A vector with seven components of type long double.
Definition at line 96 of file mlVector7.h.
typedef Tvec8<MLdouble> ml::Vector8 |
A vector with eight components of type double.
Definition at line 99 of file mlVector8.h.
typedef Tvec8<MLdouble> ml::Vector8d |
A vector with eight components of type double.
Definition at line 95 of file mlVector8.h.
typedef Tvec8<MLfloat> ml::Vector8f |
A vector with eight components of type float.
Definition at line 93 of file mlVector8.h.
typedef Tvec8<MLldouble> ml::Vector8ld |
A vector with eight components of type long double.
Definition at line 97 of file mlVector8.h.
typedef Tvec9<MLdouble> ml::Vector9 |
A vector with nine components of type double.
Definition at line 102 of file mlVector9.h.
typedef Tvec9<MLdouble> ml::Vector9d |
A vector with nine components of type double.
Definition at line 98 of file mlVector9.h.
typedef Tvec9<MLfloat> ml::Vector9f |
A vector with nine components of type float.
Definition at line 96 of file mlVector9.h.
typedef Tvec9<MLldouble> ml::Vector9ld |
A vector with nine components of type long double.
Definition at line 100 of file mlVector9.h.
typedef int ml::VectorDimIdxType |
Signed integer type used as count and index type to traverse the array of the TVector.
Definition at line 29 of file mlIntegerVector.h.
anonymous enum |
TreeNode exceptions.
They have been placed outside of the class to prevent the user from having to add TreeNodeException:: at the beginning of each code. Do not forget to edit the array TreeNodeException::_stdErrorMsg[] when modifying the enum!
Definition at line 41 of file mlTreeNode.h.
anonymous enum |
Enumerator | |
---|---|
ML_INTEGER_TYPE | |
ML_FLOAT_TYPE | |
ML_SIGNED_TYPE |
Definition at line 84 of file mlTypeTraits.h.
anonymous enum |
The default dimension of images in the ML.
Enumerator | |
---|---|
MLMaxImageDimension |
Definition at line 29 of file mlImageVector.h.
|
inline |
Definition at line 120 of file mlTypeDefTraits.h.
Referenced by ml::Tmat3< DT >::jacobi().
|
constexpr |
Definition at line 43 of file mlNumericHelpers.h.
|
inline |
Returns a new vector with all components from vec
clamped to range [lower, upper].
Note that this does not hold if components in lower are greater than their corresponding ones in upper. See FloatingPointVector<T, size, DataContainer>::clamp().
Definition at line 523 of file mlFloatingPointVector.h.
|
inline |
Returns a new vector with all components from vec
clamped to maximum m
.
See FloatingPointVector<T, size, DataContainer>::clampMax().
Definition at line 508 of file mlFloatingPointVector.h.
|
inline |
Returns a new vector with all components from vec
clamped to minimum m
.
See FloatingPointVector<T, size, DataContainer>::clampMin().
Definition at line 495 of file mlFloatingPointVector.h.
|
inline |
Returns a vector with all components from vec
without negative sign.
Definition at line 447 of file mlFloatingPointVector.h.
Referenced by ml::TVector< TVectorBase >::compAbs().
|
inline |
Component-wise division of vec
/ d
.
Division by zeros are not handled and must be avoided by caller.
Definition at line 482 of file mlFloatingPointVector.h.
|
inline |
Component-wise maximum of buffer1
and buffer2
.
Definition at line 435 of file mlFloatingPointVector.h.
Referenced by ml::SubImageBoxd::clamp(), ml::TSubImageBox< intT >::clamp(), ml::TVector< TVectorBase >::compMax(), ml::SubImageBoxd::intersect(), ml::TSubImageBox< intT >::intersect(), and ml::TSubImageBox< intT >::merge().
|
inline |
Component-wise minimum of buffer1
and buffer2
.
Definition at line 423 of file mlFloatingPointVector.h.
Referenced by ml::SubImageBoxd::clamp(), ml::TSubImageBox< intT >::clamp(), ml::TVector< TVectorBase >::compMin(), ml::SubImageBoxd::intersect(), ml::TSubImageBox< intT >::intersect(), and ml::TSubImageBox< intT >::merge().
|
inline |
Returns the product of all components.
Definition at line 537 of file mlFloatingPointVector.h.
Referenced by ml::TVector< TVectorBase >::compMul(), ml::ImageProperties::getNumVoxels(), and ml::TSubImageBox< intT >::getNumVoxels().
|
inline |
Returns a vector with all components from vec
squared.
Definition at line 458 of file mlFloatingPointVector.h.
|
inline |
Returns a vector with all components from vec
square-rooted.
Definition at line 470 of file mlFloatingPointVector.h.
|
constexpr |
Definition at line 25 of file mlNumericHelpers.h.
ML_UTILS_EXPORT std::string ml::convertToUTF8String | ( | const std::wstring & | text | ) |
ML_UTILS_EXPORT std::string ml::convertToUTF8String | ( | const wchar_t * | text | ) |
ML_UTILS_EXPORT std::wstring ml::convertUTF8ToWString | ( | const char * | text | ) |
ML_UTILS_EXPORT std::wstring ml::convertUTF8ToWString | ( | const std::string & | text | ) |
TSubImageVariant<T...> ml::createTSubImageVariant | ( | const SubImage * | subImage | ) |
Creates from the provided SubImage a variant of any of the provided types T containing the TSubImage<T>.
Example:
image | The input SubImage |
Definition at line 242 of file mlTSubImageVariant.h.
TSubImageVariantArray<N, T...> ml::createTSubImageVariantArray | ( | const SubImage * | inputs | ) |
Creates from input SubImages an array of variant of any of the provided types T containing the TSubImage<T>.
Example:
input | A C-array of size N of valid input pointers |
Definition at line 316 of file mlTSubImageVariant.h.
TSubImageVariantArrayPair<N, T...> ml::createTSubImageVariantArrayPair | ( | SubImage & | output, |
const SubImage * | inputs | ||
) |
Creates from the provided output and input SubImages a variant of a pair of TSubImage and array of TSubImages. Input and output types are always the same.
Example:
output | The output image |
input | A C-array of size N of valid input pointers |
Definition at line 355 of file mlTSubImageVariant.h.
References ml::SubImage::getDataType().
TSubImageVariantPair<T...> ml::createTSubImageVariantPair | ( | SubImage & | output, |
const SubImage * | input | ||
) |
Creates from the provided output and input SubImage a variant of any of the provided types T containing the TSubImage<T>. The input and output voxel types are always the same.
Example:
output | The output SubImage |
input | A valid pointer to a single input image |
Definition at line 276 of file mlTSubImageVariant.h.
void ML_UTILS_EXPORT ml::execute_default | ( | stlab::task< void()> | f | ) |
void ML_UTILS_EXPORT ml::execute_high | ( | stlab::task< void()> | f | ) |
void ML_UTILS_EXPORT ml::execute_low | ( | stlab::task< void()> | f | ) |
void ml::flatten | ( | const tree_node< T > & | tree, |
std::vector< T > & | flatten_elements | ||
) |
Definition at line 33 of file mlContainers.h.
References ml::tree_node< T >::children, and ml::tree_node< T >::value.
|
inline |
Definition at line 179 of file mlConstantString.h.
References ml::ConstantString::getHash().
Tmat3<DT> ml::identity2D | ( | ) |
Returns a 3x3 homogeneous identity2D matrix; synonym for Tmat3<DT>::getIdentity().
Definition at line 502 of file mlMatrix3.h.
Tmat4<DT> ml::identity3D | ( | ) |
Returns a 4x4 homogeneous identity3D matrix; synonym for Tmat4<DT>::getIdentity().
Definition at line 597 of file mlMatrix4.h.
void ml::insert_set_sorted | ( | tree_node< T > & | tree, |
T | newValue, | ||
T | zero = {} |
||
) |
Definition at line 51 of file mlContainers.h.
|
inline |
Definition at line 67 of file mlRefCountedBase.h.
|
inline |
Definition at line 72 of file mlRefCountedBase.h.
ML_UTILS_EXPORT int ml::iround | ( | double | x | ) |
ML_UTILS_EXPORT int ml::iroundf | ( | float | x | ) |
|
constexpr |
Definition at line 41 of file mlContainerHelpers.h.
Referenced by std::operator>>(), and ml::FloatingPointVector< T, size, DataContainer >::readIn().
|
constexpr |
Definition at line 231 of file mlContainerHelpers.h.
|
constexpr |
Definition at line 191 of file mlContainerHelpers.h.
void ML_UTILS_EXPORT ml::logTypeComponentsFromStringError | ( | const char * | function | ) |
Referenced by ml::MLTStdTypeInfos< VTYP >::MLTYPE_setStringValue().
ML_UTILS_EXPORT long ml::lround | ( | double | x | ) |
ML_UTILS_EXPORT long ml::lroundf | ( | float | x | ) |
T ml::mlAbs | ( | T | a | ) |
Defines ML specific abs
template since only type-dependent library functions exists.
Definition at line 84 of file mlUtilsSystem.h.
void ml::MLCallMethodWithArguments | ( | Object * | object, |
Method | method, | ||
const ArgumentList0 & | |||
) |
Calls a method on given object with zero arguments.
Definition at line 108 of file mlArgumentList.h.
void ml::MLCallMethodWithArguments | ( | Object * | object, |
Method | method, | ||
const ArgumentList1< Arg1 > & | args | ||
) |
Calls a method on given object with one argument.
Definition at line 113 of file mlArgumentList.h.
References ml::ArgumentList1< Arg1 >::_arg1.
void ml::MLCallMethodWithArguments | ( | Object * | object, |
Method | method, | ||
const ArgumentList2< Arg1, Arg2 > & | args | ||
) |
Calls a method on given object with two arguments.
Definition at line 118 of file mlArgumentList.h.
References ml::ArgumentList2< Arg1, Arg2 >::_arg1, and ml::ArgumentList2< Arg1, Arg2 >::_arg2.
void ml::MLCallMethodWithArguments | ( | Object * | object, |
Method | method, | ||
const ArgumentList3< Arg1, Arg2, Arg3 > & | args | ||
) |
Calls a method on given object with three arguments.
Definition at line 124 of file mlArgumentList.h.
References ml::ArgumentList3< Arg1, Arg2, Arg3 >::_arg1, ml::ArgumentList3< Arg1, Arg2, Arg3 >::_arg2, and ml::ArgumentList3< Arg1, Arg2, Arg3 >::_arg3.
void ml::MLCallMethodWithArguments | ( | Object * | object, |
Method | method, | ||
const ArgumentList4< Arg1, Arg2, Arg3, Arg4 > & | args | ||
) |
Calls a method on given object with four arguments.
Definition at line 129 of file mlArgumentList.h.
References ml::ArgumentList4< Arg1, Arg2, Arg3, Arg4 >::_arg1, ml::ArgumentList4< Arg1, Arg2, Arg3, Arg4 >::_arg2, ml::ArgumentList4< Arg1, Arg2, Arg3, Arg4 >::_arg3, and ml::ArgumentList4< Arg1, Arg2, Arg3, Arg4 >::_arg4.
void ml::MLCallMethodWithArguments | ( | Object * | object, |
Method | method, | ||
const ArgumentList5< Arg1, Arg2, Arg3, Arg4, Arg5 > & | args | ||
) |
Calls a method on given object with five arguments.
Definition at line 134 of file mlArgumentList.h.
References ml::ArgumentList5< Arg1, Arg2, Arg3, Arg4, Arg5 >::_arg1, ml::ArgumentList5< Arg1, Arg2, Arg3, Arg4, Arg5 >::_arg2, ml::ArgumentList5< Arg1, Arg2, Arg3, Arg4, Arg5 >::_arg3, ml::ArgumentList5< Arg1, Arg2, Arg3, Arg4, Arg5 >::_arg4, and ml::ArgumentList5< Arg1, Arg2, Arg3, Arg4, Arg5 >::_arg5.
|
inline |
Creates argument list with zero arguments.
Definition at line 80 of file mlArgumentList.h.
|
inline |
Create argument list with one argument.
Definition at line 84 of file mlArgumentList.h.
|
inline |
Creates argument list with two arguments.
Definition at line 89 of file mlArgumentList.h.
|
inline |
Creates argument list with three arguments.
Definition at line 93 of file mlArgumentList.h.
|
inline |
Creates argument list with four arguments.
Definition at line 98 of file mlArgumentList.h.
|
inline |
Creates argument list with five arguments.
Definition at line 102 of file mlArgumentList.h.
MLEXPORT void ml::MLInitFields | ( | ) |
Initialize all standard fields of the ML.
MLEXPORT void ml::MLInitListFields | ( | ) |
Initialize all multi-fields of the ML.
BASE_TYPE ml::MLInverseMatHelper | ( | const BASE_TYPE & | origMat, |
bool * | isInvertible, | ||
const typename BASE_TYPE::ComponentType | , | ||
const char *const | ZeroDetErrString, | ||
const BASE_TYPE & | Identity, | ||
const size_t | Dim | ||
) |
Computes an N dimensional inverse from given default parameters.
The used algorithm is the Gauss-Jordan elimination with partial pivoting.
origMat | The matrix to be inverted. |
isInvertible | If a non-NULL boolean pointer is passed to isInvertible, then true is returned in *isInvertible in the case of a successful inversion or false if the inversion is not possible (function returns the identity then). If a NULL pointer is passed as isInvertible, the matrix must be invertible; otherwise, errors will occur. |
ZeroEpsilon | Unused. Former versions used this as an epsilon value to compare to decide whether the determinant is zero. Now, an MLValueIs0WOM check is used. |
ZeroDetErrString | Error to be posted if isInvertible is NULL and inverse cannot be calculated. |
Identity | Identity to be returned in case of errors. |
Dim | The dimension of the matrix. |
Definition at line 60 of file mlLinearAlgebraTools.h.
References ML_BAD_PARAMETER, MLAbs(), MLSwap(), MLValueIs0WOM(), and printTemplateError().
Referenced by ml::Tmat3< DT >::inverse(), ml::Tmat4< DT >::inverse(), ml::Tmat5< DT >::inverse(), and ml::Tmat6< DT >::inverse().
T ml::mlMax | ( | T | a, |
T | b | ||
) |
Defines ML specific max
template since max
template is platform-dependent.
See also ML_MIN
and ML_MAX
macros in mlTypeDefs.h.
Definition at line 75 of file mlUtilsSystem.h.
T ml::mlMin | ( | T | a, |
T | b | ||
) |
Defines ML specific min
template since min
template is platform-dependent.
See also ML_MIN
and ML_MAX
macros in mlTypeDefs.h.
Definition at line 71 of file mlUtilsSystem.h.
void ml::MLSwap | ( | OBJ_TYPE & | obj1, |
OBJ_TYPE & | obj2 | ||
) |
Swaps two objects obj1
and obj2
.
It requires valid assignment operators on OBJ_TYP.
Definition at line 33 of file mlLinearAlgebraTools.h.
Referenced by MLInverseMatHelper().
|
inline |
Returns whether all components are 0.
Definition at line 326 of file mlFloatingPointVector.h.
|
inline |
a != b ? Returns true
if yes.
Definition at line 433 of file mlMatrix2.h.
|
inline |
a != b ? Return true
if yes; otherwise, it returns false
.
Definition at line 486 of file mlMatrix3.h.
|
inline |
a != b ? Returns true
if yes.
Definition at line 376 of file mlMatrix4.h.
|
inline |
a != b ? Returns true
if yes; otherwise, it returns false
.
Definition at line 686 of file mlMatrix5.h.
bool ml::operator!= | ( | const Tmat6< DT > & | a, |
const Tmat6< DT > & | b | ||
) |
a != b ? Returns true
if yes; otherwise, it returns false
.
Definition at line 596 of file mlMatrix6.h.
Returns the component-wise multiplication of scalar d
with matrix a
.
Definition at line 474 of file mlMatrix2.h.
Returns the component-wise multiplication of scalar d
with matrix a
.
Definition at line 302 of file mlMatrix3.h.
Returns the component-wise multiplication of scalar d
with matrix a
.
Definition at line 417 of file mlMatrix4.h.
Returns the component-wise product of scalar d
with matrix a
.
Definition at line 338 of file mlMatrix5.h.
Returns the component-wise product of scalar d
with matrix a
.
Definition at line 335 of file mlMatrix6.h.
|
inline |
Dot product, returns a.dot(b).
Definition at line 383 of file mlFloatingPointVector.h.
Referenced by ml::ContainerProxy< T, R, I, Count, Access >::iterator::operator->().
Definition at line 414 of file mlMatrix2.h.
References _ML_MAT2_RC.
Normal multiplication of 2x2 matrix a with 2D vector v
with a Tvec2as result.
Definition at line 492 of file mlMatrix2.h.
Returns the component-wise multiplication of matrix a
with scalar d
.
Definition at line 467 of file mlMatrix2.h.
Returns the component-wise multiplication of matrix a
with scalar d
.
Definition at line 295 of file mlMatrix3.h.
|
inline |
Normal multiplication of 3x3 matrix a with 3D vector v
with a Tvec3 as result.
Definition at line 216 of file mlVector3.h.
Returns the component-wise multiplication of matrix a
with scalar d
.
Definition at line 410 of file mlMatrix4.h.
a * b.
Standard matrix multiplication.
Definition at line 352 of file mlMatrix4.h.
References _ML_MAT4_RC.
|
inline |
Interprets v
as a 4D homogeneous point, multiplies the 4x4 matrix M with it, and returns a Tvec3 after normalizing the result by dividing by the fourth component.
It is up to the caller to guarantee that matrix a
multiplied with a homogeneous 4D point results in a homogeneous point to avoid divisions by zero on normalizing the result.
Definition at line 242 of file mlVector3.h.
References ml::Tvec3< DT >::affinePoint().
Multiplies 4x4 matrix a with vector v
.
Definition at line 135 of file mlVector4.h.
References _ML_VEC4_RC.
Returns the component-wise product of matrix a
with scalar d
.
Definition at line 331 of file mlMatrix5.h.
Multiplies 5x5 matrix a
with vector v
.
Definition at line 180 of file mlVector5.h.
References _ML_VEC5_RC.
Returns the component-wise product of matrix a
with scalar d
.
Definition at line 328 of file mlMatrix6.h.
Multiplies 6x6 matrix a
with vector v
.
Definition at line 607 of file mlMatrix6.h.
References _ML_MAT6_RC.
Normal multiplication of 2D vector v
with 2x2 matrix with a Tvec2as result.
Definition at line 500 of file mlMatrix2.h.
References ml::Tmat2< DT >::transpose().
|
inline |
Normal multiplication of 3D vector v
with 3x3 matrix with a Tvec3 as result.
Definition at line 228 of file mlVector3.h.
References ml::Tmat3< DT >::transpose().
|
inline |
Interprets v
as a 4D homogeneous point, multiplies it with the 4x4 matrix M, and returns a Tvec3 after normalizing the result by dividing by the fourth component.
It is up to the caller to guarantee that matrix a
multiplied with a homogeneous 4D point results in a homogeneous point to avoid divisions by zero on normalizing the result.
Definition at line 257 of file mlVector3.h.
References ml::Tmat4< DT >::transpose().
Multiplies vector v
with 4x4 matrix a
.
Definition at line 145 of file mlVector4.h.
References ml::Tmat4< DT >::transpose().
Multiplies vector v
with 5x5 matrix a
.
Definition at line 190 of file mlVector5.h.
References ml::Tmat5< DT >::transpose().
Multiplies vector v
with 6x6 matrix a
.
Definition at line 617 of file mlMatrix6.h.
References ml::Tmat6< DT >::transpose().
|
inline |
Component-wise multiplication of lhs
with rhs
.
Definition at line 393 of file mlFloatingPointVector.h.
|
inline |
Component-wise multiplication of rhs
with lhs
.
Definition at line 403 of file mlFloatingPointVector.h.
|
inline |
Arithmetic assignment: Component-wise multiplication *this with a vector of the same size.
Definition at line 285 of file mlFloatingPointVector.h.
|
inline |
Arithmetic assignment: Component-wise multiplication *this with specialized MLdouble scalar value.
Definition at line 274 of file mlFloatingPointVector.h.
|
inline |
Unary plus, for completeness and for those who really want to use that.
Definition at line 360 of file mlFloatingPointVector.h.
Returns the component-wise sum of matrix a
and matrix b
.
Definition at line 453 of file mlMatrix2.h.
Returns the component-wise sum of matrix a
and matrix b
.
Definition at line 281 of file mlMatrix3.h.
Returns the component-wise sum of matrix a
and matrix b
.
Definition at line 396 of file mlMatrix4.h.
Returns the component-wise sum of matrix a
and matrix b
.
Definition at line 317 of file mlMatrix5.h.
Returns the component-wise sum of matrix a
and matrix b
.
Definition at line 314 of file mlMatrix6.h.
|
inline |
Return value is the component-wise addition of lhs
and rhs
.
Definition at line 338 of file mlFloatingPointVector.h.
|
inline |
Arithmetic assignment: Component-wise addition.
Definition at line 252 of file mlFloatingPointVector.h.
|
inline |
Unary minus, all components of the vector are multiplied with -1.
Definition at line 371 of file mlFloatingPointVector.h.
Returns a matrix a with all values negated.
Definition at line 446 of file mlMatrix2.h.
Returns the component-wise difference of matrix a
and matrix b
.
Definition at line 460 of file mlMatrix2.h.
Returns a matrix a with all values negated.
Definition at line 274 of file mlMatrix3.h.
Returns the component-wise difference of matrix a
and matrix b
.
Definition at line 288 of file mlMatrix3.h.
Returns the matrix a
with all values negated.
Definition at line 389 of file mlMatrix4.h.
Returns the component-wise difference of matrix a
and matrix b
.
Definition at line 403 of file mlMatrix4.h.
Returns a matrix a with all values negated.
Definition at line 310 of file mlMatrix5.h.
Returns the component-wise difference of matrix a
and matrix b
.
Definition at line 324 of file mlMatrix5.h.
Returns a matrix a with all values negated.
Definition at line 307 of file mlMatrix6.h.
Returns the component-wise difference of matrix a
and matrix b
.
Definition at line 321 of file mlMatrix6.h.
|
inline |
Return value is the component-wise subtraction of rhs
from lhs
.
Definition at line 349 of file mlFloatingPointVector.h.
|
inline |
Arithmetic assignment: Component-wise subtraction of buffer from *this.
Definition at line 263 of file mlFloatingPointVector.h.
Returns the component-wise division of matrix a by scalar d
.
Division by zero is not handled and must be avoided by caller.
Definition at line 482 of file mlMatrix2.h.
Returns the component-wise division of matrix a
by scalar d
.
Division by zero is not handled and must be avoided by caller.
Definition at line 310 of file mlMatrix3.h.
Returns the component-wise division of matrix a by scalar d
.
Division by zero is not handled and must be avoided by caller.
Definition at line 425 of file mlMatrix4.h.
Returns the component-wise division of matrix a
by scalar d
.
Division by zero is not handled and must be avoided by caller.
Definition at line 346 of file mlMatrix5.h.
References ML_CHECK_FLOAT_THROW.
Returns the component-wise division of matrix a
by scalar d
.
Division by zero is not handled and must be avoided by caller.
Definition at line 343 of file mlMatrix6.h.
References ML_CHECK_FLOAT_THROW.
|
inline |
Component-wise division of lhs
by specialized rhs
of type MLdouble.
Definition at line 413 of file mlFloatingPointVector.h.
|
inline |
Arithmetic assignment: Component-wise division of *this by the values of a vector of the same size.
Division by zero is not handled and must be avoided by user.
Definition at line 312 of file mlFloatingPointVector.h.
|
inline |
Arithmetic assignment: Component-wise division of *this by scalar value.
Division by zero is not handled and must be avoided by user.
Definition at line 297 of file mlFloatingPointVector.h.
a == b ? Returns true
if yes.
Definition at line 425 of file mlMatrix2.h.
Referenced by ml::SubImageBoxd::operator!=(), and ml::TQuaternion< DT >::operator!=().
a == b ? Return true
if yes; otherwise, it returns false
.
Definition at line 475 of file mlMatrix3.h.
a == b ? Returns true
if yes.
Definition at line 366 of file mlMatrix4.h.
a == b ? Returns true
if yes; otherwise, it returns false
.
Definition at line 673 of file mlMatrix5.h.
a == b ? Returns true
if yes; otherwise, it returns false
.
Definition at line 582 of file mlMatrix6.h.
|
inline |
Returns a vector orthogonal to a
and b
.
Definition at line 268 of file mlVector3.h.
ml::Overload | ( | Ts... | ) | -> Overload< Ts... > |
|
inline |
Creates a 4x4 homogeneous perspective projection matrix with perspective shortening value given by d
that must differ from zero to avoid errors.
Definition at line 661 of file mlMatrix4.h.
References ML_CHECK_FLOAT_THROW.
void ML_UTILS_EXPORT ml::pre_exit | ( | ) |
void ML_UTILS_EXPORT ml::printTemplateError | ( | const char * | location, |
MLErrorCode | reason, | ||
const std::string_view & | handling | ||
) |
Referenced by ml::TQuaternion< DT >::arg(), ml::TQuaternion< DT >::div(), ml::TQuaternion< DT >::getAsMat4(), ml::Tmat2< DT >::inverse(), ml::TQuaternion< DT >::inverse(), ml::FloatingPointMatrix< VectorT, size >::linearIndexed(), ml::FloatingPointMatrix< VectorT, size >::linearIndexedConst(), MLInverseMatHelper(), ml::TQuaternion< DT >::normalize(), ml::FloatingPointMatrix< VectorT, size >::operator[](), ml::TQuaternion< DT >::sqrt(), and ml::Tvec3< DT >::Tvec3().
void ML_UTILS_EXPORT ml::printTemplateFatalError | ( | const char * | location, |
MLErrorCode | reason, | ||
const std::string_view & | handling | ||
) |
void ML_UTILS_EXPORT ml::printTemplateWarning | ( | const char * | location, |
MLErrorCode | reason, | ||
const std::string_view & | handling | ||
) |
Returns a 2D rotation matrix as 3D homogeneous matrix where center specifies the center of rotation.
Definition at line 524 of file mlMatrix3.h.
Returns a 4x4 homogeneous 3D rotation matrix describing a rotation with angle angleRad
around axis Axis
.
Definition at line 621 of file mlMatrix4.h.
References ml::FloatingPointVector< T, size, DataContainer >::normalize().
ML_UTILS_EXPORT double ml::round | ( | double | x | ) |
ML_UTILS_EXPORT float ml::roundf | ( | float | x | ) |
Returns a 2D scale matrix as 3D homogeneous matrix.
Definition at line 539 of file mlMatrix3.h.
Scaling 3D.
Definition at line 647 of file mlMatrix4.h.
Returns a 2D translation matrix as 3D homogeneous matrix where the translation is located in the right column.
Definition at line 512 of file mlMatrix3.h.
Returns a 4x4 homogeneous translation matrix with default identity matrix contents and the upper three components in right column given by 3D vector v
.
Definition at line 608 of file mlMatrix4.h.
Definition at line 1147 of file mlTSubImage.h.
References ml::SubImage::getData(), ml::SubImage::getDataType(), ML_BAD_DATA_TYPE, and ML_PRINT_FATAL_ERROR.
Definition at line 1171 of file mlTSubImage.h.
References ml::SubImage::getData(), ml::SubImage::getDataType(), ML_BAD_DATA_TYPE, and ML_PRINT_FATAL_ERROR.
Definition at line 1135 of file mlTSubImage.h.
References ml::SubImage::getData(), ml::SubImage::getDataType(), ML_BAD_DATA_TYPE, and ML_PRINT_FATAL_ERROR.
Definition at line 1159 of file mlTSubImage.h.
References ml::SubImage::getData(), ml::SubImage::getDataType(), ML_BAD_DATA_TYPE, and ML_PRINT_FATAL_ERROR.
|
inline |
Helper template that searches for value
in given vector vec
and returns whether it was found.
Definition at line 27 of file mlStdAlgorithms.h.
|
inline |
Helper template that removes the first occurrence of value
in given vector vec
and returns whether it was found.
Definition at line 33 of file mlStdAlgorithms.h.
|
inline |
Helper template that removes all occurrences of value
in given vector vec
.
Definition at line 45 of file mlStdAlgorithms.h.
|
inline |
Helper template that replaces the first occurrence of value
in given vector vec
with NULL and returns whether it was found.
Definition at line 58 of file mlStdAlgorithms.h.
const MLint ml::_ML_STD_SLEN =64 |
Length of strings for component descriptions and class names.
Definition at line 33 of file mlStdTypeInfos.h.
|
constexpr |
Definition at line 77 of file mlTemplateHelpers.h.
|
extern |
This is a singleton used for all ML Error input and output;.
const int ml::MLGenericType = _ML_SWITCH_SELECT_OFFSET+10 |
Defines special index to use a generic type.
Definition at line 61 of file mlTypedHandlers.h.
|
extern |
This is a global singleton of the TraceBuffer class.
It is used by all ML_TRACE_IN macros in the ML and by ErrorOutput class for dumping in error cases.
|
extern |
Singleton which contains all registered callback functions of the ML.
const int ml::MLVariableType0 = _ML_SWITCH_SELECT_OFFSET |
Defines to use the result type of variable type 0.
Definition at line 53 of file mlTypedHandlers.h.
const int ml::MLVariableType1 = _ML_SWITCH_SELECT_OFFSET+1 |
Defines to use the result type of variable type 1.
Definition at line 55 of file mlTypedHandlers.h.
const int ml::MLVariableType2 = _ML_SWITCH_SELECT_OFFSET+2 |
Defines to use the result type of variable type 2.
Definition at line 57 of file mlTypedHandlers.h.
const int ml::MLVariableType3 = _ML_SWITCH_SELECT_OFFSET+3 |
Defines to use the result type of variable type 3.
Definition at line 59 of file mlTypedHandlers.h.