MeVisLabToolboxReference
ml Namespace Reference

Define the namespace name like in the ML. Default is ml. More...

Namespaces

namespace  CSOGeneratePathPoints
 

The CSOGeneratePathPoints namespace offers interpolation methods (computing path points between seed points) as a linear interpolation, a spline interpolation and a spline approximation.


namespace  CSOGeometry
 

The CSOGeometry namespace offers some common methods for various geometric problems, e.g., determining whether a CSO lies in a plane, if a CSO is self-intersection, computing the center of gravity, thinning out path points or applying Boolean operations.


namespace  CSOMath
 

The CSOMath namespace offers some common methods for various problems, e.g., computing the area, mapping from voxel to world or computing numerical problems real fast.


namespace  CSOPointInPolygon
namespace  internal
namespace  Unicode
namespace  WEMConnectedComponent
 

The WEMConnectedComponent namespace.


namespace  WEMCutOp
 

Helper namespace for operations on cuts (partial, face or full).


namespace  WEMEdgeOp
 

Helper namespace for performing swap, split and collapse operations on edges of a WEM.


namespace  WEMFaceOp
 

Helper namespace for performing operations on a face.


namespace  WEMGeometry
 

Tool namespace for performing geometric analyzes on a WEMPatch.


namespace  WEMNodeOp
 

Helper namespace for performing smoothing and other stuff on nodes.


namespace  WEMSetOp
 

Tool namespace for performing set operations on WEM patches.


namespace  WEMShortestPath
 

The WEMShortestPath namespace implements Dijkstra's shortest path algorithm for a WEM.


Classes

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  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 in an iterative manner, to allow breaking/resuming at any time and to avoid a recursive tree traversal which can not be easily resumed. More...
class  PageRequestQueueInterface
 Virtual interface for queuing PageRequests that are ready for processing. More...
class  PageRequestProcessor
 A simple processor that takes one or even multiple tile requests and can process them iteratively. More...
class  ProcessAllPagesJob
 Public interface for processing all pages of a temporary output image. More...
class  TileRequest
 A TileRequest either represents the input sub image 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  DummyOp
 Dummy input operator with one pixel of value 0 in it. More...
class  Engine
 Base class for all ML Engines which are derived from Module, which have no inputs or outputs and which implements 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 for (see class Field). More...
class  BoolField
 Field to encapsulate a boolean value. More...
class  IntField
 Field to encapsulate an integer value. More...
class  ToggleField
 Field to encapsulate a boolean value as integer. More...
class  EnumField
 Field to encapsulate an enumerated value. 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  LongDoubleField
 Field to encapsulate a long 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 which represents a module input. More...
class  BaseField
 Field to encapsulate a pointer to an ML base object. 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 2 double values. More...
class  Vector3Field
 Field to encapsulate a vector of 3 double values. More...
class  Vector4Field
 Field to encapsulate a vector of 4 double values. More...
class  Vector5Field
 Field to encapsulate a vector of 5 double values. More...
class  Vector6Field
 Field to encapsulate a vector of 6 double values. More...
class  Vector10Field
 Field to encapsulate a vector of 10 double values. More...
class  ColorField
 Field to encapsulate a vector of 3 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 6 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 4 double values representing a rotation with all properties of Vector4Field. More...
class  PlaneField
 Field to encapsulate a vector of 4 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 InputSubImageProperties which is a simple container for some properties which can be defined for an input subimage which is to be delivered to the corresponding call of the module's calculateOutputSubImage method. More...
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  BaseOp
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
 Class which represents an image, which manages properties of an image and image data which is 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  TScaleShiftData
 Class to define 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 which 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  TSubImage
 This template class manages/represents a rectangular 6d image region in memory which is organized linearly. More...
class  TSubImageCursorBase
 Base class for all TSubImage Cursors. More...
class  ConstTSubImageCursor
 Cursor to access const data of a TSubImage. More...
class  TSubImageCursor
 Cursor to access data of a TSubImage for reading and writing. 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 an own ProcessAllPages handler and supports up to 4 type variable types. More...
class  TypedCalculateOutputImageHandler
 TypedCalculateOutputImageHandler can be used as a base class for an own CalculateOutputImageHandler and supports up to 4 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  BackgroundTask
 Base class for a task that is started in an extra thread. More...
class  BackgroundTaskBaseModule
 baseclass for ML modules that use background tasks More...
class  BackgroundTaskHandle
 A handle to a task that has been created by the background task manager. More...
class  BackgroundTaskHandleAccessor
 This class offers direct access to the contained background task. More...
class  BackgroundTaskIdleProcessing_Qt
class  BackgroundTaskManager
 the BackgroundTaskManager is the central singleton that manages running background tasks More...
class  BackgroundTaskMessage
class  BackgroundTaskMessageQueue
class  BackgroundTaskFinishedMessage
class  BackgroundTaskMLGetTileBaseMessage
class  BackgroundTaskMLGetTileMessage
class  BackgroundTaskMLProcessAllPagesMessage
class  BackgroundTaskMLGetTileResultMessage
class  BackgroundTaskMLProcessAllPagesResultMessage
class  BackgroundTaskMethodCallMessage
 a generic message that allows to call the member function method on a given object, passing the arguments args (ArgumentList is copied using the copy constructor of each argument) More...
class  BackgroundTaskStatusInformation
 BackgroundTaskStatusInformation creates a snapshot of the status of a given BackgroundTask, to allow later read access without races or even destruction of the background task (copyable). More...
class  BackgroundTaskTileProcessorBase
 BackgroundTaskTileProcessorBase is the base class for processors that request an input image tile-by-tile. More...
class  BackgroundTaskTileProcessor
 A BackgroundTaskTileProcessor can be used as a base class for processing an input image tile-by-tile without handling the details of an asynchronous request queue yourself. More...
class  DistantObject
 A DistantObject stores the pointer to an object of type T and forbids direct access to the stored pointer. More...
class  DistantObjectAccessor
 The DistantObjectAccessor can be used to get the value stored in a DistantObject, it should only be used when you really know what you are doing! More...
class  ImagingBackgroundTask
class  ManagedSubImage
 ManagedSubImage is derived from SubImage and frees its allocated memory automatically when it is destructed. More...
class  MessagingBackgroundTask
 MessagingBackgroundTask extends the BackgroundTask with the functionality to call methods on DistantObject instances on the GUI thread to communicate with the GUI (e.g. More...
class  PagedImageProperties
 PagedImageProperties extends the MedicalImageProperties with the page extent. More...
class  ModuleBackgroundTask
 ModuleBackgroundTask extends the ImagingBackgroundTask with a number of useful methods that allow asynchronous access to the images of a Module. More...
class  ProcessAllPagesBackgroundTask
 Class ProcessAllPagesBackgroundTask. More...
class  TileIterator
 Iterator that takes a region and a tile extent and returns subsequent tiles that cover the region, starting at region.v1. More...
class  TypedBackgroundTaskHandle
 The TypedBackgroundTaskHandle class provides a secure interface to communicate with a running BackgroundTask. 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 0 arguments. More...
struct  ArgumentList1
 ArgumentList with 1 argument. More...
struct  ArgumentList2
 ArgumentList with 2 arguments. More...
struct  ArgumentList3
 ArgumentList with 3 arguments. More...
struct  ArgumentList4
 ArgumentList with 4 arguments. More...
struct  ArgumentList5
 ArgumentList with 5 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  CPUInfo
 Singleton class that provides hardware specific information. More...
class  DateTime
 Class for performing date/time arithmetics, comparisons and formatting. More...
class  ErrorOutput
 Class to handle all ML debug prints, errors, warnings, and information. More...
class  ErrorOutputInfos
 Struct which 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  GPUInfo
 Singleton class that provides hardware specific information. 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, which 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  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 http://msdn.microsoft.com/en-us/library/aa394582.aspx. More...
class  FloatingPointMatrix
 Base class of all matrix classes which holds the data buffer and provides some general access methods. More...
class  FloatingPointVectorDataContainerBase
 Base class of the FloatingPointVector class which holds the data buffer. More...
class  FloatingPointVector
 Template class for vector arithmetic with floating point data types. 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  TVectorNDBase
 TVectorNDBase is the data container class for the TVector template providing ND functionality for integer vectors. 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  Tmat2
 A two by two matrix class consisting of 2 row vectors. More...
class  Tmat3
 A three by three matrix class of three row vectors. More...
class  Tmat4
 A four by four matrix class consisting of 4 row vectors. More...
class  Tmat5
 A five by five matrix class of five row vectors. More...
class  Tmat6
 A six by six matrix class of six row vectors. More...
class  Plane
 Class defining a plane in 3D. More...
class  TQuaternion
 Implementation of a Quaternion with common operations. More...
class  Rotation
 Class to handle Rotations (internally the rotation is stored as a quaternion) 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  Vector2DataContainer
 Specialized base class for the FloatingPointVectorDataContainerBase. More...
class  Tvec2
 A two dimensional vector class for floating point types. More...
class  Vector3DataContainer
 Specialized base class for the FloatingPointVectorDataContainerBase. More...
class  Tvec3
 A three dimensional vector class for floating point types. More...
class  Tvec32
 A 32 dimensional vector class for floating point types. More...
class  Tvec4
 A four dimensional vector class for floating point types. More...
class  Tvec5
 A five dimensional vector class for floating point types. More...
class  Tvec6
 A six dimensional vector class for floating point types. More...
class  Tvec64
 A 64 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  MLImageFormat
 File format class to store, load, and modify a PagedImage in a file. More...
class  MLImageFormatCompressionParams
 Helper class for compressor arguments managed inside of a module. More...
class  MLImageFormatIdxTable
 Internal and private index table for the MLImageFormat, not to be used, because it is subject to change. More...
class  MLImageFormatInfos
 A internal structure containing information about an opened file, not to be used, because it is subject to change. More...
class  MLImageFormatTag
 Class defining a tag used in the MLImageFormat class. More...
class  MLImageFormatTagList
 Class defining a list of tags used in the MLImageFormat class. More...
class  MLImageFormatTools
 Basic tool functions used to store, load, and modify a PagedImage in a file, used by the MLImageFormat. More...
class  DicomTreeImagePropertyExtension
 Implement an ImagePropertyExtension object which can be passed to the ML. More...
class  DataCompressor
 Abstract base class for ML data compression algorithms. More...
class  DataCompressorFactory
 Factory for ML data compression algorithms. More...
class  LUTDataBase
 Untyped base class for LUTData template classes. More...
class  LUTData
 A LUTData object stores an instance of a LUT, rendered for a specified visual type, data type, reference range and index/row/layer set. More...
class  LUTFBlend
 Generate a 2/3D-LUT by blending two 1/2D-LUTs. More...
class  LUTFChannelMap
 A LUT function mapping the individual channels of the input LUT to the channels of the output LUT. More...
class  LUTFColor
 LUT transform to apply or remove color to an input LUT. More...
class  LUTFCombine
 A LUT function combining several input LUTs into a single output LUT. More...
class  LUTFCompose
 A LUT function composing several input LUTs into a single output LUT. More...
class  LUTFConcat
 Concatenate LUTs in row or layer direction. More...
class  LUTRGBAPoint
 A LUT sampling point with index position and RGBA channel values,. More...
class  LUTFLinear
 A color/gray LUT with sampling points and linear, nearest neighbor or truncated interpolation inbetween. More...
class  LUTFloatRGBA
 Implements a float RGBA color table. More...
class  LUTFPrimitive
 A single channel LUT with predefined primitives of different shapes. More...
class  LUTFRampPair
 An RGBA LUT consisting of a RGB ramp and an alpha ramp. More...
class  LUTFRescale
 LUT transform to rescale a LUT's index range and to convert an absolute to a relative LUT. More...
class  LUTFSelect
 Select a 1D-LUT from a specified row/layer of a 2D- or 3D-LUT. More...
class  LUTFunction
 Common base class for lookup tables. More...
class  LUTIteratorBase
 LUT iterator base class with type independent functionality and declarations. More...
class  LUTIterator
 The LUTIterator class template is used by a LUTFunction object for rendering into a LUTData object. More...
class  BaseItem
 General Base object class for list items that have an id and a name. More...
class  BaseItemParser
 Parser class for BaseItem strings, containing an object's id and name. More...
class  BaseContainerItem
 Base object class BaseContainerItem encapsulates a pointer to a Base object as a list item. More...
class  BaseListSortParameters
 Class that is designed to hold custom list sorting parameters (such as sort mode) More...
class  BaseList
 Base object class BaseList which stores a list of BaseContainerItem entries. More...
class  ComposeBaseList
 Engine module ComposeBaseList composing two base objects. More...
class  CopyBase
 Engine template module CopyBase to copy any Base-derived object that provides a virtual assignment operator which allows to copy from Base. More...
class  CopyList
 Engine module class for copying ListBase derived classes, which is ok because lists have an assignment operator. More...
class  CurveData
 Base object class representing a single curve object, consisting of zero or one X- and any number of Y-data series. More...
class  CurveList
 Base object class CurveList with a list of CurveData object pointers. More...
class  CurveDataBaseList
 Base object class list as alternative implementation for CurveData, essentially a container for Base objects. More...
class  DecomposeBaseList
 Engine module decomposing a BaseList into one base object and a so-called rest list. More...
class  DiscList
 Base object class DiscList. More...
class  DynamicStylePalette
class  ExtractObjectFromList
 Engine module ExtractObjectFromList extracting a single list item (identified by its index) from a given list. More...
class  KeyFrame
 Class KeyFrame consisting of a 3D position, tangent and up vector. More...
class  KeyFrameList
 Base object class KeyFrameList storing a list of KeyFrame entries. More...
class  ListBase
 Base object class ListBase managing a number of BaseItem objects. More...
class  ListTemplate
 Basic list class template combining properties of ListBase and a vector of the template argument type. More...
class  BaseListTemplate
 Base object template list class for list item classes derived from BaseItem. More...
class  ListContainerBase
 Abstract module class ListContainerBase implementing basic functionality for a list container module. More...
class  ListContainerTemplate
 Template module class ListContainerTemplate for a specific list class. More...
class  ListParser
 Parser class for parsing persistent state strings of list objects. More...
class  MarkerList
 Base object class MarkerList managing a list of markers represented by Vector4's. More...
class  Mat3List
 Base object class Mat3List managing a list of 3x3 matrices. More...
class  Mat4List
 Base object class Mat4List managing a list of 4x4 matrices. More...
class  MergeLists
 Engine module MergeLists merging two BaseListTemplate-derived objects. More...
class  ParserBase
 Basic parser class from which special parser classes can be derived for parsing persistent state strings. More...
class  PointList
 Base object class PointList managing a list of points. More...
class  RasterFunction
 Base object to handle implicit or explicit functions to draw into subimages. More...
class  RasterFunctionList
 Base object class to handle a list of raster functions. More...
class  SphereList
 Base object managing a list of Sphere objects. More...
class  StringList
 Base object class managing a list for items of type BaseItem usable for string storage. More...
class  StringListContainer
 Base object class StringListContainer managing a list of items of type StringList. More...
class  StylePalette
 Base object class StylePalette for providing a collection of colors, line styles and marker types. More...
class  StylePaletteOp
 Defines the StylePalette operator for providing a collection of colors, line styles and marker types. More...
class  VecListTemplate
 BaseObject list class template (derived from ListTemplate) for lists of n-tupels of a given type. More...
class  Vec3iList
 Base object class Vec3iList derived from VecListTemplate. More...
class  Vec4iList
 Base object class Vec4iList derived from VecListTemplate. More...
class  Vec6iList
 Base object class Vec6iList derived from VecListTemplate. More...
class  Vec3fList
 Base object class Vec3fList derived from VecListTemplate. More...
class  Vec4fList
 Base object class Vec4fList derived from VecListTemplate. More...
class  Vec6fList
 Base object class Vec6fList derived from VecListTemplate. More...
class  VectorList
 Base object representing a list of vectors given as Vector4's. More...
class  XMarker
 Base object class XMarker (derived form baseItem) with 6D pos, 3D vec and type int. More...
class  XMarkerList
 Base object class XMarkerList (derived from BaseListTemplate) specialized for XMarker items. More...
class  XMarkerListContainer
 Base object class XMarkerListContainer (derived from ListContainerTemplate) for XMarkerList objects. More...
class  MLImageFormatFileCache
 An ML module class for file caching and modification of a whole ML PagedImage volume as MLImageFormat file which is changed only if load, clear or auto load is activated. More...
class  MLImageFormatInfo
 Information retrieval module for the .mlimage MLImageFormat files. More...
class  MLImageFormatIOBase
 IO base class to manage/save/load/modify .mlimage files and to derive specific save, load and modification classes from it. More...
class  MLImageFormatLoad
 ML module class to load an ML PagedImage from a file of type MLImageFormat with .mlimage suffix. More...
class  MLImageFormatSave
 ML module class to save an ML PagedImage as file of type MLImageFormat with .mlimage suffix. More...
class  ObjMgr
 Database manager and communication switchboard. More...
class  omAttribute
 Manages the attribute data and takes care of allocation and deallocation. More...
class  omAttributesVector
 Manages one layer of information. More...
class  omMessageT
class  omData_omMessage
 Data type for messages. More...
class  omAttribute_omMessage
 Attribute for messages. More...
class  ObjMgrBase
 Base class for all communicating modules. More...
class  ObjMgrClient
 Base class for all modules that wish to use and communicate (send and receive notifications) with the ObjMgr module. More...
class  omObjMgrConnection
 Connection information. More...
class  omData
 Manages data and takes care of allocation and deallocation. More...
class  omDataType
 Base class for data. More...
class  ObjMgrEvent
 Event information. More...
class  omFlags
 Managed special flags of information address components. More...
class  omObject
 Base class that declares to basic functionality of an object. More...
class  omObjectContainer
 Database (object container) - manages all objects. More...
class  omIDTypeT
class  olSpecializedLoader
 Base class for all loader-plugins. More...
class  olFullPath
 This is a simple class that lets us do easy prepending of the info file's directory to a given relative path. More...
class  BitMorphologyFilter
 The class to apply BitMorphology based kernel filters to images. More...
class  CloseGapFilter
 The class to apply CloseGap based kernel filters to images. More...
class  CompassFilter
 A class implementing different compass filters. More...
class  ConvolutionFilter
 This class implements convolutions with fixed kernel sizes. More...
class  Correlation
 Correlation of image with kernel image. More...
class  ExtConvolutionFilter
 This class implements different convolution filters with changeable kernel sizes. More...
class  TKernel
 Class to manage a filtering kernel for images. More...
class  KernelBaseModule
 The module base class to apply kernels to an image. More...
class  KernelBaseOp
class  KernelCurvatureEstimationFilter
 Implements a filter to estimate curvatures. More...
class  KernelEditor
 The class to edit a 6D kernel. More...
class  KernelLineApplicator
 The KernelLineApplicator class takes a Kernel instance and filters one line of an mlSubImage and writes it to an output also given by another mlSubImage. More...
class  KernelLineApplicatorBase
 The KernelLineApplicatorBase class is designed to implement new kernel based filters to be applied to a line of an mlSubImage and and to write the filtered line to an output mlSubImage. More...
class  KernelModule
 The typically used convenience class to apply a kernel to an image. More...
class  KernelOp
struct  fctLineFilter
 The basic implementation of a filter to filter an image row with kernel operations. More...
struct  useObjectLineFilter
 Wrapper for the use of object bound row filters. More...
class  KernelTools
 Class collecting a set of templated an normal functions for filtering operations using kernels. More...
class  LineApplicator
 The LineApplicator class provides pure virtual functions used by the old applyFiltering functions from the KernelTools class to filter one row of an SubImage and writes it to an output also given by another SubImage. More...
class  LocalMaximaFilter
 Class searching local maxima in images using a kernel based filtering. More...
class  LoGFilter
 The LoGFilter permits filtering an image with a 2D Laplace of Gaussian filter kernel. More...
class  MorphologyFilter
 The class to apply morphology based kernel filters to images. More...
class  RankFilter
 The class to apply rank based kernel filters images. More...
class  RobertsFilter
 Class to apply a kernel based roberts filtering to an image. More...
class  SigmaFilter
 A sigma filter class. More...
class  Sobel3DFilter
 Applies a Sobel edge detection or a Sobel gradient estimation in 3D to a volume image. More...
class  StdDeviationFilter
 This class is a kernel filtering operator, which calculates the standard deviation in the (defined by the kernel) neighborhood of a voxel. More...
class  SurroundFilter
 Class to cover an object specified by a threshold with a voxel thick surface of selected values. More...
class  ZeroCrossingsFilter
 A kernel filtering operator, which searches for zero crossings in the input image. More...
class  EditObject
 allows to edit an ml::base-derived object via its XML description. More...
class  IOHandler
 Handles the different possible IO modes. More...
class  LoadBase
 Allows to load ml::base-derived objects from file. More...
class  SaveBase
 saves an ml::base-derived object to a file class SaveBase More...
class  XMLPersistenceStream
 mix-in class that manages a stack of names for list elements and if the parent scope of the list is suppressed (for handling legacy file formats) More...
class  XMLPersistenceOutputStream
 Implementation for AbstractPersistenceOutputStream using Xerces DOM Parser. More...
class  XMLPersistenceInputStream
 Implementation for AbstractPersistenceInputStream using Xerces DOM Parser. More...
class  XMLTreeNodeException
 The XMLTreeNodeException class extends the exceptions already provided by class TreeNodeException. More...
class  XMLTreeNode
 The class XMLTreeNode implements the abstract class TreeNode to allow export and import of ML objects to and from XML files and strings. More...
class  BitImage
 Class to manage a binary image. More...
class  Disc
 Class to handle the geometry primitive "Disc" consisting of a center, a normal and a radius. More...
class  MultiField
 Field to represent a dynamic vector of DATATYPE values. More...
class  DoubleMultiField
 Save warning state. More...
class  FloatMultiField
 Class FloatMultiField. See MultiField for documentation. More...
class  IntMultiField
 Class IntMultiField. See MultiField for documentation. More...
class  Int32MultiField
 Class Int32MultiField. See MultiField for documentation. More...
class  UInt32MultiField
 Class UInt32MultiField. See MultiField for documentation. More...
class  Sphere
 Defines the class to handle the geometry primitive "Sphere" with a radius and a center point. More...
class  StringLineMultiField
 The field class StringLineMultiField which manages a vector of std::string lines typically separated by "\r\n" on windows systems and by "\n" on non windows systems. More...
class  Tools
 Class which collects some useful functions needed in many places of operator programming. More...
class  TVirtualVolume
 The TVirtualVolume class implements random access to a paged input image or a pure virtual image without mapping more than a limited number of bytes. Pages of the input volume are mapped temporarily into memory when needed. If no input volume is specified the pages are created and filled with a fill value. When the permitted amount of memory is exceeded then older mapped pages are removed. When pages are written they are mapped until the virtual volume instance is removed or if they are explicitly cleared by the application. More...
class  VirtualVolume
 This class manages a virtual volume organizing efficient voxel access to the output image of an input module given as input inIdx of thisBaseOp. More...
struct  PageBuffer
 PageBuffer is a helper structure to manage one page of input data of the VirtualVolume class and it also handles the most important properties of the page. More...
struct  WEMEventContainer
 This struct holds all necessary data for the different notifications. More...
class  WEM
 A WEM comprises a number of WEMPatches. More...
class  WEMAttributes
 This class comprises some attributes that are common for a WEM and a WEMPatch. More...
class  WEMBoundingBox
 This class represents an axis aligned bounding box for a WEMPatch. More...
struct  WEMDefaults
 Struct providing default values for the WEM library. More...
class  WEMEdge
 Defines the mesh component: edge. More...
class  WEMFace
 Defines the mesh component: face. More...
class  WEMIndexedFace
 Defines the mesh component: an face holding a list of up to 100 indices. More...
class  WEMGenerator
 The WEMGenerator is the base class for all modules that generate WEMs, be it automatically or interactive. More...
class  WEMInspector
 This class is the base class for WEM modules that have one WEM input but no WEM output. More...
class  WEMModule
 The WEMModule class provides some common fields and methods for WEMProcessors, WEMGenerators and WEMInspectors. More...
class  WEMProcessor
 The WEMProcessor is the base class for all modules that process WEMs, be it automatically or interactive. More...
class  WEMNode
 Defines the mesh component: node. More...
class  WEMPatch
 Base class for triangle and quad patches. More...
class  WEMPolygon
 Defines the mesh component: polygon. More...
class  WEMPolygonPatch
 This represents a WEMPatch consisting of polygons only. More...
class  WEMPrimitive
 This is the base class for all WEM elements like nodes, edges and faces. More...
class  WEMPrimitiveValueList
 Stores a value list where the values are associated to primitives (WEMNode, WEMEdge, and WEMFace). More...
class  WEMQuad
 Defines the mesh component: quad. More...
class  WEMQuadPatch
 This represents a WEMPatch consisting of quads only. More...
class  WEMRequirements
 This class represents WEMPatch requirements to be used by WEMProcessor. More...
class  WEMTriangle
 Defines the mesh component: triangle. More...
class  WEMTrianglePatch
 This represents a WEMPatch consisting of triangles only. More...
class  WEMContainer
 Container with the ability to detect double inserts. More...
class  WEMFastVector
 Dynamic templated vector. More...
class  WEMHeap
 Heap structure with property i>2*i+1 and i>2*i+2 Parent i has children 2*i+1 and 2*i+2 Largest values are stored closer to root of tree. More...
class  WEMIndexVector
 Dynamic vector, based on a memory pool. Keeps track on entry numbers of stored primitives. More...
class  WEMObjectVector
 Dynamic templated vector. More...
class  WEMQueueElement
 The WEMQueueElement represents an element of a single linked list. More...
class  WEMQueue
 The WEMQueue is a single linked list with pointers to its head and tail elements. More...
class  WEMVector
 Dynamic templated vector. More...
class  WEMCut
 MISSING DESCRIPTION. More...
class  WEMFaceCut
 Helper class for performing a cutting on a face. More...
class  WEMPartialFaceCut
 MISSING DESCRIPTION. More...
class  WEMEdgeDiagnosis
 This class provides diagnostic information on a WEMEdge. More...
class  WEMFaceDiagnosis
 This class provides diagnostic information on a WEMFace. More...
class  WEMNodeDiagnosis
 This class provides diagnostic information on a WEMNode. More...
class  WEMPatchDiagnosis
 This class provides diagnostic information on a WEMNode. More...
class  WEMFaceCutConnectedComponent
 Tool class for collecting a connected component consisting of FaceCuts. More...
class  CSO
 The CSO represents a contour segmentation object. More...
class  CSOAttributes
 This class comprises some attributes that are common for a CSO and a CSOGroup. More...
class  CSOBoundingBox
 The CSOBoundingBox defines an axis parallel bounding box with double precision. More...
class  CSOEvent
 Class for all CSO events. More...
class  CSOGroup
 A CSOGroup comprises a number of CSOs, which themselves can be in a number of different CSOGroups. More...
class  CSOList
 A CSOList comprises a number of CSOs and CSOGroups and is the central object for contour segmentation objects. More...
class  CSOManager
 The CSOManager allows for storing and iterating CSOs, and implements an undo/redo mechanism. More...
class  CSOBaseModule
 Base class for CSOModules. More...
class  CSOConvertor
 Base class for modules that convert CSOs to voxel images. More...
class  CSOGenerator
 The CSOGenerator is the base class for all modules that generate CSOs, be it automatically or interactive. More...
class  CSOGeneratorBase
class  CSOModificator
 Base class for performing modifications on the CSOs of a CSOList. More...
class  CSOPathPoints
 The CSOPathPoints is a list of world coordinates which are interpolated by a certain interpolation scheme between seed points of a CSO. More...
class  CSOGroupRules
 This handles rules like the maximum number of CSOs in a group and applies them. More...
class  CSOListRules
 The CSOListRules class controls how the CSOList should treat CSOGroups if their CSOs are removed. More...
class  CSOChangeEventScope
 Base class for event grouping / pre-/post-command of changes of a CSO. More...
class  CSOModuleEventGroupScope
 This class is to be used in modules, not in the CSO base library. More...
class  CSOAttributeChangeScope
 Class for sending events if visual attribute of a CSO have changed. More...
class  CSOGeometryChangeScope
 Class for sending events if the geometry of a CSO has changed. More...
class  CSOClearScope
 Class for sending events if a CSO is cleared. More...
class  CSOGroupChangeEventScope
 Base class for event grouping / pre-/post-command of changes of a CSOGroup. More...
class  CSOGroupAttributeChangeScope
 Class for sending events if visual attributes of a CSOGroup have changed. More...
class  CSOGroupAddScope
 Class for sending events if a CSOGroup has been added. More...
class  CSOAddScope
 Class for sending event if a CSO has been added. More...
class  CSOSelectionChangeScope
 Class for sending events if the selecion of CSOs has been changed. More...
class  CSOGroupSelectionChangeScope
 Class for sending events if the selection of CSOGroups has been changed. More...
class  CSOSeedPoint
 The CSOSeedPoint can be interactively set and modified and is the framework for contours. More...
class  CSOCommand
 Base class for a CSOCommand for the undo/redo mechanism. More...
class  CSOCmdAddCSO
 Class for undo/redo of adding a new CSO to the CSOList. More...
class  CSOCmdRemoveCSO
 Class for undo/redo of removing a CSO from the CSOList. More...
class  CSOCmdAddCSOGroup
 Class for undo/redo of adding a CSOGroup to the CSOList. More...
class  CSOCmdRemoveCSOGroup
 Class for undo/redo of removing a CSOGroup from the CSOList. More...
class  CSOCmdAddCSOtoGroup
 Class for undo/redo of adding a CSO to a Group. More...
class  CSOCmdRemoveCSOfromGroup
 Class for undo/redo of removing a CSO from a Group. More...
class  CSOCmdAddCSOList
 Class for undo/redo of adding multiple CSOs to the CSOList. More...
class  CSOCmdMoveContour
 Class for undo/redo of the moving of a contour. More...
class  CSOCmdMoveSeedPoint
 Class for undo/redo of the moving of a single seed point. More...
class  CSOCmdInsertRemoveSeedPoint
 Class for undo/redo of the insertion/removal of a single seed point. More...
class  CSOCmdAddCSOSet
 Class for undo/redo of of adding a set of CSOs to the CSOList. More...
class  CSOCmdRemoveCSOSet
 Class for undo/redo of removing a set of CSOs from the CSOList. More...
class  CSOCmdModifySet
 Class for undo/redo of modifying a set of CSOs. More...
class  CSOUndoRedoManager
 Manager class for maintaining the undo and the redo stacks. More...
class  CSOVoxelSetPoint
class  CSOVoxelSet
 The CSOVoxelSet represents a contour segmentation object in discrete voxel coordinates. More...
class  CSOVoxelSetGroup
class  CSOVoxelSetList
class  CSOFunction
 Base class for distance functions for application in the marching cubes algorithm. More...
class  CSOInterpolate3DFunctionSettings
 This class encapsulates the settings for CSOInterpolate3DFunction. More...
class  CSOInterpolate3DFunction
 The CSOInterpolate3DFunction holds the interpolation function which is a smooth thin-plate spline surface. More...
class  CSOMarchingSquares
 This class implements the Marching Squares algorithm to find isolines on 2D image slices. More...
class  CSOMarchingSquaresCell
 Marching squares cell. More...
class  CSOObjectHeap
 Heap structure with property i>2*i+1 and i>2*i+2 Parent i has children 2*i+1 and 2*i+2 Smallest values are stored closer to root of tree Elements are sorted while inserting them in the heap. More...
class  CSOObjectVector
 Dynamic templated vector For speed and better memory handling, the vector is an array within an array The base blocks have a BLOCKSIZE of 65535 This allows for quick expanding. More...
class  CSOPathPointIterator
class  CSOPathPointConstIterator
class  ProjectedCSO
 This class is a helper class used internally by CSOPointInPolygon. More...
class  CSOPointInPolygonChecker
 Checks whether a point is inside a planar, closed polygon in an arbitrary plane. More...
class  CSOSmoothing
class  CSOBulgeProcessor
 Module which allows for an interactive bulging of CSOs of all types. More...
class  CSOFreehandProcessor
 Module which allows for an interactive generation of freehand contours with linear or spline interpolation, and the editing of existing freehand contours. More...
class  CSOIsoProcessor
 The CSOIsoProcessor interactively finds an iso contour on the slice being displayed by the SoView2D module or on the optional input image. More...
class  CSOLiveWireGraph
 The class maintains a graph for applying a shortest path algorithm on. More...
struct  VoxelPos
 Structure holding a 2D voxel position. More...
struct  CSOLiveWireNode
 Structure holding a live wire node for the shortest path algorithm. More...
class  CSOLiveWireProcessor
 Module which allows for an half-automatic generation of contours along image edges, based on the live wire algorithm. More...
class  CSOModifyProcessor
 Module which allows for a modification of CSOs of all types. More...
class  CSOPrimitiveProcessor
 Module which enables interactive generation of primitive contours such as ellipses and rectangles. More...
class  CSOProcessor
 Base class for processor modules; those provide mechanisms for an interactive generation of seed points and for an automatic computation of path points. More...
class  CSOProcessorData
 The CSOProcesorData provides the network data interchange object for processing interaction events and contour interpolation. More...
struct  CSOInventorVoxelBoundingBox
class  CSOTransformationProcessor
 Module to interactively transform CSOs. More...
class  CSOLabelRenderer
 Module encapsulation the SoView2D extension for rendering labels for CSOs. More...
class  CSOVisualizationSettings
class  ITKCommandIterationUpdate
 Implementation of the Command Pattern to be invoked every iteration. More...
class  ITKFlatStructElement
 ML class to wrap the itkFlatStructElement class in an ML module. More...
class  ITKWrapperBase
 Helper class to have a common base class for all derived wrapper. More...
class  WrapperSuperStructPtrs
 Link structure between names and superclass names. More...
class  ITKMLBaseWrapper
 Class to create a Base wrapper around an object of a certain template type. More...
class  ITKModuleAddOns
 Class to implement much functionality used in ML modules wrapping filters. More...
class  MultiBaseType
 Class to provide a number of get/set functions for often used templated objects, for example function pointers. More...
class  MLITKObjectFactory
 A class to manage a void pointer to an object of a certain class type a type dataType and dimension dim. More...
class  VTKWrapperBase
 Helper class to have a common base class for all derived wrapper. More...
class  VTKMLBaseWrapper
 Class to create a Base wrapper around an object of a certain template type. More...
class  VTKModule
 Base class to derive from all modules which wrap automatically generated VTK classes. More...
class  MLVTKParentWrapper
 Mini base class storing a parent pointer for bypassing (usually a widget pointer or parent) from MeVisLab-Widget library to module and vice versa without breaking interfaces. More...
class  MainAxisPCA
 This class computes the main axis for a point cloud by a principal component analysis. More...
class  MinimalDistancePointClouds
 The MinimalDistancePointClouds implements a fast nearest pair search algorithm described by Sean Quinlan in 'Efficient Distance Computation between Non-Convex Objects'. More...
class  TileSphere
 TileSphere is used in the class MinimalDistancePointClouds. More...
class  TileSphereHashTable
 TileSphereHashTable is used in the classes MinimalDistancePointClouds and TileSphere. More...
class  Variant
 The Variant class stores different data types. More...
class  ModelIndex
 This class serves as an index into an AbstractItemModel. More...
class  AbstractItemModel
 This class represents an abstract hierarchical item model where the items have named attributes which can be queried and even modified. More...
class  ItemModelEvent
 This intermediate class only exists to conveniently get the source() as the model() from an event. More...
class  TwoPhaseItemModelEvent
 This is the base class for all events that are sent before and after a change. More...
class  ItemsInsertedEvent
 This event informs about inserted items. More...
class  ItemsRemovedEvent
 This event informs about removed items. More...
class  ItemChangedEvent
 This event tells us that the children of the item have changed completely (for an invalid ModelIndex this would mean everything has changed) More...
class  ItemsDataChangedEvent
 This event informs about attributes that have changed their values. More...
class  StandardItemModel
 This could be the interface for a standard item model. More...
class  ItemChildrenRequestEvent
 This BaseEvent informs that the children of an item are requested for the first time. More...
class  PointMap
 PointMap constitutes a lightweight object for storage of data of two nodes. More...
class  PathInfo
 class to store informations about connection path for use in calculation of distance matrices More...
class  IsomorphismMap
 IsomorphismMap class handles the information of the isomorphism between two Graph structures in form of a PointMap-list. More...
class  AssocGraph
 AssocGraph class provides a matrix representation of the association graph of two Graph objects. More...
class  BaseGraphItem
 class BaseGraphItem More...
class  CompareGraphs
 This module can compare the structure of two graph objects. More...
class  Graph
 Defines the basic Graph class which holds sets of nodes, edges and roots to model tubular structures with graph-like topologies such as vascular systems. More...
class  GraphAction
struct  CIdxFloat
struct  CIdxIdx
class  GraphAnalyser
class  EdgeAnalyser
class  compareEdges
class  NodeAnalyser
class  measureSkeletonAgent
class  GraphStaticSettings
class  Slice_iter
 Templated support class for class MatrixTemplate to allow fast element access organisation by slicing This auxiliary class allows the access to matrix elements stored in an valarray by std::... More...
class  Cslice_iter
 Templated support class for class MatrixTemplate to allow fast element access organisation by slicing using const references This auxiliary class allows the access to matrix elements stored in an valarray by std::... More...
class  MatrixTemplate
 MatricTemplate implements general Matrix class based on valarray of objects with Template class type for nummeric calculations with dynamic size More...
class  MatrixSizedTemplate
 general Matrix class based on MatrixTemplate<T> to allow fixed size setting with object declaration. More...
class  Skeleton
 class Skeleton More...
class  TestVesselGraph
 This module runs a couple of tests on the VesselGraph library. More...
class  TracedException
class  VesselEdge
 Class VesselEdge. More...
class  VesselNode
 class VesselNode More...
class  IntrusivePtrBase
 A minimal base class that provides a reference counter for use with boost::intrusive_ptr. More...
class  DefaultPropertyAccessor
class  PropertyContainer
class  SmartPropertyIndex
class  PropertyManager
class  PropertyValue
class  FloatTypes
class  IntegerTypes
class  ScalarTypes
class  DefaultTypes
class  DefaultExtendedTypes
class  ComplexTypes
class  ScalarAndComplexTypes

Typedefs

typedef void TileRequestFinishedCB (void *data, TileRequest *request)
 Callback for a finished TileRequest.
typedef void CalculateOutputImagePropertiesCB (void *userData, PagedImage *outImage)
 Callback for the calculation of the output image properties for outputImage.
typedef TScaleShiftData< MLdoubleScaleShiftData
 Double version of TScaleShiftData for maximum reasonable precision.
typedef TSubImageBox< MLintSubImageBox
 Define the standard SubImageBox type used in the ML. Its size varies with the size of the MLint type.
typedef void BackgroundTaskFinishedCB (void *data, BackgroundTask *task)
typedef void BackgroundTaskScheduleProcessPendingMessagesCB (void *data)
typedef MLuint32 BackgroundRequestId
 the id of a tile request
typedef boost::detail::atomic_count AtomicCounter
 AtomicCounter is a thread-safe integer counter.
typedef void BaseEventCallback (void *, BaseEvent *)
typedef std::vector
< ImagePropertyExtension * > 
ImagePropertyExtensionVector
 Define the STL container type of ImagePropertyExtension objects.
typedef boost::recursive_mutex RecursiveMutex
 Defines a recursive mutex.
typedef
boost::recursive_mutex::scoped_lock 
RecursiveLock
 Defines a lock for locking a recursive mutex.
typedef boost::mutex Mutex
 Defines a non-recursive mutex.
typedef boost::mutex::scoped_lock Lock
 Defines a lock for locking a non-recursive mutex.
typedef boost::thread Thread
typedef MLuint16 MLGlobalTraceBufferType
 The type used in the MLGlobalTraceBuffer.
typedef int VectorDimIdxType
 Signed integer type used as count and index type to traverse the array of the TVector.
typedef std::vector< LUTRGBAPointLUTRGBAPointList
 Type definition for a vector of sampling points.
typedef std::vector< double > CurveSeries
 Type definition of a standard vector of single series of X- or Y-values.
typedef bool ListContainerHandleNotificationCB (void *usrData, Field *field)
 Callback for handleNotification forwarding (return false if notification should not be propagated to ListContainer)
typedef bool(* VoxelTestFunction )(const ImageVector &p, void *userData)
 Function type used to decide whether a voxel is within an object or not.
typedef bool(* WorldVoxelTestFunction )(const Vector6 &p, void *userData)
 Function type used to decide whether a voxel is within an object or not.
typedef void(* ModifierFunction )(SubImage *tSubImg, const ImageVector &p, void *userData)
 Function type which modifies a value in a typed subimage given by tSubImg.
typedef FloatingPointVector
< int, 3 > 
vec3i
 A type definition of a 3D integer vector derived from FloatingPointVector; note that some FloatingPointVector functionality will not work precisely on integer values!
typedef FloatingPointVector
< int, 4 > 
vec4i
 A type definition of a 4D integer vector derived from FloatingPointVector; note that some FloatingPointVector functionality will not work precisely on integer values!
typedef FloatingPointVector
< int, 6 > 
vec6i
 A type definition of a 6D integer vector derived from FloatingPointVector; note that some FloatingPointVector functionality will not work precisely on integer values!
typedef omMessageT< char > omMessage
 Define the normally used type from template type with normal string base char type.
typedef std::string std_string
typedef std::vector< MLint32std_MLint32Vec
typedef std::vector< vec3std_vec3Vec
typedef boost::shared_ptr< BaseBasePtr
typedef std::list< ObjMgrEventomEventContainer
 Declare type for event container;.
typedef omIDTypeT< char > omIDType
 Define default type for normal use with the typical string char type.
typedef void wemNotificationCB (void *data, std::vector< WEMEventContainer > ecList)
 Defines the function signature for the callback methods that is to be touched by a WEM notification.
typedef std::vector< int > IdVector
typedef void csoNotificationCB (void *data, int notificationFlag)
 Defines the function signature for the callback methods that is to be touched by a CSOList notification.
typedef std::vector< Vector3VoxelVector
typedef std::vector< MLdoubleVoxelValueVector
Specializations for float, double and long double.
typedef Tmat2< MLfloatMatrix2f
 A 2x2 matrix of type float.
typedef Tmat2< MLdoubleMatrix2d
 A 2x2 matrix of type double.
typedef Tmat2< MLldoubleMatrix2ld
 A 2x2 matrix of type long double.
typedef Tmat2< MLdoubleMatrix2
 The standard 2x2 matrix of type double.
typedef Tmat3< MLfloatMatrix3f
 A 3x3 matrix of type float.
typedef Tmat3< MLdoubleMatrix3d
 A 3x3 matrix of type double.
typedef Tmat3< MLldoubleMatrix3ld
 A 3x3 matrix of type long double.
typedef Tmat3< MLdoubleMatrix3
 The standard 3x3 matrix of type double.
typedef Tmat4< MLfloatMatrix4f
 A 4x4 matrix of type float.
typedef Tmat4< MLdoubleMatrix4d
 A 4x4 matrix of type double.
typedef Tmat4< MLldoubleMatrix4ld
 A 4x4 matrix of type long double.
typedef Tmat4< MLdoubleMatrix4
 The standard 4x4 matrix of type double.
typedef Tmat5< MLfloatMatrix5f
 A 5x5 matrix of type float.
typedef Tmat5< MLdoubleMatrix5d
 A 5x5 matrix of type double.
typedef Tmat5< MLldoubleMatrix5ld
 A 5x5 matrix of type long double.
typedef Tmat5< MLdoubleMatrix5
 The standard 5x5 matrix of type double.
typedef Tmat6< MLfloatMatrix6f
 A 6x6 matrix of type float.
typedef Tmat6< MLdoubleMatrix6d
 A 6x6 matrix of type double.
typedef Tmat6< MLldoubleMatrix6ld
 A 6x6 matrix of type long double.
typedef Tmat6< MLdoubleMatrix6
 The standard 6x6 matrix of type double.
typedef Tvec10< MLfloatVector10f
 A vector with 10 components of type float.
typedef Tvec10< MLdoubleVector10d
 A vector with 10 components of type double.
typedef Tvec10< MLldoubleVector10ld
 A vector with 10 components of type long double.
typedef Tvec10< MLdoubleVector10
 A vector with 10 components of type double.
typedef Tvec16< MLfloatVector16f
 A vector with 16 components of type float.
typedef Tvec16< MLdoubleVector16d
 A vector with 16 components of type double.
typedef Tvec16< MLldoubleVector16ld
 A vector with 16 components of type long double.
typedef Tvec16< MLdoubleVector16
 A vector with 16 components of type double.
typedef Tvec2< MLfloatVector2f
 A vector with 2 components of type float.
typedef Tvec2< MLdoubleVector2d
 A vector with 2 components of type double.
typedef Tvec2< MLldoubleVector2ld
 A vector with 2 components of type long double.
typedef Tvec2< MLdoubleVector2
 A vector with 2 components of type double.
typedef Tvec3< MLfloatVector3f
 A vector with 3 components of type float.
typedef Tvec3< MLdoubleVector3d
 A vector with 3 components of type double.
typedef Tvec3< MLldoubleVector3ld
 A vector with 3 components of type long double.
typedef Tvec3< MLdoubleVector3
 A vector with 3 components of type double.
typedef Tvec32< MLfloatVector32f
 A vector with 32 components of type float.
typedef Tvec32< MLdoubleVector32d
 A vector with 32 components of type double.
typedef Tvec32< MLldoubleVector32ld
 A vector with 32 components of type long double.
typedef Tvec32< MLdoubleVector32
 A vector with 32 components of type double.
typedef Tvec4< MLfloatVector4f
 A vector with 4 components of type float.
typedef Tvec4< MLdoubleVector4d
 A vector with 4 components of type double.
typedef Tvec4< MLldoubleVector4ld
 A vector with 4 components of type long double.
typedef Tvec4< MLdoubleVector4
 A vector with 4 components of type double.
typedef Tvec5< MLfloatVector5f
 A vector with 5 components of type float.
typedef Tvec5< MLdoubleVector5d
 A vector with 5 components of type double.
typedef Tvec5< MLldoubleVector5ld
 A vector with 5 components of type long double.
typedef Tvec5< MLdoubleVector5
 A vector with 5 components of type double.
typedef Tvec6< MLfloatVector6f
 A vector with 6 components of type float.
typedef Tvec6< MLdoubleVector6d
 A vector with 6 components of type double.
typedef Tvec6< MLldoubleVector6ld
 A vector with 6 components of type long double.
typedef Tvec6< MLdoubleVector6
 A vector with 6 components of type double.
typedef Tvec64< MLfloatVector64f
 A vector with 64 components of type float.
typedef Tvec64< MLdoubleVector64d
 A vector with 64 components of type double.
typedef Tvec64< MLldoubleVector64ld
 A vector with 64 components of type long double.
typedef Tvec64< MLdoubleVector64
 A vector with 64 components of type double.
typedef Tvec7< MLfloatVector7f
 A vector with 7 components of type float.
typedef Tvec7< MLdoubleVector7d
 A vector with 7 components of type double.
typedef Tvec7< MLldoubleVector7ld
 A vector with 7 components of type long double.
typedef Tvec7< MLdoubleVector7
 A vector with 7 components of type double.
typedef Tvec8< MLfloatVector8f
 A vector with 8 components of type float.
typedef Tvec8< MLdoubleVector8d
 A vector with 8 components of type double.
typedef Tvec8< MLldoubleVector8ld
 A vector with 8 components of type long double.
typedef Tvec8< MLdoubleVector8
 A vector with 8 components of type double.
typedef Tvec9< MLfloatVector9f
 A vector with 9 components of type float.
typedef Tvec9< MLdoubleVector9d
 A vector with 9 components of type double.
typedef Tvec9< MLldoubleVector9ld
 A vector with 9 components of type long double.
typedef Tvec9< MLdoubleVector9
 A vector with 9 components of type double.
Specializations for float, double, and long double.
typedef TQuaternion< MLfloatQuaternionf
 A smaller Quaternion type as specialization from TQuaternion.
typedef TQuaternion< MLdoubleQuaterniond
 The default Quaternion type used in the ML as specialization from TQuaternion.
typedef TQuaternion< MLldoubleQuaternionld
 A large Quaternion type for further extensions of the ML as specialization from TQuaternion.
typedef TQuaternion< MLdoubleQuaternion
 Define the default Quaternion type which is used by the ML; it uses double as component type.
Name space wide definitions of standard data types specific for kernels.
typedef TKernel< MLfloatFloatKernel
 Kernel type with MLfloat elements.
typedef TKernel< MLdoubleDoubleKernel
 Kernel type with MLdouble elements.
typedef TKernel< MLldoubleLDoubleKernel
 Kernel type with MLldouble elements.
typedef MLdouble KernelDataType
 Define the standard data type for kernel elements to be used in this library.
typedef TKernel< KernelDataTypeKernel
 Standard kernel type to be used in this kernel library.
typedef itk::Vector< float, 2 > mlItkVector2f
typedef itk::Vector< float, 3 > mlItkVector3f
typedef itk::Vector< float, 4 > mlItkVector4f
typedef itk::Vector< float, 6 > mlItkVector6f
typedef itk::Vector< float, 8 > mlItkVector8f
typedef itk::CovariantVector
< float, 2 > 
mlItkCVVector2f
typedef itk::CovariantVector
< float, 3 > 
mlItkCVVector3f
typedef itk::CovariantVector
< float, 4 > 
mlItkCVVector4f
typedef itk::CovariantVector
< float, 6 > 
mlItkCVVector6f
typedef itk::CovariantVector
< float, 8 > 
mlItkCVVector8f
typedef itk::Vector< double, 2 > mlItkVector2d
typedef itk::Vector< double, 3 > mlItkVector3d
typedef itk::Vector< double, 4 > mlItkVector4d
typedef itk::Vector< double, 6 > mlItkVector6d
typedef itk::Vector< double, 8 > mlItkVector8d
typedef itk::CovariantVector
< double, 2 > 
mlItkCVVector2d
typedef itk::CovariantVector
< double, 3 > 
mlItkCVVector3d
typedef itk::CovariantVector
< double, 4 > 
mlItkCVVector4d
typedef itk::CovariantVector
< double, 6 > 
mlItkCVVector6d
typedef itk::CovariantVector
< double, 8 > 
mlItkCVVector8d
typedef std::complex< float > mlItkComplexf
typedef std::complex< double > mlItkComplexd
typedef std::complex< float > Complexf
typedef std::complex< double > Complexd
typedef itk::DiffusionTensor3D
< float > 
mlItkDiffusionTensor3Df
typedef itk::DiffusionTensor3D
< double > 
mlItkDiffusionTensor3Dd
typedef
itk::SymmetricSecondRankTensor
< float, 3 > 
mlItkSymmetricSecondRankTensor3Df
typedef
itk::SymmetricSecondRankTensor
< double, 3 > 
mlItkSymmetricSecondRankTensor3Dd
Container for storage of classificator informations
typedef std::vector< double > CDouble1Vec
typedef std::vector< CDouble1VecCDouble2Vec
typedef std::vector< CDouble2VecCDoubleArray

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_ReadingVec2, TNE_ReadingVec3, TNE_ReadingVec4,
  TNE_ReadingVec6, TNE_ReadingVector, TNE_ReadingMat3, TNE_ReadingMat4,
  TNE_ReadingSubImgBox, TNE_ReadingSubImgBoxf, 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...
enum  LUTVisualType {
  LUT_L = 0, LUT_LA, LUT_RGB, LUT_RGBA,
  LUT_BGR, LUT_ABGR, LUT_NUM_VISUAL_TYPE_LAYOUTS, LUT_NUM_VISUAL_TYPES = LUT_RGBA+1
}
 LUT visual type constants to identify the visual interpretation of the individual LUT channels. More...
enum  LUTDimensionality { LUT_1D = 1, LUT_2D, LUT_3D }
 LUT dimensionality. More...
enum  TestFuncMode { StaticVoxelTest, VirtualVoxelTest, StaticWorldVoxelTest, VirtualWorldVoxelTest }
 The modes how the voxel is tested. More...
enum  {
  TNE_XML_SystemInit = TNE_COUNT, TNE_XML_ParserError, TNE_XML_ReadingRawDataSize, TNE_XML_Unknown,
  TNE_XML_Other, TNE_XML_LAST_MESSAGE_IDX, TNE_XML_COUNT = TNE_XML_LAST_MESSAGE_IDX - TNE_COUNT
}
 error codes for XMLTreeNode More...
enum  WEMNotificationType {
  WEM_NOTIFICATION_NONE = 0, WEM_NOTIFICATION_SELECTION = 1, WEM_NOTIFICATION_FINISHED = 2, WEM_NOTIFICATION_REPAINT = 4,
  WEM_NOTIFICATION_INTERACTION_INIT = 8
}
 Defines the available WEM notifications. More...
enum  ColorModes {
  WEM_COLOR_GENERAL = 0, WEM_COLOR_NODE_COLORS = 1, WEM_COLOR_LUT_VALUES = 2, WEM_COLOR_LUT_VALUES_INTEGER = 3,
  WEM_COLOR_TEXTURED = 4, WEM_COLOR_NONE = 5
}
 Enumeration of the color modes. Note that these are 'mirrored' in the SoWEM part. More...
enum  NodeRenderingModes { WEM_NODE_RENDERING_NORMAL = 0, WEM_NODE_RENDERING_HIGH = 1, WEM_NODE_RENDERING_EXTRA_HIGH = 2 }
 Enumeration of the node rendering modes. Note that these are 'mirrored' in the SoWEM part. More...
enum  BoundingBoxModes { WEM_BOUNDING_BOX_AXIS_ALIGNED = 0, WEM_BOUNDING_BOX_OBJECT_ALIGNED = 1 }
 Enumeration of bounding box visualization. Note that these are 'mirrored' in the SoWEM part. More...
enum  TriangulationModes { WEM_TRIANGULATION_CENTER = 0, WEM_TRIANGULATION_FAN = 1, WEM_TRIANGULATION_STRIP = 2, WEM_TRIANGULATION_SPIDERWEB = 3 }
 Enumeration of the triangulation modes. Note that these are 'mirrored' in the SoWEM part. More...
enum  PatchTypes { WEM_PATCH_UNKNOWN = 0, WEM_PATCH_TRIANGLES = 1, WEM_PATCH_QUADS = 2, WEM_PATCH_POLYGONS = 3 }
 Enumeration of mesh types. More...
enum  PrimitiveValueListTypes { WEM_PRIMITIVE_VALUE_LIST_NODE = 0, WEM_PRIMITIVE_VALUE_LIST_EDGE = 1, WEM_PRIMITIVE_VALUE_LIST_FACE = 2 }
 Enumeration of primitive value list types. More...
enum  OrientationTypes { WEM_ORIENTATION_UNKNOWN = 0, WEM_ORIENTATION_OUTWARD = 1, WEM_ORIENTATION_INWARD = 2 }
 Enumeration of orientation types. More...
enum  CSOVoxelValueModes { VOXEL_VALUE_ID = 0, VOXEL_VALUE_CONST = 1, VOXEL_VALUE_CONST_PLUS_ID = 2, VOXEL_VALUE_MODULE = 3 }
 Enumeration of the voxel value modes. More...
enum  CSOLineStyle {
  LINE_STYLE_NONE = 0, LINE_STYLE_SOLID = 1, LINE_STYLE_DASHED = 2, LINE_STYLE_DOTTED = 3,
  LINE_STYLE_SHORT_DASHED = 4
}
 Enumeration of line styles (order as StylePalette::LineStyle). More...
enum  CSOSelectionColoring { SELECTION_COLORING_BRIGHTEN = 0, SELECTION_COLORING_FIXED = 1 }
 Enumeration of selection coloring modes. More...
enum  CSOSelectionLineWidth { SELECTION_LINE_WIDTH_WIDEN = 0, SELECTION_LINE_WIDTH_FIXED = 1 }
 Enumeration of selection line width modes. More...
enum  CSOSelectedSeedPointColoring { SELECTED_SEED_POINT_COLORING_BRIGHTEN = 0, SELECTED_SEED_POINT_COLORING_FIXED = 1 }
 Enumeration of selected seed point coloring modes. More...
enum  CSOSelectedSeedPointSize { SELECTED_SEED_POINT_SIZE_ENLARGE = 0, SELECTED_SEED_POINT_SIZE_FIXED = 1 }
 Enumeration of selected seed point size modes. More...
enum  CSOMarkerDisplayMode { MARKER_DISPLAY_MODE_NONE = 0, MARKER_DISPLAY_MODE_RECT = 1, MARKER_DISPLAY_MODE_CIRCLE = 2 }
 Enumeration of marker display modes for CSO states. More...
enum  CSOErrorCode { CSO_RESULT_OK = 0, CSO_NO_INPUT_IMAGE = 1, CSO_INVALID_INPUT_IMAGE = 2, CSO_NO_MEMORY = 3 }
 Enumeration of error codes. More...
enum  CSOUpdateModes { MODE_OFF = 0, MODE_AUTO_UPDATE = 1, MODE_AUTO_CLEAR = 2 }
 Enumeration of update modes. More...
enum  CSOProcessorMode { PROCESSOR_MODE_MODIFICATOR = 0, PROCESSOR_MODE_GENERATOR = 1, PROCESSOR_MODE_GENERATOR_MODIFICATOR = 2 }
 Enumeration of Processor modes. More...
enum  CSOProcessorPickingMode { PROCESSOR_PICKING_MODE_SEED_POINTS = 0, PROCESSOR_PICKING_MODE_PATH_POINTS = 1 }
 Enumeration of processor picking mode. More...
enum  CSOSmoothingModes { SMOOTHING_MODE_NONE = 0, SMOOTHING_MODE_SPLINE_APPROXIMATION = 1, SMOOTHING_MODE_SPLINE_INTERPOLATION = 2 }
 Enumeration of smoothing modes. More...
enum  Corner {
  TLR = 0, TRR = 1, TRF = 2, TLF = 3,
  BLR = 4, BRR = 5, BRF = 6, BLF = 7
}
 Enumeration of corner names for array access. More...
enum  Direction {
  DIRECTION_TOP = 0, DIRECTION_BOTTOM = 1, DIRECTION_RIGHT = 2, DIRECTION_LEFT = 3,
  DIRECTION_FRONT = 4, DIRECTION_REAR = 5, DIRECTION_NUM_DIRECTIONS = 6
}
 Enumeration of directions for marching direction. More...
enum  CrossingSide {
  CrossingTop = 0, CrossingBottom = 1, CrossingRight = 2, CrossingLeft = 3,
  CrossingFront = 4, CrossingRear = 5, CrossingNone = 6
}
 Enumeration of sides to which a segment can leave or enter a voxel box. More...
enum  CSOAddToGroupModes { GROUP_NONE = 0, GROUP_BY_LABEL = 1, GROUP_BY_ID = 2 }
 Enumeration of the add to group modes. More...
enum  CSOGroupOverflowHandling {
  OVERFLOW_DELETE_FIRST = 0, OVERFLOW_DELETE_LAST = 1, OVERFLOW_DELETE_ALL = 2, OVERFLOW_IGNORE_NEW = 3,
  NUM_OVERFLOW_MODES = 4
}
 Enumeration for the group overflow handling modes. More...
enum  CSORemoveHandling { REMOVE_ALWAYS = 0, REMOVE_NEVER = 1, REMOVE_IF_IN_NO_GROUP = 2, NUM_REMOVE_MODES = 3 }
 Enumeration for the removal handling of CSOs from group and if group is deleted. More...
enum  CSORemoveEmptyGroupHandling { REMOVE_EMPTY_ALWAYS = 0, REMOVE_EMPTY_NEVER = 1, NUM_REMOVE_EMPTY_MODES = 2 }
 Enumeration for empty groups removal. More...
enum  SplineModes { SPLINE_MODE_INTERPOLATION = 0, SPLINE_MODE_APPROXIMATION = 1 }
 Enumeration of the different spline modes. More...
enum  GENERAL_CREATION_MODE {
  CREATION_MODE_POINT = 0, CREATION_MODE_CLOSED_POLYLINE = 1, CREATION_MODE_CLOSED_SPLINE = 2, CREATION_MODE_CLOSED_FREEHAND = 3,
  CREATION_MODE_CLOSED_INTERPOLATION = 4, CREATION_MODE_OPEN_POLYLINE = 5, CREATION_MODE_OPEN_SPLINE = 6, CREATION_MODE_OPEN_FREEHAND = 7
}
 Enumeration of the module's general creation mode. More...
enum  FINISHING_MODES { FINISH_ON_RELEASE = 0, FINISH_ON_DOUBLE_CLICK = 1 }
 Enumeration of the contour finishing modes. More...
enum  SEED_POINT_PLACEMENT { PLACE_SEED_ON_CLICK = 0, PLACE_SEED_WHILE_DRAGGING = 1 }
 Enumeration of seed point placement policy. More...
enum  INTERPOLATION_MODES { INTERPOLATION_MODE_LINEAR_INTERPOLATION = 0, INTERPOLATION_MODE_SPLINE_INTERPOLATION = 1, INTERPOLATION_MODE_SPLINE_APPROXIMATION = 2 }
 Enumeration of available interpolation modes. More...
enum  CSOIsoStartCondition { START_ALWAYS = 0, START_HIT_LOWER_ISO_VALUE = 1, START_HIT_GREATER_ISO_VALUE = 2 }
 Enumeration of line styles (order as StylePalette::LineStyle). More...
enum  CSOLiveWireNeighborhoodMode { CSO_LIVE_WIRE_4_NEIGHBORHOOD = 0, CSO_LIVE_WIRE_8_NEIGHBORHOOD = 1 }
 NW N NE \ | / \ | / W -------- E /|\ / | \ SW S SE. More...
enum  CSOLiveWireFinishingMode { CSO_LIVE_WIRE_FINISH_ON_DOUBLE_CLICK = 0, CSO_LIVE_WIRE_FINISH_ON_DISTANCE = 1 }
 Enumeration of finishing modes to test against. More...
enum  SliceErrorHandlingMode { CSO_SLICE_ERROR_HANDLING_REMOVE_CSO = 0, CSO_SLICE_ERROR_HANDLING_REMOVE_LAST_SEEDPOINT = 1, CSO_SLICE_ERROR_HANDLING_PRINT_WARNING = 2 }
 Enumeration of modes to handle CSOs over more than one slice (slicing while generating). More...
enum  ModProcLimitUnits { ModProcLimitNumPoints = 0, ModProcLimitSMM = 1, ModProcLimitSCM = 2, ModProcLimitSM = 3 }
 Enumeration of limiting units. More...
enum  ModCSOSelectionMode { ModSelectAll = 0, ModSelectCSOs = 1, ModSelectGroups = 2 }
enum  PRIMITIVE_TYPE { PRIMITIVE_RECT = 0, PRIMITIVE_ELLIPSE = 1 }
 Enumeration of the contour type. More...
enum  TransformationModes { TRANSFORMATION_MODE_SCALE = 0, TRANSFORMATION_MODE_ROTATE = 1, TRANSFORMATION_MODE_TRANSLATE = 2 }
enum  ScaleDirection { SCALE_DIRECTION_NORTH = 0, SCALE_DIRECTION_SOUTH = 1, SCALE_DIRECTION_WEST = 2, SCALE_DIRECTION_EAST = 3 }
enum  TransformationIcon { ICON_SCALE_ISO = 0, ICON_SCALE = 1, ICON_ROTATE = 2, ICON_TRANSLATE = 3 }
enum  CMP_FEATURE {
  CMP_LENGTH, CMP_VOLUME, CMP_STVOLUME, CMP_STCENTER_X,
  CMP_STCENTER_Y, CMP_STCENTER_Z, CMP_STCENTER_PLANE, CMP_LABEL
}
Flags
enum  NProcessMode {
  PROC_NONE = 0x000, PROC_LENGTH = 0x001, PROC_VOLUME = 0x002, PROC_WEIGHTED_POS = 0x004,
  PROC_AV_MIN_DIST = 0x008, PROC_SCL = 0x010, PROC_SKELETON_AREA = 0x020, PROC_ROOT = 0x100,
  PROC_ST_VOLUME = 0x202, PROC_ST_POS = 0x204, PROC_ST_NODE_SUM = 0x208, PROC_CLUSTER = 0x400
}
 Flags for processing instructions and control of used functionalty. More...

Functions

MLEXPORT void MLInitFields ()
 Initialize all standard fields of the ML.
template<typename T >
TSubImage< T > * tsubimg_cast (SubImage *subImg)
template<typename T >
const TSubImage< T > * tsubimg_cast (const SubImage *subImg)
template<typename T >
TSubImage< T > & tsubimg_cast (SubImage &subImg)
template<typename T >
const TSubImage< T > & tsubimg_cast (const SubImage &subImg)
template<class Object , class Method >
BackgroundTaskMessageNewBackgroundTaskMethodCall (Object *object, Method method)
 create new method call with 0 arguments
template<class Object , class Method , class Arg1 >
BackgroundTaskMessageNewBackgroundTaskMethodCall (Object *object, Method method, const Arg1 &arg1)
 create new method call with 1 argument
template<class Object , class Method , class Arg1 , class Arg2 >
BackgroundTaskMessageNewBackgroundTaskMethodCall (Object *object, Method method, const Arg1 &arg1, const Arg2 &arg2)
 create new method call with 2 arguments
template<class Object , class Method , class Arg1 , class Arg2 , class Arg3 >
BackgroundTaskMessageNewBackgroundTaskMethodCall (Object *object, Method method, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3)
 create new method call with 3 arguments
template<class Object , class Method , class Arg1 , class Arg2 , class Arg3 , class Arg4 >
BackgroundTaskMessageNewBackgroundTaskMethodCall (Object *object, Method method, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4)
 create new method call with 4 arguments
template<class Object , class Method , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
BackgroundTaskMessageNewBackgroundTaskMethodCall (Object *object, Method method, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5)
 create new method call with 5 arguments
int MLBackgroundTasksInit (void)
 Calls init functions of all modules to add their types to the runtime type system of the ML.
ArgumentList0 MLGenerateArgumentList ()
 Creates argument list with 0 arguments.
template<class Arg1 >
ArgumentList1< Arg1 > MLGenerateArgumentList (const Arg1 &arg1)
 Create argument list with 1 argument.
template<class Arg1 , class Arg2 >
ArgumentList2< Arg1, Arg2 > MLGenerateArgumentList (const Arg1 &arg1, const Arg2 &arg2)
 Creates argument list with 2 arguments.
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 3 arguments.
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 4 arguments.
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 5 arguments.
template<class Object , class Method >
void MLCallMethodWithArguments (Object *object, Method method, const ArgumentList0 &)
 Calls a method on given object with 0 arguments.
template<class Object , class Method , class Arg1 >
void MLCallMethodWithArguments (Object *object, Method method, const ArgumentList1< Arg1 > &args)
 Calls a method on given object with 1 argument.
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 2 arguments.
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 3 arguments.
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 4 arguments.
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 5 arguments.
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 true if it was found.
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 true if it was found.
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.
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 true if it was found.
template<typename DT >
DT abs (DT val)
template<class OBJ_TYPE >
void MLSwap (OBJ_TYPE &obj1, OBJ_TYPE &obj2)
 Swaps two objects obj1 and obj2.
template<class BASE_TYPE >
BASE_TYPE MLInverseMatHelper (const BASE_TYPE &origMat, bool *isInvertible, const ML_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.
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.
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.
template<class DT , class DT2 >
Tvec3< DT > operator* (const Tmat4< DT > &a, const Tvec3< DT2 > &v)
 Interpret v as a 4d homogeneous point and multiply the 4x4 matrix M with it and return a Tvec3 after normalizing the result by dividing by the fourth component.
template<class DT , class DT2 >
Tvec3< DT > operator* (const Tvec3< DT > &v, const Tmat4< DT2 > &a)
 Interpret v as a 4d homogeneous point and multiply it with the 4x4 matrix M and return a Tvec3 after normalizing the result by dividing by the fourth component.
template<class DT , class DT2 >
Tvec3< DT > operator^ (const Tvec3< DT > &a, const Tvec3< DT2 > &b)
 Return a vector orthogonal to a and b.
template<class DT >
Tvec4< DT > operator* (const Tmat4< DT > &a, const Tvec4< DT > &v)
 Multiplies 4x4 matrix a with vector v.
template<class DT >
Tvec4< DT > operator* (const Tvec4< DT > &v, const Tmat4< DT > &a)
 Multiplies vector v with 4x4 matrix a.
template<class DT >
Tvec5< DT > operator* (const Tmat5< DT > &a, const Tvec5< DT > &v)
 Multiplies 5x5 matrix a with vector v.
template<class DT >
Tvec5< DT > operator* (const Tvec5< DT > &v, const Tmat5< DT > &a)
 Multiplies vector v with 5x5 matrix a.
bool operator== (const MLImageFormatTag &tag1, const MLImageFormatTag &tag2)
 Equality operator.
bool operator!= (const MLImageFormatTag &tag1, const MLImageFormatTag &tag2)
 Inequality operator.
MLDICOM_TREE_IMAGE_PROPERTY_EXTENSION_EXPORT
DCMTree::Const_TreePtr 
getDicomTreeFromImagePropertyExtension (const ImagePropertyExtension *dicomTreeImagePropertyExtensionPtr)
 Casts the ImagePropertyExtension pointer into a DicomTreeImagePropertyExtension pointer and returns the contained dicom tree pointer.
MLDICOM_TREE_IMAGE_PROPERTY_EXTENSION_EXPORT
DCMTree::Const_TagPtr 
getDicomTagByName (const ImagePropertyExtension *imagePropertyExtensionPtr, const std::string &tagName)
 Returns the tag with the given name from the property extension. If it is not found, the pointer will be NULL.
MLDICOM_TREE_IMAGE_PROPERTY_EXTENSION_EXPORT
bool 
getTagIdByATString (const std::string &atString, DCMTree::TagId &tagId)
 Gets the tag id for (group,element) string (AT format).
MLDICOM_TREE_IMAGE_PROPERTY_EXTENSION_EXPORT
bool 
MLIsATString (const std::string &supposedATString)
 Checks if the given string is a well-formed AT string.
MLLUT_EXPORT int LUTNumberOfChannels (LUTVisualType visualType)
 Get number of channels for given LUTVisualType, or 0 if unknown.
MLLUT_EXPORT LUTVisualType LUTReducedVisualType (LUTVisualType visualType)
 Get reduced visual type, i.e. ignoring layout variants.
MLLUT_EXPORT int LUTAlphaChannelIndex (LUTVisualType visualType)
 Get index of alpha channel, or -1 if none.
MLLUT_EXPORT double LUTConvertRGBtoL (double r, double g, double b)
 Convert RGB to luminance.
template<typename T >
LUTCastFromDouble (double value)
 Helper template function to cast from double to type T, performing a proper round operation in case of integer types.
std::ostream & operator<< (std::ostream &out, const KeyFrame &frame)
 KeyFrame stream output.
std::list< std::string > omGetKnownAttributes ()
 Returns a list of all registered attribute type names.
std::list< std::string > omGetKnownDataTypes ()
 Returns a list of all registered attribute type names.
template<class DATATYPE >
std::ostream & operator<< (std::ostream &s, const std::vector< DATATYPE > &vec)
 Helper output/input stream operators.
template<class DATATYPE >
std::istream & operator>> (std::istream &s, std::vector< DATATYPE > &vec)
 Operator >> for input of streams into std::vector.
MLTOOLS_EXPORT std::ostream & operator<< (std::ostream &s, const StringLineMultiField &stringLineMulti)
 All strings of the internal vector are streamed into the output stream and StringLineMultiField::DefaultLineSeparator is streamed out between them.
MLTOOLS_EXPORT std::istream & operator>> (std::istream &s, StringLineMultiField &stringLineMulti)
 Operator >> for input from streams into StringLineMultiField where all newline ('
') chars are considered as separator; all carriage returns are removed silently from the created strings.
int MLWEMInit (void)
 This is for runtime module initialization.
template<typename T >
bool CSOWriteValueToStream (std::ostream &out, const T &value, bool asBinary)
template<>
bool CSOWriteValueToStream< Variant > (std::ostream &out, const Variant &value, bool asBinary)
template<>
bool CSOWriteValueToStream< CSOPathPoints > (std::ostream &out, const CSOPathPoints &value, bool asBinary)
template<typename T >
bool CSOReadValueFromStream (std::istream &in, T &value, bool asBinary)
template<>
bool CSOReadValueFromStream< Variant > (std::istream &in, Variant &value, bool asBinary)
template<>
bool CSOReadValueFromStream< CSOPathPoints > (std::istream &in, CSOPathPoints &value, bool asBinary)
template<class T >
void deleteVector (CSOObjectVector< T > *vector, bool deleteEntries=true)
int MLCSOInit (void)
 This is for runtime module initialization.
int SoCSOInit (void)
 Initializes the DLL.
MLITK_SUPPORT_EXPORT int ITKCommonFunctionTypesAndWrappersInit ()
 Initializes the wrapper classes.
std::string mlITKMakeStdString (const char *str)
 Convert for a char pointer to a std::string safely.
std::string mlITKMakeStdString (const std::string &str)
 Convert for a std::string to a std::string safely.
std::string mlITKGetLatin1FromUTF8 (const std::string &utf8StdString)
 Convert string from UTF8 to Latin1; return empty string on failure or if "" is passed as utf8StdString.
std::string & mlITKGetLatin1FromUTF8Static (const std::string &utf8StdString)
 Like mlITKGetLatin1FromUTF8(const std::string &utf8StdString); the only difference is that the return value is stored in a static variable to maintain the return value.
std::string mlITKGetUTF8FromLatin1 (const std::string &latin1StdString)
 Convert string from Latin1 to UTF8; return empty string on failure or if "" is passed as latin1StdString.
std::string & mlITKGetUTF8FromLatin1Static (const std::string &latin1StdString)
 Like mlITKGetUTF8FromLatin1(const std::string &latin1StdString); the only difference is that the return value is stored in a static variable to maintain the return value.
template<typename TemplArrElemType >
void ITKArrayFromFixedSizeSTLVector (const ITKML_TYPENAME std::vector< TemplArrElemType > &stlVec, TemplArrElemType *arr, size_t TemplArrSize)
 Copies TemplArrSize elements from stlVec to arr and - if not enough elements are available - fills up the rest with 0.
template<typename TemplArrElemType , unsigned int TemplArrSize>
const ITKML_TYPENAME
std::vector< TemplArrElemType > 
STLVectorFromFixedSizeITKArray (const TemplArrElemType *theArray)
 Create an STL vector with type TemplArrElemType which contains TemplArrSize elements which are read from theArray, hence the array must have at least TemplArrSize elements.
MLITK_SUPPORT_EXPORT int ITKCommonTypesAndWrappersInit ()
 Initializes the wrapper classes.
MLITK_SUPPORT_EXPORT MLErrorCode setAndConnectDefaultModuleWithNotify (Module &thisOp, const std::string &dataTypeName="float", const ImageVector &imgExt=ImageVector(16, 16, 1, 1, 1, 1), MLint minIdx=0, MLint maxIdx=ML_INT32_MAX, const ImageVector &pageExt=ImageVector(16, 16, 1, 1, 1, 1))
 This function takes the default module (if it still does not exist then it's created), it sets the image and page extents, the data type and connects it to the indices minIdx to maxIdx.
MLITK_SUPPORT_EXPORT void disconnectAllInputs (Module &thisOp)
 Disconnects all connected inputs from thisOp.
MLITK_SUPPORT_EXPORT mlModule * getDefaultModule (bool create=true)
 Returns the default module instance.
MLITK_SUPPORT_EXPORT void destoyDefaultInstance ()
 Destroys the default module instance.
void testFunc_processDataWithITKFilterAndFillOutSubImg ()
 Test function for debugging purposes.
template<typename FILTER_TYPE , typename OIMAGE_TYPE >
bool processDataWithITKFilterAndFillOutSubImg (typename FILTER_TYPE::Pointer &filterPointer, int outIndex, int usedFilteringDim, const ImageVector &shift, const SubImageBox &outImgBox, SubImage &outSubImg, Module &module)
 Takes the output image of the filter pointed to by filterPointer, and copies overlapping contents into outSubImg.
void testFunc_determineImageFilterInRegionTN ()
 Test function for debugging purposes.
template<typename FILTER_TYPE , typename IN_IMAGE_TYPE >
SubImageBox determineImageFilterInRegionTN (typename FILTER_TYPE::Pointer &filterPointer, Module &module, MLint inIndex, const SubImageBox &outBox, MLint outIndex, MLint numActiveInputs)
 Calculates required input regions for any number of filter inputs.
void testFunc_determineImageFilterOutImageRegionT0 ()
 Test function for debugging purposes.
template<typename FILTER_TYPE , typename OUT_IMAGE_TYPE >
SubImageBox determineImageFilterOutImageRegionT0 (typename FILTER_TYPE::Pointer &filterPointer, Module &module)
 Calculates the maximum extent of the ITK output image for 0 inputs and returns it as SubImageBox.
void testFunc_determineImageFilterOutImageRegionTN ()
 Test function for debugging purposes.
template<typename FILTER_TYPE , typename OUT_IMAGE_TYPE , typename IN_IMAGE_TYPE >
SubImageBox determineImageFilterOutImageRegionTN (typename FILTER_TYPE::Pointer &filterPointer, Module &module, int numImageInputs)
 Calculates the maximum extent of the ITK output image for 0 inputs and returns it as SubImageBox.
template<class POLYLINEPATHTYPE >
POLYLINEPATHTYPE::Pointer ITKPolylineFromBasePointer (Base *baseVal, bool emptyDefaultToOneZeroVal=true)
 Reads a base field and looks for point like data structures (XMarkerLists, XMarkerListContainers, PointLists and Vectorlists).
template<class FINITE_DIFFERENCE_FUNCTION_TYPE >
FINITE_DIFFERENCE_FUNCTION_TYPE::Pointer ITKDifferenceFunctionFromBasePointer (Base *baseVal)
 Checks a base input connector for a base object containing a MultiBaseType.
template<typename ITK_INDATATYPE , unsigned int DIM>
itk::ImportImageFilter
< ITK_INDATATYPE, DIM >
::Pointer 
getITKSpecialInImg (const SubImage &inSubImg, const PagedImage &inImg)
 Takes a SubImage and returns the ImportImageFilter managing the inSubImg as ITK object.
MLITK_SUPPORT_EXPORT void postITKException (const itk::ExceptionObject &e, const Module *module, MLMessageType messageType, const std::string &handling="")
 Sends all available information from the ITKException itkException to the ML error handler.
MLITK_SUPPORT_EXPORT void copyITKDataBufferToMLSubImg (void *itkData, size_t itkDataTypeSize, const SubImageBox &itkBox, SubImage &outSubImg)
 Unpack ITK data buffer to an ML subimage and convert data formats if necessary.
template<typename SIZE_TYPE >
SIZE_TYPE ITKSizeFromMLVector (const ImageVector &vec)
 Assign and cast values from an ML ImageVector to an ITK size object.
template<typename INDEX_TYPE >
INDEX_TYPE ITKIndexFromMLVector (const ImageVector &vec)
 Assign and cast values from an ML ImageVector to an ITK size object.
template<typename INDEX_TYPE >
ImageVector MLVectorFromITKSize (const INDEX_TYPE &sizeObj, MLint defaultVal)
 Assign and cast values from an ITK size object to an ML ImageVector.
template<typename INDEX_TYPE >
ImageVector MLVectorFromITKIndex (const INDEX_TYPE &indexObj, MLint defaultVal)
 Assign and cast values from an ITK index object to an ML ImageVector.
template<typename VECTOR_TYPE >
VECTOR_TYPE ITKVectorFromMLVec3 (const Vector3 &vec, MLdouble defaultComp)
 Assign and cast values from an ML Vector3 to an ITK size object; all itk components with index > 2 are filled with defaultComp.
template<typename VECTOR_TYPE >
VECTOR_TYPE ITKVectorFromMLVec4 (const Vector4 &vec, MLdouble defaultComp)
 Assign and cast values from an ML Vector4 to an ITK size object; all itk components with index > 3 are filled with defaultComp.
template<typename POINT_TYPE >
POINT_TYPE ITKPointFromMLVec3 (const Vector3 &vec, MLdouble defaultComp)
 Assign and cast values from an ML Vector3 to an ITK point object; all itk components with index > 3 are filled with defaultComp.
template<typename POINT_TYPE >
POINT_TYPE ITKPointFromMLVec4 (const Vector4 &vec, MLdouble defaultComp)
 Assign and cast values from an ML Vector4 to an ITK object of type POINT_TYPE; all itk components with index > 3 are filled with defaultComp.
template<typename REGION_PARENT_TYPE >
REGION_PARENT_TYPE::RegionType ITKRegionFromMLSubImgBox (const SubImageBox &subImgBox)
 Assign and cast values from an ITK region to an ML SubImageBox object.
template<typename REGION_PARENT_TYPE >
SubImageBox MLSubImgBoxFromITKRegion (const typename REGION_PARENT_TYPE::RegionType &region)
 Assign and cast values from an ITK region to an ML SubImageBox object.
template<typename ARRAY_TYPE , typename STL_VECTOR >
ARRAY_TYPE ITKArrayFromSTLVector (const STL_VECTOR &stlVec)
 Returns an object of an ITK array type ARRAY_TYPE which contains cast copies of all elements of stlVec (in same order and number).
template<typename STL_CONTAINER , typename ITK_ARRAY_TYPE >
const STL_CONTAINER STLVectorFromITKArray (const ITK_ARRAY_TYPE &itkArray)
 Returns an STL container object of type STL_CONTAINER which contains cast copies of all elements of the ITK_ARRAY_TYPEd itkArray (in same order and number).
template<typename INDEX_TYPE >
INDEX_TYPE ITKIndexFromMLVec6 (const Vector6 &vec)
 Assign and cast values from an ML Vector6 to an ITK index object of type INDEX_TYPE.
template<class FilterType >
FilterType::NodeContainer::Pointer ITKNodeContainerFromBasePointer (Base *baseVal)
 Reads a base field and looks for point like data structures (XMarkerLists, XMarkerListContainers, PointLists and VectorLists).
template<typename DTYPE , unsigned int ROW_DIM, unsigned int COL_DIM>
itk::Matrix< DTYPE, ROW_DIM,
COL_DIM > 
ITKMatrixFromMLMatrix (const Matrix4 &mat)
 Converts the ML 4x4 matrix mat function argument to the returned itk::Matrix of type itk::Matrix<DTYPE, ROW_DIM, COL_DIM>; all components of the returned matrix are set with cast values from mat if their row and column indexes are <=3; all other entries are predefined from an SetIdentity call and a warning will be posted.
template<typename DTYPE , unsigned int ROW_DIM, unsigned int COL_DIM>
Matrix4 MLMatrixFromITKMatrix (const ITKML_TYPENAME itk::Matrix< DTYPE, ROW_DIM, COL_DIM > &mat, bool fillWithID=false)
 Converts itk::Matrix mat of type itk::Matrix<DTYPE, ROW_DIM, COL_DIM> to the returned ML 4x4 matrix of type double; all components of the returned matrix are set with cast values from existing entries from mat; all other entries are left as predefined with a Matrix4::getIdentity call.
template<class POINTSETTYPE >
POINTSETTYPE::Pointer ITKPointSetFromBasePointer (Base *baseVal)
 Reads the passed baseVal objects and looks for point like data structures (XMarkerLists, XMarkerListContainers, PointLists and VectorLists).
template<typename ITK_IMPORT_IMAGE_FILTER_TYPE >
void ITKSetOriginFromVec3 (itk::ImportImageFilter< typename ITK_IMPORT_IMAGE_FILTER_TYPE::OutputImagePixelType, ITK_IMPORT_IMAGE_FILTER_TYPE::OutputImageType::ImageDimension > *importImageFilter, const Vector3 &orig)
 On the given ITK_IMPORT_IMAGE_FILTER_TYPE the origin orig is set with the SetOrigin method from an origin type; the origin type conversion is done as described in ITKPointFromMLVec3.
template<typename ITK_IMAGE_TYPE >
void ITKSetOriginFromVec3 (itk::Image< typename ITK_IMAGE_TYPE::PixelType, ITK_IMAGE_TYPE::ImageDimension > *image, const Vector3 &orig)
 On the given ITK_IMAGE_TYPE the origin orig is set with the SetOrigin method from a point type; the origin type conversion is done as described in ITKPointFromMLVec3.
template<typename ITK_CLASS_TYPE >
void setITKWorldFromMedicalImageProperty (MedicalImageProperties props, ITK_CLASS_TYPE *image, bool correctSVS=true)
 Takes the world transformation of ML MedicalImageProperties and sets spacing, origin and direction cosines (the orientation) of the itk image or import image filter of type ITK_CLASS_TYPE.
template<typename ITK_CLASS_TYPE >
void setMLWorldFromITKScaleOriginAndOrientation (const ITK_CLASS_TYPE *image, MedicalImageProperties &props, bool correctSVS=true)
 Sets the world transformation of the ML MedicalImageProperties props from the spacing, origin and direction cosines (the orientation) given by the itk image function argument.
template<typename ITK_INDATATYPE , unsigned int DIM>
itk::ImportImageFilter
< ITK_INDATATYPE, DIM >
::Pointer 
getITKImportImageFromSubImg (const SubImage &inSubImg, const MedicalImageProperties &props, bool correctSVS=true)
 Takes a SubImage and returns an object of an itk::ImportImageFilter managing the inSubImg as ITK object.
template<typename RETURN_TYPE_PTR , typename FILTER_TYPE , typename VOXEL_TYPE >
RETURN_TYPE_PTR getInputAsItkImportImageAndSubImg (Module &op, int inIdx, TSubImage< VOXEL_TYPE > &dataSubImg, bool correctSVS=true)
 Reads and updates an input image from the input number inIdx of Module op and sets up the referenced TSubImage dataSubImg with size, and data allocated from the MLMemoryManager as string memory handle which means that the data will be released when dataSubImg is destroyed.
std::string mlVTKMakeStdString (const char *str)
 Convert for a char pointer to a std::string safely.
std::string mlVTKMakeStdString (const std::string &str)
 Convert for a std::string to a std::string safely.
std::string mlVTKGetLatin1FromUTF8 (const std::string &utf8StdString)
 Convert string from UTF8 to Latin1; return empty string on failure or if "" is passed as utf8StdString.
std::string & mlVTKGetLatin1FromUTF8Static (const std::string &utf8StdString)
 Like mlVTKGetLatin1FromUTF8(const std::string &utf8StdString); the only difference is that the return value is stored in a static variable to maintain the return value.
std::string mlVTKGetUTF8FromLatin1 (const std::string &latin1StdString)
 Convert string from Latin1 to UTF8; return empty string on failure or if "" is passed as latin1StdString.
std::string & mlVTKGetUTF8FromLatin1Static (const std::string &latin1StdString)
 Like mlVTKGetUTF8FromLatin1(const std::string &latin1StdString); the only difference is that the return value is stored in a static variable to maintain the return value.
template<typename TemplArrElemType >
void VTKArrayFromFixedSizeSTLVector (const VTKML_TYPENAME std::vector< TemplArrElemType > &stlVec, TemplArrElemType *arr, size_t TemplArrSize)
 Copies TemplArrSize elements from stlVec to arr and - if not enough elements are available - fills up the rest with 0.
template<typename TemplArrElemType , unsigned int TemplArrSize>
const VTKML_TYPENAME
std::vector< TemplArrElemType > 
STLVectorFromFixedSizeVTKArray (const TemplArrElemType *theArray)
 Create an STL vector with type TemplArrElemType which contains TemplArrSize elements which are read from theArray, hence the array must have at least TemplArrSize elements.
MLVTK_SUPPORT_EXPORT vtkObject * checkPointer (const std::string &reqConnectType, vtkObject *vtkObjPtr)
MLVTK_SUPPORT_EXPORT int VTKCommonTypesAndWrappersInit ()
 Initializes the wrapper classes.
vtkMatrix4x4 * VTKMatrix4x4FromMLMatrix (const Matrix4 &mat)
 Convert an ML 4x4 matrix to a VTK 4x4 matrix which is created with vtkMatrix4x4::New() and which must be deleted by caller with vtkMatrix4x4::Delete().
Matrix4 MLMatrixFromVTKMatrix4x4 (const vtkMatrix4x4 *mat)
 Convert a VTK 4x4 matrix to an ML 4x4 matrix.
template<typename Derived >
void intrusive_ptr_add_ref (const IntrusivePtrBase< Derived > *ptr)
 Provide overloads for reference counting functions used by boost::intrusive_ptr.
template<typename Derived >
void intrusive_ptr_release (const IntrusivePtrBase< Derived > *ptr)
ML initialization and destruction
MLEXPORT MLint32 initML ()
 Initializes the ML, the runtime type system, the memory manager, fields, static buffers, error and debug printings etc.
MLEXPORT void destroyML ()
 Delete dynamic data structures allocated by initML.
MLEXPORT void setMLEnvironment ()
 Set ML state dependent on environment variables.
Casting of SubImage to TSubImage<T>
template<typename T >
TSubImage< T > & tsubimage_cast (SubImage &subImg)
 The tsubimage_cast allows to cast a SubImage (pointer or reference) to a typed TSubImage<T> (pointer or reference).
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 >
mlMin (T a, T b)
 Defines ML specific min template since min template is platform dependent.
template<typename T >
mlMax (T a, T b)
 Defines ML specific max template since max template is platform dependent.
template<typename T >
mlAbs (T a)
 Defines ML specific abs template since only type depended library functions exists.
MLuint8 mlAbs (MLuint8 a)
 Implement mlAbs specializations to avoid comparison < 0 warnings on unsigned types.
MLuint16 mlAbs (MLuint16 a)
MLuint32 mlAbs (MLuint32 a)
MLuint64 mlAbs (MLuint64 a)
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.
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.
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 scalar value.
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.
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.
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.
template<class T , size_t size, class DataContainer >
bool operator! (const FloatingPointVector< T, size, DataContainer > &a)
 Returns true if all components are 0, otherwise returns false.
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.
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.
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...
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.
template<class T , size_t size, class DataContainer >
operator* (const FloatingPointVector< T, size, DataContainer > &a, const FloatingPointVector< T, size, DataContainer > &b)
 Dot product, returns a.dot(b).
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.
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.
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 specialied rhs of type MLdouble.
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.
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.
template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size,
DataContainer > 
compAbs (FloatingPointVector< T, size, DataContainer > a)
 Return vector with all components from a without negative sign.
template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size,
DataContainer > 
compSqr (FloatingPointVector< T, size, DataContainer > a)
 Return vector with all components from a squared.
template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size,
DataContainer > 
compSqrt (FloatingPointVector< T, size, DataContainer > a)
 Return vector with all components from a square-rooted.
template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size,
DataContainer > 
compDiv (FloatingPointVector< T, size, DataContainer > a, const FloatingPointVector< T, size, DataContainer > &d)
 Component wise division of a / d.
template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size,
DataContainer > 
clampMin (FloatingPointVector< T, size, DataContainer > a, const FloatingPointVector< T, size, DataContainer > &m)
 Return new vector with all components from a clamped to minimum m.
template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size,
DataContainer > 
clampMax (FloatingPointVector< T, size, DataContainer > a, const FloatingPointVector< T, size, DataContainer > &m)
 Return new vector with all components from a clamped to maximum m.
template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size,
DataContainer > 
clamp (FloatingPointVector< T, size, DataContainer > a, const FloatingPointVector< T, size, DataContainer > &lower, const FloatingPointVector< T, size, DataContainer > &upper)
 Return new vector with all components from a clamped to range [lower, upper].
template<class T , size_t size, class DataContainer >
compMul (const FloatingPointVector< T, size, DataContainer > &a)
 Return product of all components.
Functions and operators for class Tmat2.
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 ? Return true if yes.
template<class DT >
bool operator!= (const Tmat2< DT > &a, const Tmat2< DT > &b)
 a != b ? Return true if yes.
Standalone functions and operators for class Tmat2.
template<class DT >
Tmat2< DT > operator- (const Tmat2< DT > &a)
 Returns matrix a with all values negated.
template<class DT >
Tmat2< DT > operator+ (const Tmat2< DT > &a, const Tmat2< DT > &b)
 Returns component wise sum of matrix a and matrix b.
template<class DT >
Tmat2< DT > operator- (const Tmat2< DT > &a, const Tmat2< DT > &b)
 Returns component wise difference of matrix a and matrix b.
template<class DT >
Tmat2< DT > operator* (const Tmat2< DT > &a, DT d)
 Returns the component wise multiplication of matrix a with scalar d.
template<class DT >
Tmat2< DT > operator* (const DT d, const Tmat2< DT > &a)
 Returns the component wise multiplication of scalar d with matrix a.
template<class DT >
Tmat2< DT > operator/ (const Tmat2< DT > &a, const DT d)
 Return the component wise division of matrix a by scalar d.
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.
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.
Global operators and functions of class Tmat3.
template<class DT >
Tmat3< DT > operator- (const Tmat3< DT > &a)
 Returns matrix a with all values negated.
template<class DT >
Tmat3< DT > operator+ (const Tmat3< DT > &a, const Tmat3< DT > &b)
 Returns component wise sum of matrix a and matrix b.
template<class DT >
Tmat3< DT > operator- (const Tmat3< DT > &a, const Tmat3< DT > &b)
 Returns component wise difference of matrix a and matrix b.
template<class DT >
Tmat3< DT > operator* (const Tmat3< DT > &a, const DT d)
 Returns the component wise multiplication of matrix a with scalar d.
template<class DT >
Tmat3< DT > operator* (const DT d, const Tmat3< DT > &a)
 Returns the component wise multiplication of scalar d with matrix a.
template<class DT >
Tmat3< DT > operator/ (const Tmat3< DT > &a, const DT d)
 Return the component wise division of matrix a by scalar d.
Special Functions
template<class DT >
Tmat3< DT > operator* (const Tmat3< DT > &a, const Tmat3< DT > &b)
 Matrix 3 product.
template<class DT >
bool operator== (const Tmat3< DT > &a, const Tmat3< DT > &b)
 a == b ? Return true if yes, otherwise false.
template<class DT >
bool operator!= (const Tmat3< DT > &a, const Tmat3< DT > &b)
 a != b ? Return true if yes, otherwise false.
template<class DT >
Tmat3< DT > identity2D ()
 Returns a 3x3 homogeneous identity2D matrix; synonym for Tmat3<DT>::getIdentity().
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 colum.
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.
template<class DT >
Tmat3< DT > scaling2D (const Tvec2< DT > &scaleVector)
 Returns a 2D scale matrix as 3D homogeneous matrix.
template<class DT >
Tmat5< DT > operator* (const Tmat5< DT > &a, const Tmat5< DT > &b)
 Matrix product.
template<class DT >
bool operator== (const Tmat5< DT > &a, const Tmat5< DT > &b)
 a == b ? Return true if yes, otherwise false.
template<class DT >
bool operator!= (const Tmat5< DT > &a, const Tmat5< DT > &b)
 a != b ? Return true if yes, otherwise false.
template<class DT >
Tmat6< DT > operator* (const Tmat6< DT > &a, const Tmat6< DT > &b)
 Matrix product.
template<class DT >
bool operator== (const Tmat6< DT > &a, const Tmat6< DT > &b)
 a == b ? Return true if yes, otherwise false.
template<class DT >
bool operator!= (const Tmat6< DT > &a, const Tmat6< DT > &b)
 a != b ? Return true if yes, otherwise false.
template<class DT >
Tvec6< DT > operator* (const Tmat6< DT > &a, const Tvec6< DT > &v)
 Multiplies 6x6 matrix a with vector v.
template<class DT >
Tvec6< DT > operator* (const Tvec6< DT > &v, const Tmat6< DT > &a)
 Multiplies vector v with 6x6 matrix a.
Functions and operators for class Tmat4.
template<class DT >
Tmat4< DT > operator* (const Tmat4< DT > &a, const Tmat4< DT > &b)
 a * b. Standard matrix multiplication.
template<class DT >
bool operator== (const Tmat4< DT > &a, const Tmat4< DT > &b)
 a == b ? Return true if yes.
template<class DT >
bool operator!= (const Tmat4< DT > &a, const Tmat4< DT > &b)
 a != b ? Return true if yes.
Global functions and operators for class Tmat4.
template<class DT >
Tmat4< DT > operator- (const Tmat4< DT > &a)
 Returns matrix a with all values negated.
template<class DT >
Tmat4< DT > operator+ (const Tmat4< DT > &a, const Tmat4< DT > &b)
 Returns component wise sum of matrix a and matrix b.
template<class DT >
Tmat4< DT > operator- (const Tmat4< DT > &a, const Tmat4< DT > &b)
 Returns component wise difference of matrix a and matrix b.
template<class DT >
Tmat4< DT > operator* (const Tmat4< DT > &a, const DT d)
 Returns the component wise multiplication of matrix a with scalar d.
template<class DT >
Tmat4< DT > operator* (const DT d, const Tmat4< DT > &a)
 Returns the component wise multiplication of scalar d with matrix a.
template<class DT >
Tmat4< DT > operator/ (const Tmat4< DT > &a, const DT d)
 Return the component wise division of matrix a by scalar d.
Tmat4<DT> member functions
template<class DT >
Tmat4< DT > identity3D ()
 Returns a 4x4 homogeneous identity3D matrix; synonym for Tmat4<DT>::getIdentity().
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.
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 where center specifies the center of rotation.
template<class DT >
Tmat4< DT > scaling3D (const Tvec3< DT > &scaleVector)
 Scaling 3D.
template<class DT >
Tmat4< DT > perspective3D (const DT d)
 Create a 4x4 homogeneous perspective projection matrix with perspective shortening value given by d which must differ from zero to avoid errors.
Standalone operators of class Tmat5.
template<class DT >
Tmat5< DT > operator- (const Tmat5< DT > &a)
 Returns matrix a with all values negated.
template<class DT >
Tmat5< DT > operator+ (const Tmat5< DT > &a, const Tmat5< DT > &b)
 Returns component wise sum of matrix a and matrix b.
template<class DT >
Tmat5< DT > operator- (const Tmat5< DT > &a, const Tmat5< DT > &b)
 Returns component wise difference of matrix a and matrix b.
template<class DT >
Tmat5< DT > operator* (const Tmat5< DT > &a, const DT d)
 Returns the component wise multiplication of matrix a with scalar d.
template<class DT >
Tmat5< DT > operator* (const DT d, const Tmat5< DT > &a)
 Returns the component wise multiplication of scalar d with matrix a.
template<class DT >
Tmat5< DT > operator/ (const Tmat5< DT > &a, const DT d)
 Return the component wise division of matrix a by scalar d.
Standalone operators of class Tmat6.
template<class DT >
Tmat6< DT > operator- (const Tmat6< DT > &a)
 Returns matrix a with all values negated.
template<class DT >
Tmat6< DT > operator+ (const Tmat6< DT > &a, const Tmat6< DT > &b)
 Returns component wise sum of matrix a and matrix b.
template<class DT >
Tmat6< DT > operator- (const Tmat6< DT > &a, const Tmat6< DT > &b)
 Returns component wise difference of matrix a and matrix b.
template<class DT >
Tmat6< DT > operator* (const Tmat6< DT > &a, const DT d)
 Returns the component wise multiplication of matrix a with scalar d.
template<class DT >
Tmat6< DT > operator* (const DT d, const Tmat6< DT > &a)
 Returns the component wise multiplication of scalar d with matrix a.
template<class DT >
Tmat6< DT > operator/ (const Tmat6< DT > &a, const DT d)
 Return the component wise division of matrix a by scalar d.
template<typename DATATYPE >
static bool _isScalarValueInRange (const DATATYPE &v, bool normal, double minVal, double maxVal, OverloadSelector::OnTrue)
 Check if a value is in the given range.
template<typename DATATYPE >
static bool isScalarValueInRange (const DATATYPE &v, bool normal, double minVal, double maxVal)
template<typename IN_DATATYPE , typename OUT_DATATYPE >
static void MLKernelToolsCopyLine (const IN_DATATYPE *inCursor, OUT_DATATYPE *outCursor, size_t numVox, MLsoffset srcVoxelOffset)
 Copy the line from input subimage which corresponds to the line to be modified in the output image.
template<typename IN_DATATYPE , typename OUT_DATATYPE , typename K_DATATYPE >
static void MLKernelToolsCorrelateLine (const IN_DATATYPE *inCursor, OUT_DATATYPE *outCursor, size_t numVox, const K_DATATYPE *valTab, const MLsoffset *indexTab, size_t indexTabSize)
 Correlate all voxels of the a row pointed to by inCursor with the current kernel and write the result into the row pointed to by outCursor.
template<typename IN_DATATYPE , typename OUT_DATATYPE , typename K_DATATYPE >
static void MLKernelToolsCorrelateLineWithImageInterval (const IN_DATATYPE *inCursor, OUT_DATATYPE *outCursor, size_t numVox, const K_DATATYPE *valTab, const MLsoffset *indexTab, size_t indexTabSize, MLsoffset srcVoxelOffset, MLdouble minVal, MLdouble maxVal)
 Correlate all voxels of the a row pointed to by inCursor with the current kernel and write the result into the row pointed to by outCursor.
template<typename IN_DATATYPE , typename OUT_DATATYPE , typename K_DATATYPE >
static void MLKernelToolsCorrelateLineWithKernelInterval (const IN_DATATYPE *inCursor, OUT_DATATYPE *outCursor, size_t numVox, const K_DATATYPE *valTab, const MLsoffset *indexTab, size_t indexTabSize, MLsoffset srcVoxelOffset, MLdouble minVal, MLdouble maxVal)
 Correlate all voxels of the a row pointed to by inCursor with the current kernel and write the result into the row pointed to by outCursor.
template<typename IN_DATATYPE , typename OUT_DATATYPE , typename K_DATATYPE >
static void MLKernelToolsCorrelateLineWithImageAndKernelInterval (const IN_DATATYPE *inCursor, OUT_DATATYPE *outCursor, size_t numVox, const K_DATATYPE *valTab, const MLsoffset *indexTab, size_t indexTabSize, MLsoffset srcVoxelOffset, MLdouble imgIntMinVal, MLdouble imgIntMaxVal, MLdouble kernIntMinVal, MLdouble kernIntMaxVal)
 Correlate all voxels of the a row pointed to by inCursor with the current kernel and write the result into the row pointed to by outCursor.
template<typename IN_DATATYPE , typename OUT_DATATYPE , typename K_DATATYPE >
static void MLKernelToolsCorrelateLineEvtWithIntervals (const IN_DATATYPE *inCursor, OUT_DATATYPE *outCursor, size_t numVox, const K_DATATYPE *valTab, const MLsoffset *indexTab, size_t indexTabSize, MLsoffset srcVoxelOffset, MLdouble imgIntMinVal, MLdouble imgIntMaxVal, MLdouble kernIntMinVal, MLdouble kernIntMaxVal, bool useImgInt, bool useKernInt)
 Correlate all voxels of the a row pointed to by inCursor with the current kernel and write the result into the row pointed to by outCursor.
template<typename DATATYPE >
static void MLKernelToolsApplyFiltering (const ImageVector &inImgExt, LineApplicator< DATATYPE > &lineApp, KernelTools::BorderHandling borderHandling, MLdouble fillValue, TSubImageWithCursor< DATATYPE > &outSubImg, TSubImageWithCursor< DATATYPE > &inSubImg)
 Compute the page outSubImg by filtering inSubImg with the lineApp instance which contains the kernel and intervals.
template<typename DATATYPE >
static void MLKernelToolsApplyFiltering (const ImageVector &inImgExt, const fctLineFilter< DATATYPE > &lineFilter, const ImageVector &negKernelExt, const ImageVector &posKernelExt, KernelTools::BorderHandling borderHandling, MLdouble fillValue, TSubImageWithCursor< DATATYPE > &outSubImg, TSubImageWithCursor< DATATYPE > &inSubImg)
 Compute the page outSubImg by filtering inSubImg with the passed function taking care of correct intervals and boundary handling.
template<class T >
mul (const Cslice_iter< T > &v1, const std::valarray< T > &v2)
 vector multiplication interpret valarray v2 as line vector This function is used to assist implementation of the other matrix multiplications.
template<class T >
std::valarray< T > operator* (const MatrixTemplate< T > &m, const std::valarray< T > &v)
 implements standard matrix-vector multiplication
template<class T >
std::valarray< T > mul_mv (const MatrixTemplate< T > &m, std::valarray< T > &v)
 alternative definition of m*v
template<class T >
std::valarray< T > operator* (std::valarray< T > &v, const MatrixTemplate< T > &m)
 implements standard vector-matrix multiplication
template<class T >
std::ostream & operator<< (std::ostream &os, MatrixTemplate< T > &m)
 override operator<<(.,.) for class MatrixTemplate<T>

Variables

ML_LINEAR_ALGEBRA_EXPORT
typedef TImageVector< MLint
ImageVector
 Defines the standard ImageVector type which is used by the ML for indexing and coordinates.
const MLint _ML_STD_SLEN = 64
 Length of strings for component descriptions and class names.
ML_UTILS_EXPORT ErrorOutput MLErrorOutput
 This is a singleton used for all ML Error input and output;.
ML_UTILS_EXPORT Notify MLNotify
 Singleton which contains all registered callback functions of the ML.
ML_UTILS_EXPORT TraceBuffer
< MLGlobalTraceBufferType
MLGlobalTraceBuffer
 This is a global singleton of the TraceBuffer class.
MLLUT_EXPORT const char * LUTVisualTypeName [LUT_NUM_VISUAL_TYPE_LAYOUTS]
 Visual type name strings ("L", "LA", ...)
const int WEM_PATCH_ID_ALL = -1
 Patch Id meaning: all patches.
const int WEMFACECUT_SINGLE_PART = 0
 Local cut definition: single part.
const int WEMFACECUT_SINGLE_INTERMEDIATE = 1
 Local cut definition: single intermediate.
const int WEMFACECUT_MULTI_INTERMEDIATE = 2
 Local cut definition: multi intermediate.
const int WEMFACECUT_SAME_EDGE = 3
 Local cut definition: same edge.
const int WEMFACECUT_STAB = 4
 Local cut definition: stab.
const int WEMPARTIALFACECUT_CLOSED = 0
 Local definition: closed cut.
const int WEMPARTIALFACECUT_HALF_OPEN = 1
 Local definition: half open cut.
const int WEMPARTIALFACECUT_OPEN = 2
 Local definition: open cut.
const int EDGE_SEVERITY_ALLISWELL = 0
 Error status: no error at all.
const int EDGE_SEVERITY_NOTICE = 1
 Error status: just a notice.
const int EDGE_SEVERITY_WARNING = 2
 Error status: a warning.
const int EDGE_SEVERITY_ERROR = 3
 Error status: an error.
const int EDGE_SEVERITY_FATAL = 4
 Error status: a serious error.
const int FACE_SEVERITY_ALLISWELL = 0
 Error status: no error at all.
const int FACE_SEVERITY_NOTICE = 1
 Error status: just a notice.
const int FACE_SEVERITY_WARNING = 2
 Error status: a warning.
const int FACE_SEVERITY_ERROR = 3
 Error status: an error.
const int FACE_SEVERITY_FATAL = 4
 Error status: a serious error.
const int NODE_SEVERITY_ALLISWELL = 0
 Error status: no error at all.
const int NODE_SEVERITY_NOTICE = 1
 Error status: just a notice.
const int NODE_SEVERITY_WARNING = 2
 Error status: a warning.
const int NODE_SEVERITY_ERROR = 3
 Error status: an error.
const int NODE_SEVERITY_FATAL = 4
 Error status: a serious error.
const int PATCH_SEVERITY_ALLISWELL = 0
 Error status: no error at all.
const int PATCH_SEVERITY_NOTICE = 1
 Error status: just a notice.
const int PATCH_SEVERITY_WARNING = 2
 Error status: a warning.
const int PATCH_SEVERITY_ERROR = 3
 Error status: an error.
const int PATCH_SEVERITY_FATAL = 4
 Error status: a serious error.
const unsigned int WEMSETOP_OUTPUT_FIRST = 0
 Output mode: first patch only.
const unsigned int WEMSETOP_OUTPUT_SECOND = 1
 Output mode: second patch only.
const unsigned int WEMSETOP_OUTPUT_BOTH = 2
 Output mode: both patches.
const unsigned int WEMSETOP_BOOLEAN_UNION = 0
 Set operation: union.
const unsigned int WEMSETOP_BOOLEAN_INTERSECTION = 1
 Set operation: intersection.
const unsigned int WEMSETOP_BOOLEAN_DIFFERENCE = 2
 Set operation: difference.
const std::string nameCommonNumCSOs = "NumCSOs"
 String name for the number of CSOs.
const std::string nameCommonNumGroups = "NumGroups"
 String name for the number of CSOGroups.
const std::string nameCommonNumSelectedCSOs = "NumSelectedCSOs"
 String name for the number of selected CSOs.
const std::string nameCommonNumSelectedGroups = "NumSelectedGroups"
 String name for the number of selected CSOGroups.
const std::string nameAttribId = "Id"
 String name for an id.
const std::string nameAttribLabel = "Label"
 String name for a label.
const std::string nameAttribDescription = "Description"
 String name for a description.
const std::string nameAttribTimePointIndex = "TimePointIndex"
 String name for a time point index.
const std::string nameAttribShowState = "ShowState"
 String name for the show state.
const std::string nameAttribVoxelizeState = "VoxelizeState"
 String name for the voxelize state.
const std::string nameAttribEditableState = "EditableState"
 String name for the editable state.
const std::string nameAttribPathPointStyle = "PathPointStyle"
 String name for a path point style.
const std::string nameAttribPathPointWidth = "PathPointWidth"
 String name for a path point width.
const std::string nameAttribPathPointColor = "PathPointColor"
 String name for a path point color.
const std::string nameAttribPathPointAlpha = "PathPointAlpha"
 String name for a path point alpha.
const std::string nameAttribSeedPointStyle = "SeedPointStyle"
 String name for a seed point style.
const std::string nameAttribSeedPointSize = "SeedPointSize"
 String name for a seed point size.
const std::string nameAttribSeedPointColor = "SeedPointColor"
 String name for a seed point color.
const std::string nameAttribSeedPointAlpha = "SeedPointAlpha"
 String name for a seed point alpha.
const std::string nameAttribVoxelWriteMode = "VoxelWriteMode"
 String name for the voxel write mode.
const std::string nameAttribVoxelWriteValue = "VoxelWriteValue"
 String name for the voxel write value.
const std::string nameAttribNumUserData = "NumUserData"
const std::string nameAttribUserDataName = "UserDataName"
const std::string nameAttribUserDataType = "UserDataType"
const std::string nameAttribUserDataValue = "UserDataValue"
const std::string nameCSONumSeedPoints = "NumSeedPoints"
 String name for the number of seed points.
const std::string nameCSONumPathPointLists = "NumPathPointLists"
 String name for the number of path point lists.
const std::string namePathNumPoints = "PathNumPoints"
 String name for the number of points in a path point list.
const std::string nameCSOFinished = "IsFinished"
 String name for the finished state of a CSO.
const std::string nameCSOClosed = "IsClosed"
 String name for the closed state of a CSO.
const std::string nameCSOInPlane = "IsInPlane"
 String name for the in-plane state of a CSO.
const std::string nameCSOPlaneNormal = "PlaneNormal"
 String name for the plane normal of a CSO.
const std::string nameCSOBoundingBox = "BoundingBox"
 String name for the bounding box of a CSO.
const std::string nameCSOType = "Type"
 String name for the type of a CSO.
const std::string nameCSOSubType = "SubType"
 String name for the subtype of a CSO.
const std::string nameCSOCreatorId = "CreatorId"
 String name for the creator id of a CSO.
const std::string nameGroupUseTimePointIndex = "UseTimePointIndex"
 String name for the use time point index state of a CSOGroup.
const std::string nameGroupUseShowState = "UseShowState"
 String name for the use show state of a CSOGroup.
const std::string nameGroupUseVoxelizeState = "UseVoxelizeState"
 String name for the use voxelize state of a CSOGroup.
const std::string nameGroupUseEditableState = "UseEditableState"
 String name for the use editable state of a CSOGroup.
const std::string nameGroupUsePathPointStyle = "UsePathPointStyle"
 String name for the use path point style of a CSOGroup.
const std::string nameGroupUsePathPointWidth = "UsePathPointWidth"
 String name for the use path point width of a CSOGroup.
const std::string nameGroupUsePathPointColor = "UsePathPointColor"
 String name for the use path point color of a CSOGroup.
const std::string nameGroupUsePathPointAlpha = "UsePathPointAlpha"
 String name for the use path point alpha of a CSOGroup.
const std::string nameGroupUseSeedPointStyle = "UseSeedPointStyle"
 String name for the use seed point style of a CSOGroup.
const std::string nameGroupUseSeedPointSize = "UseSeedPointSize"
 String name for the use seed point size of a CSOGroup.
const std::string nameGroupUseSeedPointColor = "UseSeedPointColor"
 String name for the use seed point color of a CSOGroup.
const std::string nameGroupUseSeedPointAlpha = "UseSeedPointAlpha"
 String name for the use seed point alpha of a CSOGroup.
const std::string nameGroupUseVoxelWriteMode = "UseVoxelWriteMode"
 String name for the use voxel write mode state of a CSOGroup.
const std::string nameGroupUseVoxelWriteValue = "UseVoxelWriteValue"
 String name for the use voxel write value state of a CSOGroup.
const CSOPathPointIterator CSOPathPointIteratorEnd = CSOPathPointIterator()
 A symbolic iterator that indicates that a CSOPathPointIterator has reached the end of a cso.
const CSOPathPointConstIterator CSOPathPointConstIteratorEnd = CSOPathPointConstIterator()
 A symbolic iterator that indicates that a CSOPathPointConstIterator has reached the end of a cso.
static const char * SUB_TYPE_ISO_FIXED_SINGLE = "SUB_TYPE_ISO_FIXED_SINGLE"
 Subtype: a single CSO at a fixed iso value.
static const char * SUB_TYPE_ISO_INTERACTIVE_SINGLE = "SUB_TYPE_INTERACTIVE_SINGLE"
 Subtype: a single CSO at some interactively chosen value.
static const char * SUB_TYPE_ISO_FIXED_ALL = "SUB_TYPE_ISO_FIXED_ALL"
 Subtype: all CSOs at a fixed value.
static const char * SUB_TYPE_ISO_INTERACTIVE_ALL = "SUB_TYPE_INTERACTIVE_ALL"
 Subtype: all CSOs at some interactively chosen value.
const float EULER_FACTOR = 1.0f / (6.0f * 2.718281828459f * 2.718281828459f)
 Constant factor for normalizing the result of the Laplacian kernel convolution.
const float SQRT_2 = 1.414213562373f
 Constant factor: square root of 2.
static const char * PrimitiveTypes [2] = {"Rectangle", "Ellipse"}
 The module's types as strings.
static const char * SUB_TYPE_RECT = "SUB_TYPE_RECT"
 Subtype: a rectangle.
static const char * SUB_TYPE_ELLIPSE = "SUB_TYPE_ELLIPSE"
 Subtype: an ellipse.
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.
const int MLVariableType1 = _ML_SWITCH_SELECT_OFFSET+1
 Defines to use the result type of variable type 1.
const int MLVariableType2 = _ML_SWITCH_SELECT_OFFSET+2
 Defines to use the result type of variable type 2.
const int MLVariableType3 = _ML_SWITCH_SELECT_OFFSET+3
 Defines to use the result type of variable type 3.
const int MLGenericType = _ML_SWITCH_SELECT_OFFSET+10
 Defines special index to use a generic type.
const std::string nameAttribLineStyle = "LineStyle"
 String name for the line style.
const std::string nameAttribColor = "Color"
 String name for the line's color.
const std::string nameAttribAlpha = "Alpha"
 String name for the line's alpha value.
const std::string nameAttribLineWidth = "LineWidth"
 String name for the line width.
const std::string nameAttribMarkerMode = "MarkerMode"
 String name for the marker mode.
const std::string nameAttribMarkerColor = "MarkerColor"
 String name for the marker's color.
const std::string nameAttribMarkerAlpha = "MarkerAlpha"
 String name for the marker's alpha value.
const std::string nameAttribMarkerSize = "MarkerSize"
 String name for the marker's size.
const std::string nameAttribVoxelValue = "VoxelValue"
 String name for the voxel write value.
const std::string nameGroupUseVisuals = "UseVisuals"
 String name for the use visual state of a CSOGroup.
const std::string nameGroupUseMarkerSettings = "UseMarkerSettings"
 String name for the use marker settings state of a CSOGroup.
Direction constants. They are sorted in a way that horizontal directions range from 0 to 3 and diagonal directions from 4 to 7.
const unsigned char DIR_N = 0
 Direction: North.
const unsigned char DIR_E = 1
 Direction: East.
const unsigned char DIR_S = 2
 Direction: South.
const unsigned char DIR_W = 3
 Direction: West.
const unsigned char DIR_NE = 4
 Direction: North East.
const unsigned char DIR_SE = 5
 Direction: South East.
const unsigned char DIR_SW = 6
 Direction: South West.
const unsigned char DIR_NW = 7
 Direction: North West.

Deprecated

typedef Vector2Field Vec2fField
typedef Vector3Field Vec3fField
typedef Vector4Field Vec4fField
typedef Vector5Field Vec5fField
typedef Vector6Field Vec6fField
typedef Vector10Field Vec10fField
typedef Matrix2Field Mat2Field
typedef Matrix3Field Mat3Field
typedef Matrix4Field Mat4Field
typedef Matrix5Field Mat5Field
typedef Matrix6Field Mat6Field
typedef ImageVectorField VectorField
typedef SubImageBoxField SubImgBoxField
typedef SubImageBoxdField SubImgBoxfField
 Use SubImageBoxdField instead of SubImgBoxfField.
typedef InputSubImageProperties InSubImageProperties
typedef MemoryImage MemoryImg
typedef ModuleTools BaseOpTools
typedef PagedImage PagedImg
typedef SubImage SubImg
typedef TSubImageBox< MLint16SubImgBox16
typedef TSubImageBox< MLint32SubImgBox32
typedef TSubImageBox< MLint64SubImgBox64
typedef SubImageBox SubImgBox
typedef SubImageBoxd SubImgBoxf
typedef Tmat2< MLfloatmatf2
 A floating point 2x2 matrix.
typedef Tmat2< MLdoublematd2
 A double 2x2 matrix.
typedef Tmat2< MLldoublematld2
 A long double double 2x2 matrix.
typedef Tmat2< MLdoublemat2
 Define the standard mat2 type, using double.
typedef Tmat3< MLfloatmatf3
 A floating point 3x3 matrix.
typedef Tmat3< MLdoublematd3
 A double 3x3 matrix.
typedef Tmat3< MLldoublematld3
 A long double double 3x3 matrix.
typedef Tmat3< MLdoublemat3
 Define the standard mat3 type, using double.
typedef Tmat4< MLfloatmatf4
 A floating point 4x4 matrix.
typedef Tmat4< MLdoublematd4
 A double 4x4 matrix.
typedef Tmat4< MLldoublematld4
 A long double double 4x4 matrix.
typedef Tmat4< MLdoublemat4
 Define the standard mat4 type, using double.
typedef Tmat5< MLfloatmatf5
 A floating point 5x5 matrix.
typedef Tmat5< MLdoublematd5
 A double 5x5 matrix.
typedef Tmat5< MLldoublematld5
 A long double double 5x5 matrix.
typedef Tmat5< MLdoublemat5
 Define the standard mat5 type, using double.
typedef Tmat6< MLfloatmatf6
 A floating point 6x6 matrix.
typedef Tmat6< MLdoublematd6
 A double 6x6 matrix.
typedef Tmat6< MLldoublematld6
 A long double double 6x6 matrix.
typedef Tmat6< MLdoublemat6
 Define the standard mat6 type, using double.
typedef Tvec10< MLfloatvecf10
typedef Tvec10< MLdoublevecd10
typedef Tvec10< MLldoublevecld10
typedef Tvec10< MLdoublevec10
typedef Tvec16< MLfloatvecf16
typedef Tvec16< MLdoublevecd16
typedef Tvec16< MLldoublevecld16
typedef Tvec16< MLdoublevec16
typedef Tvec2< MLfloatvecf2
typedef Tvec2< MLdoublevecd2
typedef Tvec2< MLldoublevecld2
typedef Tvec2< MLdoublevec2
typedef Tvec3< MLfloatvecf3
typedef Tvec3< MLdoublevecd3
typedef Tvec3< MLldoublevecld3
typedef Tvec3< MLdoublevec3
typedef Tvec32< MLfloatvecf32
typedef Tvec32< MLdoublevecd32
typedef Tvec32< MLldoublevecld32
typedef Tvec32< MLdoublevec32
typedef Tvec4< MLfloatvecf4
typedef Tvec4< MLdoublevecd4
typedef Tvec4< MLldoublevecld4
typedef Tvec4< MLdoublevec4
typedef Tvec5< MLfloatvecf5
typedef Tvec5< MLdoublevecd5
typedef Tvec5< MLldoublevecld5
typedef Tvec5< MLdoublevec5
typedef Tvec6< MLfloatvecf6
typedef Tvec6< MLdoublevecd6
typedef Tvec6< MLldoublevecld6
typedef Tvec6< MLdoublevec6
typedef Tvec64< MLfloatvecf64
typedef Tvec64< MLdoublevecd64
typedef Tvec64< MLldoublevecld64
typedef Tvec64< MLdoublevec64
typedef Tvec7< MLfloatvecf7
typedef Tvec7< MLdoublevecd7
typedef Tvec7< MLldoublevecld7
typedef Tvec7< MLdoublevec7
typedef Tvec8< MLfloatvecf8
typedef Tvec8< MLdoublevecd8
typedef Tvec8< MLldoublevecld8
typedef Tvec8< MLdoublevec8
typedef Tvec9< MLfloatvecf9
typedef Tvec9< MLdoublevecd9
typedef Tvec9< MLldoublevecld9
typedef Tvec9< MLdoublevec9
typedef VesselEdge GraphEdge
typedef VesselNode GraphNode
ML_LINEAR_ALGEBRA_EXPORT
typedef ImageVector 
Vector

Shortcuts

enum  NData {
  DATA_NO = 0, DATA_SCL, DATA_BARYCENTER, DATA_DISTANCE,
  DATA_FLAG, DATA_NODE, DATA_GET_FKT, DATA_SET_FKT,
  DATA_AV_LEN, OUTDATA_CLUSTER, OUTDATA_LENGTH, OUTDATA_VOLUME,
  OUTDATA_POS, OUTDATA_GLOBAL_MIN_DIST, OUTDATA_AV_MIN_DIST, OUTDATA_ROOT
}
 data structure for passing informations down the processing pipe More...
typedef std::map< NData, void * > DataMap

Detailed Description

Define the namespace name like in the ML. Default is ml.

Include dll-specific settings.

Include dll-specific settings and basic itk bindings.

Include most ML specific things.

Standard itk function type used to be passed by wrappers.

Include most ml specific things.

Macro to put all following stuff 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 stuff after the usage of ML_UTILS_START_NAMESPACE.

Introduction

Include most ML specific things. Get C-API of ML.

Include all basic stuff for ITK wrapping.

Include most ml specific things. Include most ML specific things. Include base list containers for point-like lists etc.

Include most ML specific things. Include base list containers for point-like lists etc. Include required ITK stuff needed by many macros.

Include most ML specific things. Include most ML specific things. Include vtMatrix stuff.


Typedef Documentation

the id of a tile request

Definition at line 29 of file mlImagingBackgroundTask.h.

typedef void ml::BackgroundTaskFinishedCB(void *data, BackgroundTask *task)

Definition at line 32 of file mlBackgroundTask.h.

Definition at line 48 of file mlBackgroundTaskManager.h.

typedef void ml::BaseEventCallback(void *, BaseEvent *)

Definition at line 20 of file mlEventSource.h.

Deprecated:
Use ModuleTools instead of BaseOpTools.

Definition at line 91 of file mlModuleTools.h.

typedef boost::shared_ptr<Base> ml::BasePtr

Definition at line 50 of file mlObjMgrDataTypes.h.

typedef void ml::CalculateOutputImagePropertiesCB(void *userData, PagedImage *outImage)

Callback for the calculation of the output image properties for outputImage.

Definition at line 29 of file mlModuleInterfaces.h.

typedef std::vector<double> ml::CDouble1Vec

Definition at line 28 of file AssocGraph.h.

typedef std::vector<CDouble1Vec> ml::CDouble2Vec

Definition at line 29 of file AssocGraph.h.

typedef std::vector<CDouble2Vec> ml::CDoubleArray

Definition at line 30 of file AssocGraph.h.

typedef std::complex<double> ml::Complexd

Definition at line 56 of file mlITKNonScalarSupport.h.

typedef std::complex<float> ml::Complexf

Definition at line 55 of file mlITKNonScalarSupport.h.

typedef void ml::csoNotificationCB(void *data, int notificationFlag)

Defines the function signature for the callback methods that is to be touched by a CSOList notification.

Definition at line 29 of file CSOList.h.

typedef std::vector<double> ml::CurveSeries

Type definition of a standard vector of single series of X- or Y-values.

Definition at line 33 of file mlCurveData.h.

typedef std::map<NData, void *> ml::DataMap

Definition at line 63 of file mlGraphAnalyser.h.

Kernel type with MLdouble elements.

Definition at line 2420 of file mlKernel.h.

Kernel type with MLfloat elements.

Definition at line 2417 of file mlKernel.h.

Deprecated:
Use SubImageBoxd instead of SubImgBoxf.

Definition at line 247 of file mlVesselEdge.h.

Deprecated:
Use VesselNode instead of GraphNode.

Definition at line 175 of file mlVesselNode.h.

typedef std::vector< int > ml::IdVector

Definition at line 25 of file CSOEvent.h.

Define the STL container type of ImagePropertyExtension objects.

Definition at line 89 of file mlImagePropertyExtension.h.

Deprecated:
Use InputSubImageProperties instead of InSubImageProperties.

Definition at line 71 of file mlInputSubImageProperties.h.

Standard kernel type to be used in this kernel library.

Definition at line 2430 of file mlKernel.h.

Define the standard data type for kernel elements to be used in this library.

Definition at line 2427 of file mlKernel.h.

Kernel type with MLldouble elements.

Definition at line 2423 of file mlKernel.h.

typedef bool ml::ListContainerHandleNotificationCB(void *usrData, Field *field)

Callback for handleNotification forwarding (return false if notification should not be propagated to ListContainer)

Definition at line 46 of file mlListContainer.h.

typedef boost::mutex::scoped_lock ml::Lock

Defines a lock for locking a non-recursive mutex.

Definition at line 38 of file mlMutex.h.

typedef std::vector<LUTRGBAPoint> ml::LUTRGBAPointList

Type definition for a vector of sampling points.

Definition at line 108 of file mlLUTFLinear.h.

Define the standard mat2 type, using double.

Deprecated:
Use Matrix2 instead.

Definition at line 640 of file mlMatrix2.h.

Deprecated:
Use Matrix2Field instead of Mat2Field.

Definition at line 1843 of file mlFields.h.

Define the standard mat3 type, using double.

Deprecated:
Use Matrix3 instead.

Definition at line 853 of file mlMatrix3.h.

Deprecated:
Use Matrix3Field instead of Mat3Field.

Definition at line 1921 of file mlFields.h.

Define the standard mat4 type, using double.

Deprecated:
Use Matrix4 instead.

Definition at line 847 of file mlMatrix4.h.

Deprecated:
Use Matrix4Field instead of Mat4Field.

Definition at line 2042 of file mlFields.h.

Define the standard mat5 type, using double.

Deprecated:
Use Matrix5 instead.

Definition at line 833 of file mlMatrix5.h.

Deprecated:
Use Matrix5Field instead of Mat5Field.

Definition at line 2121 of file mlFields.h.

Define the standard mat6 type, using double.

Deprecated:
Use Matrix6 instead.

Definition at line 781 of file mlMatrix6.h.

Deprecated:
Use Matrix6Field instead of Mat6Field.

Definition at line 2201 of file mlFields.h.

A double 2x2 matrix.

Deprecated:
Use Matrix2d instead.

Definition at line 632 of file mlMatrix2.h.

A double 3x3 matrix.

Deprecated:
Use Matrix3d instead.

Definition at line 845 of file mlMatrix3.h.

A double 4x4 matrix.

Deprecated:
Use Matrix4d instead.

Definition at line 839 of file mlMatrix4.h.

A double 5x5 matrix.

Deprecated:
Use Matrix5d instead.

Definition at line 825 of file mlMatrix5.h.

A double 6x6 matrix.

Deprecated:
Use Matrix6d instead.

Definition at line 773 of file mlMatrix6.h.

A floating point 2x2 matrix.

Deprecated:
Use Matrix2f instead.

Definition at line 628 of file mlMatrix2.h.

A floating point 3x3 matrix.

Deprecated:
Use Matrix3f instead.

Definition at line 841 of file mlMatrix3.h.

A floating point 4x4 matrix.

Deprecated:
Use Matrix4f instead.

Definition at line 835 of file mlMatrix4.h.

A floating point 5x5 matrix.

Deprecated:
Use Matrix5f instead.

Definition at line 821 of file mlMatrix5.h.

A floating point 6x6 matrix.

Deprecated:
Use Matrix6f instead.

Definition at line 769 of file mlMatrix6.h.

A long double double 2x2 matrix.

Deprecated:
Use Matrix2ld instead.

Definition at line 636 of file mlMatrix2.h.

A long double double 3x3 matrix.

Deprecated:
Use Matrix3ld instead.

Definition at line 849 of file mlMatrix3.h.

A long double double 4x4 matrix.

Deprecated:
Use Matrix4ld instead.

Definition at line 843 of file mlMatrix4.h.

A long double double 5x5 matrix.

Deprecated:
Use Matrix5ld instead.

Definition at line 829 of file mlMatrix5.h.

A long double double 6x6 matrix.

Deprecated:
Use Matrix6ld instead.

Definition at line 777 of file mlMatrix6.h.

The standard 2x2 matrix of type double.

Definition at line 616 of file mlMatrix2.h.

A 2x2 matrix of type double.

Definition at line 612 of file mlMatrix2.h.

A 2x2 matrix of type float.

Definition at line 610 of file mlMatrix2.h.

A 2x2 matrix of type long double.

Definition at line 614 of file mlMatrix2.h.

The standard 3x3 matrix of type double.

Definition at line 829 of file mlMatrix3.h.

A 3x3 matrix of type double.

Definition at line 825 of file mlMatrix3.h.

A 3x3 matrix of type float.

Definition at line 823 of file mlMatrix3.h.

A 3x3 matrix of type long double.

Definition at line 827 of file mlMatrix3.h.

The standard 4x4 matrix of type double.

Definition at line 823 of file mlMatrix4.h.

A 4x4 matrix of type double.

Definition at line 819 of file mlMatrix4.h.

A 4x4 matrix of type float.

Definition at line 817 of file mlMatrix4.h.

A 4x4 matrix of type long double.

Definition at line 821 of file mlMatrix4.h.

The standard 5x5 matrix of type double.

Definition at line 809 of file mlMatrix5.h.

A 5x5 matrix of type double.

Definition at line 805 of file mlMatrix5.h.

A 5x5 matrix of type float.

Definition at line 803 of file mlMatrix5.h.

A 5x5 matrix of type long double.

Definition at line 807 of file mlMatrix5.h.

The standard 6x6 matrix of type double.

Definition at line 757 of file mlMatrix6.h.

A 6x6 matrix of type double.

Definition at line 753 of file mlMatrix6.h.

A 6x6 matrix of type float.

Definition at line 751 of file mlMatrix6.h.

A 6x6 matrix of type long double.

Definition at line 755 of file mlMatrix6.h.

Deprecated:
Use MemoryImage instead of MemoryImg.

Definition at line 246 of file mlMemoryImage.h.

The type used in the MLGlobalTraceBuffer.

Definition at line 236 of file mlTrace.h.

typedef std::complex<double> ml::mlItkComplexd

Definition at line 51 of file mlITKNonScalarSupport.h.

typedef std::complex<float> ml::mlItkComplexf

Definition at line 50 of file mlITKNonScalarSupport.h.

typedef itk::CovariantVector<double, 2> ml::mlItkCVVector2d

Definition at line 42 of file mlITKNonScalarSupport.h.

typedef itk::CovariantVector<float, 2> ml::mlItkCVVector2f

Definition at line 29 of file mlITKNonScalarSupport.h.

typedef itk::CovariantVector<double, 3> ml::mlItkCVVector3d

Definition at line 43 of file mlITKNonScalarSupport.h.

typedef itk::CovariantVector<float, 3> ml::mlItkCVVector3f

Definition at line 30 of file mlITKNonScalarSupport.h.

typedef itk::CovariantVector<double, 4> ml::mlItkCVVector4d

Definition at line 44 of file mlITKNonScalarSupport.h.

typedef itk::CovariantVector<float, 4> ml::mlItkCVVector4f

Definition at line 31 of file mlITKNonScalarSupport.h.

typedef itk::CovariantVector<double, 6> ml::mlItkCVVector6d

Definition at line 45 of file mlITKNonScalarSupport.h.

typedef itk::CovariantVector<float, 6> ml::mlItkCVVector6f

Definition at line 32 of file mlITKNonScalarSupport.h.

typedef itk::CovariantVector<double, 8> ml::mlItkCVVector8d

Definition at line 46 of file mlITKNonScalarSupport.h.

typedef itk::CovariantVector<float, 8> ml::mlItkCVVector8f

Definition at line 33 of file mlITKNonScalarSupport.h.

typedef itk::DiffusionTensor3D<double> ml::mlItkDiffusionTensor3Dd

Definition at line 61 of file mlITKNonScalarSupport.h.

typedef itk::DiffusionTensor3D<float> ml::mlItkDiffusionTensor3Df

Definition at line 60 of file mlITKNonScalarSupport.h.

typedef itk::SymmetricSecondRankTensor<double,3> ml::mlItkSymmetricSecondRankTensor3Dd

Definition at line 63 of file mlITKNonScalarSupport.h.

typedef itk::SymmetricSecondRankTensor<float, 3> ml::mlItkSymmetricSecondRankTensor3Df

Definition at line 62 of file mlITKNonScalarSupport.h.

typedef itk::Vector<double, 2> ml::mlItkVector2d

Definition at line 37 of file mlITKNonScalarSupport.h.

typedef itk::Vector<float, 2> ml::mlItkVector2f

Definition at line 24 of file mlITKNonScalarSupport.h.

typedef itk::Vector<double, 3> ml::mlItkVector3d

Definition at line 38 of file mlITKNonScalarSupport.h.

typedef itk::Vector<float, 3> ml::mlItkVector3f

Definition at line 25 of file mlITKNonScalarSupport.h.

typedef itk::Vector<double, 4> ml::mlItkVector4d

Definition at line 39 of file mlITKNonScalarSupport.h.

typedef itk::Vector<float, 4> ml::mlItkVector4f

Definition at line 26 of file mlITKNonScalarSupport.h.

typedef itk::Vector<double, 6> ml::mlItkVector6d

Definition at line 40 of file mlITKNonScalarSupport.h.

typedef itk::Vector<float, 6> ml::mlItkVector6f

Definition at line 27 of file mlITKNonScalarSupport.h.

typedef itk::Vector<double, 8> ml::mlItkVector8d

Definition at line 41 of file mlITKNonScalarSupport.h.

typedef itk::Vector<float, 8> ml::mlItkVector8f

Definition at line 28 of file mlITKNonScalarSupport.h.

typedef void(* ml::ModifierFunction)(SubImage *tSubImg, const ImageVector &p, void *userData)

Function type which modifies a value in a typed subimage given by tSubImg.

It receives the global position p of the voxel to be modified and a user data pointer set when the function is passed to the class. Note that this function must consider the data type of tSubImg.

Definition at line 63 of file mlRasterFunction.h.

typedef std::list<ObjMgrEvent> ml::omEventContainer

Declare type for event container;.

Definition at line 107 of file mlObjMgrEvent.h.

typedef omIDTypeT<char> ml::omIDType

Define default type for normal use with the typical string char type.

Definition at line 87 of file mlObjMgrObjectID.h.

typedef omMessageT<char> ml::omMessage

Define the normally used type from template type with normal string base char type.

Definition at line 74 of file mlObjMgrAttribute_Message.h.

Deprecated:
Use PagedImage instead of PagedImg.

Definition at line 734 of file mlPagedImage.h.

Define the default Quaternion type which is used by the ML; it uses double as component type.

Definition at line 1051 of file mlQuaternion.h.

The default Quaternion type used in the ML as specialization from TQuaternion.

Definition at line 1045 of file mlQuaternion.h.

A smaller Quaternion type as specialization from TQuaternion.

Definition at line 1042 of file mlQuaternion.h.

A large Quaternion type for further extensions of the ML as specialization from TQuaternion.

Definition at line 1048 of file mlQuaternion.h.

typedef boost::recursive_mutex::scoped_lock ml::RecursiveLock

Defines a lock for locking a recursive mutex.

Definition at line 31 of file mlMutex.h.

Double version of TScaleShiftData for maximum reasonable precision.

Definition at line 337 of file mlScaleShiftData.h.

typedef std::vector<MLint32> ml::std_MLint32Vec

Definition at line 48 of file mlObjMgrDataTypes.h.

typedef std::string ml::std_string

Definition at line 47 of file mlObjMgrDataTypes.h.

typedef std::vector<vec3> ml::std_vec3Vec

Definition at line 49 of file mlObjMgrDataTypes.h.

Define the standard SubImageBox type used in the ML. Its size varies with the size of the MLint type.

Definition at line 303 of file mlSubImageBox.h.

Deprecated:
Use SubImage instead of SubImg.

Definition at line 820 of file mlSubImage.h.

Deprecated:
Use SubImageBox instead.

Definition at line 322 of file mlSubImageBox.h.

Deprecated:
Use TSubImageBox<MLint16> directly instead.

Definition at line 310 of file mlSubImageBox.h.

Deprecated:
Use TSubImageBox<MLint32> directly instead.

Definition at line 314 of file mlSubImageBox.h.

Deprecated:
Use TSubImageBox<MLint64> directly instead.

Definition at line 318 of file mlSubImageBox.h.

Deprecated:
Use SubImageBoxd instead of SubImgBoxf.

Definition at line 202 of file mlSubImageBoxd.h.

Use SubImageBoxdField instead of SubImgBoxfField.

Definition at line 2539 of file mlFields.h.

Deprecated:
Use SubImageBoxField instead of SubImgBoxField.

Definition at line 2442 of file mlFields.h.

typedef boost::thread ml::Thread

Definition at line 23 of file mlThread.h.

typedef void ml::TileRequestFinishedCB(void *data, TileRequest *request)

Callback for a finished TileRequest.

Definition at line 29 of file mlTileRequest.h.

Deprecated:
Use Vector10 instead.

Definition at line 134 of file mlVector10.h.

Deprecated:
Use Vector10Field instead of Vec10fField.

Definition at line 1710 of file mlFields.h.

Deprecated:
Use Vector16 instead.

Definition at line 141 of file mlVector16.h.

Deprecated:
Use Vector2 instead.

Definition at line 194 of file mlVector2.h.

Deprecated:
Use Vector2Field instead of Vec2fField.

Definition at line 1253 of file mlFields.h.

Deprecated:
Use Vector3 instead.

Definition at line 359 of file mlVector3.h.

Deprecated:
Use Vector32 instead.

Definition at line 165 of file mlVector32.h.

Deprecated:
Use Vector3Field instead of Vec3fField.

Definition at line 1350 of file mlFields.h.

typedef FloatingPointVector<int, 3> ml::vec3i

A type definition of a 3D integer vector derived from FloatingPointVector; note that some FloatingPointVector functionality will not work precisely on integer values!

Definition at line 118 of file mlVecList.h.

Deprecated:
Use Vector4 instead.

Definition at line 208 of file mlVector4.h.

Deprecated:
Use Vector4Field instead of Vec4fField.

Definition at line 1448 of file mlFields.h.

typedef FloatingPointVector<int, 4> ml::vec4i

A type definition of a 4D integer vector derived from FloatingPointVector; note that some FloatingPointVector functionality will not work precisely on integer values!

Definition at line 144 of file mlVecList.h.

Deprecated:
Use Vector5 instead.

Definition at line 268 of file mlVector5.h.

Deprecated:
Use Vector5Field instead of Vec5Field.

Definition at line 1530 of file mlFields.h.

Deprecated:
Use Vector6 instead.

Definition at line 247 of file mlVector6.h.

Deprecated:
Use Vector64 instead.

Definition at line 190 of file mlVector64.h.

Deprecated:
Use Vector6Field instead of Vec6fField.

Definition at line 1629 of file mlFields.h.

typedef FloatingPointVector<int, 6> ml::vec6i

A type definition of a 6D integer vector derived from FloatingPointVector; note that some FloatingPointVector functionality will not work precisely on integer values!

Definition at line 169 of file mlVecList.h.

Deprecated:
Use Vector7 instead.

Definition at line 129 of file mlVector7.h.

Deprecated:
Use Vector8 instead.

Definition at line 130 of file mlVector8.h.

Deprecated:
Use Vector9 instead.

Definition at line 133 of file mlVector9.h.

Deprecated:
Use Vector10d instead.

Definition at line 128 of file mlVector10.h.

Deprecated:
Use Vector16d instead.

Definition at line 135 of file mlVector16.h.

Deprecated:
Use Vector2d instead.

Definition at line 188 of file mlVector2.h.

Deprecated:
Use Vector3d instead.

Definition at line 353 of file mlVector3.h.

Deprecated:
Use Vector32d instead.

Definition at line 159 of file mlVector32.h.

Deprecated:
Use Vector4d instead.

Definition at line 202 of file mlVector4.h.

Deprecated:
Use Vector5d instead.

Definition at line 262 of file mlVector5.h.

Deprecated:
Use Vector6d instead.

Definition at line 241 of file mlVector6.h.

Deprecated:
Use Vector64d instead.

Definition at line 184 of file mlVector64.h.

Deprecated:
Use Vector7d instead.

Definition at line 123 of file mlVector7.h.

Deprecated:
Use Vector8d instead.

Definition at line 124 of file mlVector8.h.

Deprecated:
Use Vector9d instead.

Definition at line 127 of file mlVector9.h.

Deprecated:
Use Vector10f instead.

Definition at line 125 of file mlVector10.h.

Deprecated:
Use Vector16f instead.

Definition at line 132 of file mlVector16.h.

Deprecated:
Use Vector2f instead.

Definition at line 185 of file mlVector2.h.

Deprecated:
Use Vector3f instead.

Definition at line 350 of file mlVector3.h.

Deprecated:
Use Vector32f instead.

Definition at line 156 of file mlVector32.h.

Deprecated:
Use Vector4f instead.

Definition at line 199 of file mlVector4.h.

Deprecated:
Use Vector5f instead.

Definition at line 259 of file mlVector5.h.

Deprecated:
Use Vector6f instead.

Definition at line 238 of file mlVector6.h.

Deprecated:
Use Vector64f instead.

Definition at line 181 of file mlVector64.h.

Deprecated:
Use Vector7f instead.

Definition at line 120 of file mlVector7.h.

Deprecated:
Use Vector8f instead.

Definition at line 121 of file mlVector8.h.

Deprecated:
Use Vector9f instead.

Definition at line 124 of file mlVector9.h.

Deprecated:
Use Vector10ld instead.

Definition at line 131 of file mlVector10.h.

Deprecated:
Use Vector16ld instead.

Definition at line 138 of file mlVector16.h.

Deprecated:
Use Vector2ld instead.

Definition at line 191 of file mlVector2.h.

Deprecated:
Use Vector3ld instead.

Definition at line 356 of file mlVector3.h.

Deprecated:
Use Vector32ld instead.

Definition at line 162 of file mlVector32.h.

Deprecated:
Use Vector4ld instead.

Definition at line 205 of file mlVector4.h.

Deprecated:
Use Vector5ld instead.

Definition at line 265 of file mlVector5.h.

Deprecated:
Use Vector6ld instead.

Definition at line 244 of file mlVector6.h.

Deprecated:
Use Vector64ld instead.

Definition at line 187 of file mlVector64.h.

Deprecated:
Use Vector7ld instead.

Definition at line 126 of file mlVector7.h.

Deprecated:
Use Vector8ld instead.

Definition at line 127 of file mlVector8.h.

Deprecated:
Use Vector9ld instead.

Definition at line 130 of file mlVector9.h.

A vector with 10 components of type double.

Definition at line 116 of file mlVector10.h.

A vector with 10 components of type double.

Definition at line 112 of file mlVector10.h.

A vector with 10 components of type float.

Definition at line 110 of file mlVector10.h.

A vector with 10 components of type long double.

Definition at line 114 of file mlVector10.h.

A vector with 16 components of type double.

Definition at line 123 of file mlVector16.h.

A vector with 16 components of type double.

Definition at line 119 of file mlVector16.h.

A vector with 16 components of type float.

Definition at line 117 of file mlVector16.h.

A vector with 16 components of type long double.

Definition at line 121 of file mlVector16.h.

A vector with 2 components of type double.

Definition at line 176 of file mlVector2.h.

A vector with 2 components of type double.

Definition at line 172 of file mlVector2.h.

A vector with 2 components of type float.

Definition at line 170 of file mlVector2.h.

A vector with 2 components of type long double.

Definition at line 174 of file mlVector2.h.

A vector with 3 components of type double.

Definition at line 341 of file mlVector3.h.

A vector with 32 components of type double.

Definition at line 147 of file mlVector32.h.

A vector with 32 components of type double.

Definition at line 143 of file mlVector32.h.

A vector with 32 components of type float.

Definition at line 141 of file mlVector32.h.

A vector with 32 components of type long double.

Definition at line 145 of file mlVector32.h.

A vector with 3 components of type double.

Definition at line 337 of file mlVector3.h.

A vector with 3 components of type float.

Definition at line 335 of file mlVector3.h.

A vector with 3 components of type long double.

Definition at line 339 of file mlVector3.h.

A vector with 4 components of type double.

Definition at line 190 of file mlVector4.h.

A vector with 4 components of type double.

Definition at line 186 of file mlVector4.h.

A vector with 4 components of type float.

Definition at line 184 of file mlVector4.h.

A vector with 4 components of type long double.

Definition at line 188 of file mlVector4.h.

A vector with 5 components of type double.

Definition at line 250 of file mlVector5.h.

A vector with 5 components of type double.

Definition at line 246 of file mlVector5.h.

A vector with 5 components of type float.

Definition at line 244 of file mlVector5.h.

A vector with 5 components of type long double.

Definition at line 248 of file mlVector5.h.

A vector with 6 components of type double.

Definition at line 229 of file mlVector6.h.

A vector with 64 components of type double.

Definition at line 172 of file mlVector64.h.

A vector with 64 components of type double.

Definition at line 168 of file mlVector64.h.

A vector with 64 components of type float.

Definition at line 166 of file mlVector64.h.

A vector with 64 components of type long double.

Definition at line 170 of file mlVector64.h.

A vector with 6 components of type double.

Definition at line 225 of file mlVector6.h.

A vector with 6 components of type float.

Definition at line 223 of file mlVector6.h.

A vector with 6 components of type long double.

Definition at line 227 of file mlVector6.h.

A vector with 7 components of type double.

Definition at line 111 of file mlVector7.h.

A vector with 7 components of type double.

Definition at line 107 of file mlVector7.h.

A vector with 7 components of type float.

Definition at line 105 of file mlVector7.h.

A vector with 7 components of type long double.

Definition at line 109 of file mlVector7.h.

A vector with 8 components of type double.

Definition at line 112 of file mlVector8.h.

A vector with 8 components of type double.

Definition at line 108 of file mlVector8.h.

A vector with 8 components of type float.

Definition at line 106 of file mlVector8.h.

A vector with 8 components of type long double.

Definition at line 110 of file mlVector8.h.

A vector with 9 components of type double.

Definition at line 115 of file mlVector9.h.

A vector with 9 components of type double.

Definition at line 111 of file mlVector9.h.

A vector with 9 components of type float.

Definition at line 109 of file mlVector9.h.

A vector with 9 components of type long double.

Definition at line 113 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 24 of file mlIntegerVector.h.

Deprecated:
Use ImageVectorField instead of VectorField.

Definition at line 2351 of file mlFields.h.

typedef bool(* ml::VoxelTestFunction)(const ImageVector &p, void *userData)

Function type used to decide whether a voxel is within an object or not.

This function is applied directly to the voxel volume without voxel to world transformation. It must return true if p is in object, otherwise false.

Definition at line 51 of file mlRasterFunction.h.

typedef std::vector<MLdouble> ml::VoxelValueVector

Definition at line 20 of file CSOVoxelSet.h.

typedef std::vector<Vector3> ml::VoxelVector

Definition at line 19 of file CSOVoxelSet.h.

typedef void ml::wemNotificationCB(void *data, std::vector< WEMEventContainer > ecList)

Defines the function signature for the callback methods that is to be touched by a WEM notification.

Definition at line 68 of file WEM.h.

typedef bool(* ml::WorldVoxelTestFunction)(const Vector6 &p, void *userData)

Function type used to decide whether a voxel is within an object or not.

This function is applied directly after a transformation of a voxel coordinate to world coordinate. It must return true if p is in object, otherwise false.

Definition at line 57 of file mlRasterFunction.h.


Enumeration Type Documentation

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.

Enumerator:
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_ReadingVec2 
TNE_ReadingVec3 
TNE_ReadingVec4 
TNE_ReadingVec6 
TNE_ReadingVector 
TNE_ReadingMat3 
TNE_ReadingMat4 
TNE_ReadingSubImgBox 
TNE_ReadingSubImgBoxf 
TNE_InvalidReadNext 
TNE_InvalidParentNode 
TNE_FileNotFound 
TNE_ReadingFile 
TNE_WritingFile 
TNE_UnsupportedClassVersion 
TNE_UserDefined 
TNE_Unknown 
TNE_ReadingMLint64 
TNE_ReadingMLuint64 
TNE_COUNT 

Definition at line 47 of file mlTreeNode.h.

anonymous enum

The default dimension of images in the ML.

Enumerator:
MLMaxImageDimension 

Definition at line 26 of file mlImageVector.h.

anonymous enum
Enumerator:
ML_INTEGER_TYPE 
ML_FLOAT_TYPE 
ML_SIGNED_TYPE 

Definition at line 82 of file mlTypeTraits.h.

anonymous enum

error codes for XMLTreeNode

Enumerator:
TNE_XML_SystemInit 
TNE_XML_ParserError 
TNE_XML_ReadingRawDataSize 
TNE_XML_Unknown 
TNE_XML_Other 
TNE_XML_LAST_MESSAGE_IDX 

Only for number calculations; do not use.

TNE_XML_COUNT 

Definition at line 35 of file mlXMLTreeNode.h.

Enumeration of bounding box visualization. Note that these are 'mirrored' in the SoWEM part.

Enumerator:
WEM_BOUNDING_BOX_AXIS_ALIGNED 

Axis aligned bounding box.

WEM_BOUNDING_BOX_OBJECT_ALIGNED 

Object aligned (PCA) bounding box.

Definition at line 138 of file MLWEMIncludes.h.

Enumerator:
CMP_LENGTH 
CMP_VOLUME 
CMP_STVOLUME 
CMP_STCENTER_X 
CMP_STCENTER_Y 
CMP_STCENTER_Z 
CMP_STCENTER_PLANE 
CMP_LABEL 

Definition at line 463 of file mlGraphAnalyser.h.

Enumeration of the color modes. Note that these are 'mirrored' in the SoWEM part.

Enumerator:
WEM_COLOR_GENERAL 

A general color is taken for the whole WEM.

WEM_COLOR_NODE_COLORS 

The nodes' colors are takes for coloring.

WEM_COLOR_LUT_VALUES 

The nodes' LUT values are taken to read out the color of a LUT.

WEM_COLOR_LUT_VALUES_INTEGER 

The nodes' LUT values are taken to read out the color of an integer LUT.

WEM_COLOR_TEXTURED 

The nodes' are textured using textureS and textureT primitive value lists.

WEM_COLOR_NONE 

No internal SoMaterial node is used in the output scene.

Definition at line 115 of file MLWEMIncludes.h.

enum ml::Corner

Enumeration of corner names for array access.

Enumerator:
TLR 

top left rear

TRR 

top right rear

TRF 

top right front

TLF 

top left front

BLR 

bottom left rear

BRR 

bottom right rear

BRF 

bottom right front

BLF 

bottom left front

Definition at line 126 of file CSODefines.h.

Enumeration of sides to which a segment can leave or enter a voxel box.

Includes 'NONE', if the segments ends or starts in the voxel box.

Enumerator:
CrossingTop 

The voxel box is crossed to the top.

CrossingBottom 

The voxel box is crossed to the bottom.

CrossingRight 

The voxel box is crossed to the right.

CrossingLeft 

The voxel box is crossed to the left.

CrossingFront 

The voxel box is crossed to the front.

CrossingRear 

The voxel box is crossed to the rear.

CrossingNone 

The voxel box is not crossed at all.

Definition at line 155 of file CSODefines.h.

Enumeration of the add to group modes.

Enumerator:
GROUP_NONE 
GROUP_BY_LABEL 

Add to group with label as defined by _addCSOToGroupWithLabelFld. A new group is generated if no group with this label exists.

GROUP_BY_ID 

Add to group with is as defined by _addCSOToGroupWithIdFld. If no group with this id exists, the CSO is not added to a group!

Definition at line 25 of file CSOGeneratorBase.h.

Enumeration of error codes.

Enumerator:
CSO_RESULT_OK 

Error code: no error, all is well.

CSO_NO_INPUT_IMAGE 

Error code: no input image.

CSO_INVALID_INPUT_IMAGE 

Error code: the input image is invalid (though not NULL).

CSO_NO_MEMORY 

Error code: out of memory.

Definition at line 81 of file CSODefines.h.

Enumeration for the group overflow handling modes.

Enumerator:
OVERFLOW_DELETE_FIRST 

If a CSOGroup is full, the first CSO in the group is replaced by the newly generated CSO.

OVERFLOW_DELETE_LAST 

If a CSOGroup is full, the last CSO in the group is replaced by the newly generated CSO.

OVERFLOW_DELETE_ALL 

If a CSOGroup is full, all CSOs in the group are deleted.

OVERFLOW_IGNORE_NEW 

If a CSOGroup is full, one can not generate a new one.

NUM_OVERFLOW_MODES 

Number of modes.

Definition at line 26 of file CSOGroupRules.h.

Enumeration of line styles (order as StylePalette::LineStyle).

Enumerator:
START_ALWAYS 

An iso line will always be tracked.

START_HIT_LOWER_ISO_VALUE 

Only start tracking an iso line when the value of the hit voxel is lower than the chosen iso value.

START_HIT_GREATER_ISO_VALUE 

Only start tracking an iso line when the value of the hit voxel is greater than the chosen iso value.

Definition at line 29 of file CSOIsoProcessor.h.

Enumeration of line styles (order as StylePalette::LineStyle).

Enumerator:
LINE_STYLE_NONE 

No line is drawn.

LINE_STYLE_SOLID 

A solid line is drawn.

LINE_STYLE_DASHED 

A dashed line is drawn.

LINE_STYLE_DOTTED 

A dotted line is drawn.

LINE_STYLE_SHORT_DASHED 

A short dashed line is drawn.

Definition at line 29 of file CSODefines.h.

Enumeration of finishing modes to test against.

Enumerator:
CSO_LIVE_WIRE_FINISH_ON_DOUBLE_CLICK 

Current CSO finishes on double click.

CSO_LIVE_WIRE_FINISH_ON_DISTANCE 

Current CSO finishes if a seed point is placed in the vicinity of its starting seed point.

Definition at line 28 of file CSOLiveWireProcessor.h.

NW N NE \ | / \ | / W -------- E /|\ / | \ SW S SE.

The neighborhood modes for the graph search.

Enumerator:
CSO_LIVE_WIRE_4_NEIGHBORHOOD 

4 neighborhood (just the main directions).

CSO_LIVE_WIRE_8_NEIGHBORHOOD 

8 neighborhood (main directions and the diagonals).

Definition at line 56 of file CSOLiveWireGraph.h.

Enumeration of marker display modes for CSO states.

Enumerator:
MARKER_DISPLAY_MODE_NONE 

Marker mode: show no markers.

MARKER_DISPLAY_MODE_RECT 

Marker mode: show marker as a rectangle.

MARKER_DISPLAY_MODE_CIRCLE 

Marker mode: show marker as a circle.

Definition at line 72 of file CSODefines.h.

Enumeration of Processor modes.

Enumerator:
PROCESSOR_MODE_MODIFICATOR 

Processor mode: modificator only (no generation).

PROCESSOR_MODE_GENERATOR 

Processor mode: generator only (no modification).

PROCESSOR_MODE_GENERATOR_MODIFICATOR 

Processor mode: generator and modificator.

Definition at line 100 of file CSODefines.h.

Enumeration of processor picking mode.

Enumerator:
PROCESSOR_PICKING_MODE_SEED_POINTS 

Processor needs to pick seed points (and path point if no seed point was in the vicinity).

PROCESSOR_PICKING_MODE_PATH_POINTS 

Processor needs to pick path points only. Seed points are not tested.

Definition at line 109 of file CSODefines.h.

Enumeration for empty groups removal.

Enumerator:
REMOVE_EMPTY_ALWAYS 
REMOVE_EMPTY_NEVER 
NUM_REMOVE_EMPTY_MODES 

Definition at line 26 of file CSOListRules.h.

Enumeration for the removal handling of CSOs from group and if group is deleted.

Enumerator:
REMOVE_ALWAYS 

If a CSO is removed from a group, it is also deleted from the list.

REMOVE_NEVER 

If a CSO is removed from a group, it is not deleted from the list.

REMOVE_IF_IN_NO_GROUP 

If a CSO is removed from a group, it is only deleted from the list if it is in no group anymore.

NUM_REMOVE_MODES 

Number of modes.

Definition at line 35 of file CSOGroupRules.h.

Enumeration of selected seed point coloring modes.

Enumerator:
SELECTED_SEED_POINT_COLORING_BRIGHTEN 

Brightens the selected seed points by an adjustable amount.

SELECTED_SEED_POINT_COLORING_FIXED 

Sets the selected seed points to an adjustable color.

Definition at line 56 of file CSODefines.h.

Enumeration of selected seed point size modes.

Enumerator:
SELECTED_SEED_POINT_SIZE_ENLARGE 

Enlarges the selected seed points by an adjustable amount.

SELECTED_SEED_POINT_SIZE_FIXED 

Sets the selectd seed points to an adjustable size.

Definition at line 64 of file CSODefines.h.

Enumeration of selection coloring modes.

Enumerator:
SELECTION_COLORING_BRIGHTEN 

Brightens the selected CSOs by an adjustable amount.

SELECTION_COLORING_FIXED 

Sets the selected CSOs to an adjustable color.

Definition at line 40 of file CSODefines.h.

Enumeration of selection line width modes.

Enumerator:
SELECTION_LINE_WIDTH_WIDEN 

Widens the selected CSOs by an adjustable amount.

SELECTION_LINE_WIDTH_FIXED 

Sets the selected CSOs to an adjustable line width.

Definition at line 48 of file CSODefines.h.

Enumeration of smoothing modes.

Enumerator:
SMOOTHING_MODE_NONE 

No smoothing.

SMOOTHING_MODE_SPLINE_APPROXIMATION 

Smoothing by applying a spline approximation (B-Spline).

SMOOTHING_MODE_SPLINE_INTERPOLATION 

Smoothing by applying a spline interpolation (Catmull-Rom).

Definition at line 117 of file CSODefines.h.

Enumeration of update modes.

Enumerator:
MODE_OFF 

No new calculation on input changes.

MODE_AUTO_UPDATE 

Start a new calculation if any input field has changed.

MODE_AUTO_CLEAR 

Invalidate output image if any input field has changed.

Definition at line 91 of file CSODefines.h.

Enumeration of the voxel value modes.

Enumerator:
VOXEL_VALUE_ID 

If a CSO is voxelized, its id (or the group id) is written into the image.

VOXEL_VALUE_CONST 

If a CSO is voxelized, this constant is written into the image.

VOXEL_VALUE_CONST_PLUS_ID 

If a CSO is voxelized, its id (or the group id) added to the constant value is written into the image.

VOXEL_VALUE_MODULE 

A CSO (-Group) with this value is voxelized with the according module's values. This is the default setting.

Definition at line 19 of file CSODefines.h.

Enumeration of directions for marching direction.

Enumerator:
DIRECTION_TOP 
DIRECTION_BOTTOM 
DIRECTION_RIGHT 
DIRECTION_LEFT 
DIRECTION_FRONT 
DIRECTION_REAR 
DIRECTION_NUM_DIRECTIONS 

Definition at line 140 of file CSODefines.h.

Enumeration of the contour finishing modes.

Enumerator:
FINISH_ON_RELEASE 

Contour is finished on release of active mouse button (for closing: be aware of vicinity).

FINISH_ON_DOUBLE_CLICK 

Contour is finished on double click.

Definition at line 41 of file CSOFreehandProcessor.h.

Enumeration of the module's general creation mode.

Enumerator:
CREATION_MODE_POINT 

Point: sets a single point. The resulting CSO consists of one seed point and a circular path.

CREATION_MODE_CLOSED_POLYLINE 

Closed linear interpolation: place seed on click, double click and release for closing available.

CREATION_MODE_CLOSED_SPLINE 

Closed spline interpolation: place seed on click, double click and release for closing available.

CREATION_MODE_CLOSED_FREEHAND 

Closed spline approximation: place seed continuously, release for closing only.

CREATION_MODE_CLOSED_INTERPOLATION 

Closed spline interpolation: place seed continuously, release for closing only.

CREATION_MODE_OPEN_POLYLINE 

Open linear interpolation: finish on double click or number of seeds available.

CREATION_MODE_OPEN_SPLINE 

Open spline interpolation: finish on double click or number of seeds available.

CREATION_MODE_OPEN_FREEHAND 

Open spline approximation: finish on release only.

Definition at line 27 of file CSOFreehandProcessor.h.

Enumeration of available interpolation modes.

Enumerator:
INTERPOLATION_MODE_LINEAR_INTERPOLATION 

Linear interpolation.

INTERPOLATION_MODE_SPLINE_INTERPOLATION 

Spline interpolation (Catmull-Rom).

INTERPOLATION_MODE_SPLINE_APPROXIMATION 

Spline approximation (B-Spline).

Definition at line 55 of file CSOFreehandProcessor.h.

LUT dimensionality.

Enumerator:
LUT_1D 

1D-LUT, consists of a single row

LUT_2D 

2D-LUT, consists of multiple rows in a single layer

LUT_3D 

3D-LUT, consists of multiple layers

Definition at line 78 of file mlLUTBasic.h.

LUT visual type constants to identify the visual interpretation of the individual LUT channels.

Enumerator:
LUT_L 

Luminance (Gray)

LUT_LA 

Luminance and Alpha.

LUT_RGB 

Red, Green, Blue.

LUT_RGBA 

Red, Green, Blue, Alpha.

LUT_BGR 

Blue, Green, Red.

LUT_ABGR 

Alpha, Blue, Green, Red.

LUT_NUM_VISUAL_TYPE_LAYOUTS 

Number of visual types, including layout variants.

LUT_NUM_VISUAL_TYPES 

Number of visual types, ignoring layout variants.

Definition at line 30 of file mlLUTBasic.h.

Enumerator:
ModSelectAll 
ModSelectCSOs 
ModSelectGroups 

Definition at line 30 of file CSOModifyProcessor.h.

Enumeration of limiting units.

Enumerator:
ModProcLimitNumPoints 

Limit unit: number of points.

ModProcLimitSMM 

Limit unit: square millimeter.

ModProcLimitSCM 

Limit unit: square centimeter.

ModProcLimitSM 

Limit unit: square meter.

Definition at line 23 of file CSOModifyProcessor.h.

enum ml::NData

data structure for passing informations down the processing pipe

Enumerator:
DATA_NO 
DATA_SCL 
DATA_BARYCENTER 
DATA_DISTANCE 
DATA_FLAG 
DATA_NODE 
DATA_GET_FKT 
DATA_SET_FKT 
DATA_AV_LEN 
OUTDATA_CLUSTER 
OUTDATA_LENGTH 
OUTDATA_VOLUME 
OUTDATA_POS 
OUTDATA_GLOBAL_MIN_DIST 
OUTDATA_AV_MIN_DIST 
OUTDATA_ROOT 

Definition at line 43 of file mlGraphAnalyser.h.

Enumeration of the node rendering modes. Note that these are 'mirrored' in the SoWEM part.

Enumerator:
WEM_NODE_RENDERING_NORMAL 

Only the nodes' positions are rendered.

WEM_NODE_RENDERING_HIGH 

As 'normal', but with the faces' centroids.

WEM_NODE_RENDERING_EXTRA_HIGH 

As 'high', but with positions on all edges.

Definition at line 128 of file MLWEMIncludes.h.

Flags for processing instructions and control of used functionalty.

Enumerator:
PROC_NONE 
PROC_LENGTH 
PROC_VOLUME 
PROC_WEIGHTED_POS 
PROC_AV_MIN_DIST 
PROC_SCL 
PROC_SKELETON_AREA 
PROC_ROOT 
PROC_ST_VOLUME 
PROC_ST_POS 
PROC_ST_NODE_SUM 
PROC_CLUSTER 

Definition at line 72 of file mlGraphAnalyser.h.

Enumeration of orientation types.

Enumerator:
WEM_ORIENTATION_UNKNOWN 
WEM_ORIENTATION_OUTWARD 

Orientation: unknown.

WEM_ORIENTATION_INWARD 

Orientation: outward normals (positive volume).

Definition at line 179 of file MLWEMIncludes.h.

Enumeration of mesh types.

Enumerator:
WEM_PATCH_UNKNOWN 

Patch type: the type of the faces is unknown.

WEM_PATCH_TRIANGLES 

Patch type: all faces are triangles.

WEM_PATCH_QUADS 

Patch type: all faces are quads.

WEM_PATCH_POLYGONS 

Patch type: the faces can be n-polygons with up to WEM_MAX_NUM_NODES.

Definition at line 158 of file MLWEMIncludes.h.

Enumeration of the contour type.

Enumerator:
PRIMITIVE_RECT 

Contour is a rectangle.

PRIMITIVE_ELLIPSE 

Contour is an ellipse.

Definition at line 25 of file CSOPrimitiveProcessor.h.

Enumeration of primitive value list types.

Enumerator:
WEM_PRIMITIVE_VALUE_LIST_NODE 

Node values.

WEM_PRIMITIVE_VALUE_LIST_EDGE 

Edge values.

WEM_PRIMITIVE_VALUE_LIST_FACE 

Face values.

Definition at line 169 of file MLWEMIncludes.h.

Enumerator:
SCALE_DIRECTION_NORTH 
SCALE_DIRECTION_SOUTH 
SCALE_DIRECTION_WEST 
SCALE_DIRECTION_EAST 

Definition at line 42 of file CSOTransformationProcessor.h.

Enumeration of seed point placement policy.

Enumerator:
PLACE_SEED_ON_CLICK 

A seed point is placed on click (event start).

PLACE_SEED_WHILE_DRAGGING 

Seed points are placed while dragging.

Definition at line 47 of file CSOFreehandProcessor.h.

Enumeration of modes to handle CSOs over more than one slice (slicing while generating).

Enumerator:
CSO_SLICE_ERROR_HANDLING_REMOVE_CSO 

Remove the whole CSO.

CSO_SLICE_ERROR_HANDLING_REMOVE_LAST_SEEDPOINT 

Remove the last seedpoint which lead to this error.

CSO_SLICE_ERROR_HANDLING_PRINT_WARNING 

Just print a warning to the console.

Definition at line 36 of file CSOLiveWireProcessor.h.

Enumeration of the different spline modes.

Enumerator:
SPLINE_MODE_INTERPOLATION 

Interpolating spline: Catmull-Rom.

SPLINE_MODE_APPROXIMATION 

Interpolating spline: B-Spline.

Definition at line 27 of file CSOGeneratePathPoints.h.

The modes how the voxel is tested.

Static or virtual functions can be used to test voxel or world coordinates.

Enumerator:
StaticVoxelTest 
VirtualVoxelTest 
StaticWorldVoxelTest 
VirtualWorldVoxelTest 

Definition at line 40 of file mlRasterFunction.h.

Enumerator:
ICON_SCALE_ISO 
ICON_SCALE 
ICON_ROTATE 
ICON_TRANSLATE 

Definition at line 51 of file CSOTransformationProcessor.h.

Enumerator:
TRANSFORMATION_MODE_SCALE 
TRANSFORMATION_MODE_ROTATE 
TRANSFORMATION_MODE_TRANSLATE 

Definition at line 34 of file CSOTransformationProcessor.h.

Enumeration of the triangulation modes. Note that these are 'mirrored' in the SoWEM part.

Enumerator:
WEM_TRIANGULATION_CENTER 

A new node is created at the center of the face.

WEM_TRIANGULATION_FAN 

A triangle fan is created out of the face.

WEM_TRIANGULATION_STRIP 

A triangle strip is created out of the face.

WEM_TRIANGULATION_SPIDERWEB 

A spider web is created: strip + center large parts.

Definition at line 147 of file MLWEMIncludes.h.

Defines the available WEM notifications.

Enumerator:
WEM_NOTIFICATION_NONE 

Notification flag: no notification at all (for initializing).

WEM_NOTIFICATION_SELECTION 

Notification flag: a part has been selected.

WEM_NOTIFICATION_FINISHED 

Notification flag: an interaction on a part has been finished.

WEM_NOTIFICATION_REPAINT 

Notification flag: a part needs a repainting.

WEM_NOTIFICATION_INTERACTION_INIT 

Notification flag: an interaction module needs initialization.

Definition at line 98 of file MLWEMIncludes.h.


Function Documentation

template<typename DATATYPE >
static bool ml::_isScalarValueInRange ( const DATATYPE &  v,
bool  normal,
double  minVal,
double  maxVal,
OverloadSelector::OnTrue   
) [inline, static]

Check if a value is in the given range.

If normal is true, the range is inclusive, otherwise the range is exclusive (i.e. the value may _not_ lay in the range). The check always returns true if the value is not a scalar type.

Definition at line 125 of file mlKernelTools.h.

Referenced by isScalarValueInRange().

template<typename DT >
DT ml::abs ( DT  val) [inline]

Definition at line 117 of file mlTypeDefTraits.h.

MLVTK_SUPPORT_EXPORT vtkObject* ml::checkPointer ( const std::string &  reqConnectType,
vtkObject *  vtkObjPtr 
)

Helper function for check if vtkObjPtr or its output is of requested type recConnectType.

Parameters:
reqConnectTypeis the name of the type which must match with the type of vtkObjPtr.
vtkObjPtris the pointer to the vtk object whose type shall be checked.
Returns:
is vtkObjPtr if its type matches; otherwise it is its output if it matches; otherwise NULL.
template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > clamp ( FloatingPointVector< T, size, DataContainer >  a,
const FloatingPointVector< T, size, DataContainer > &  lower,
const FloatingPointVector< T, size, DataContainer > &  upper 
) [inline]

Return new vector with all components from a clamped to range [lower, upper].

Not that that does not hold if components in lower are greater than their corresponding ones in upper. See FloatingPointVector<T, size, DataContainer>::clamp().

Definition at line 578 of file mlFloatingPointVector.h.

References ml::FloatingPointVector< T, size, DataContainer >::clampMax(), and ml::FloatingPointVector< T, size, DataContainer >::clampMin().

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > clampMax ( FloatingPointVector< T, size, DataContainer >  a,
const FloatingPointVector< T, size, DataContainer > &  m 
) [inline]

Return new vector with all components from a clamped to maximum m.

See FloatingPointVector<T, size, DataContainer>::clampMax().

Definition at line 563 of file mlFloatingPointVector.h.

References ml::FloatingPointVector< T, size, DataContainer >::clampMax().

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > clampMin ( FloatingPointVector< T, size, DataContainer >  a,
const FloatingPointVector< T, size, DataContainer > &  m 
) [inline]

Return new vector with all components from a clamped to minimum m.

See FloatingPointVector<T, size, DataContainer>::clampMin().

Definition at line 550 of file mlFloatingPointVector.h.

References ml::FloatingPointVector< T, size, DataContainer >::clampMin().

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > compAbs ( FloatingPointVector< T, size, DataContainer >  a) [inline]

Return vector with all components from a without negative sign.

Definition at line 502 of file mlFloatingPointVector.h.

References ml::FloatingPointVector< T, size, DataContainer >::compAbs().

Referenced by ml::TVector< TVector6DBase< MLint > >::compAbs().

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > compDiv ( FloatingPointVector< T, size, DataContainer >  a,
const FloatingPointVector< T, size, DataContainer > &  d 
) [inline]

Component wise division of a / d.

Division by zeros are not handled and must be avoided by caller.

Definition at line 537 of file mlFloatingPointVector.h.

References ml::FloatingPointVector< T, size, DataContainer >::compDiv().

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > compMax ( FloatingPointVector< T, size, DataContainer >  buffer1,
const FloatingPointVector< T, size, DataContainer > &  buffer2 
) [inline]
template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > compMin ( FloatingPointVector< T, size, DataContainer >  buffer1,
const FloatingPointVector< T, size, DataContainer > &  buffer2 
) [inline]
template<class T , size_t size, class DataContainer >
T compMul ( const FloatingPointVector< T, size, DataContainer > &  a) [inline]
template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > compSqr ( FloatingPointVector< T, size, DataContainer >  a) [inline]

Return vector with all components from a squared.

Definition at line 513 of file mlFloatingPointVector.h.

References ml::FloatingPointVector< T, size, DataContainer >::compSqr().

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > compSqrt ( FloatingPointVector< T, size, DataContainer >  a) [inline]

Return vector with all components from a square-rooted.

Definition at line 525 of file mlFloatingPointVector.h.

References ml::FloatingPointVector< T, size, DataContainer >::compSqrt().

MLITK_SUPPORT_EXPORT void ml::copyITKDataBufferToMLSubImg ( void *  itkData,
size_t  itkDataTypeSize,
const SubImageBox &  itkBox,
SubImage &  outSubImg 
)

Unpack ITK data buffer to an ML subimage and convert data formats if necessary.

itkData needs to point to the ITK data buffer and itkDataTypeSize is the size of one voxel in the itkData buffer. outSubImg is the output page to be filled with data from itkData. itkBox describes the location and extent of the ITK data buffer. Note that the itkData region is considered contiguous without gaps.

Referenced by processDataWithITKFilterAndFillOutSubImg().

template<typename T >
bool ml::CSOReadValueFromStream ( std::istream &  in,
T &  value,
bool  asBinary 
)

Definition at line 71 of file CSOAttributes.h.

References ml::Variant::asType(), ml::Variant::isValid(), ml::Variant::read(), and T.

template<>
bool ml::CSOReadValueFromStream< CSOPathPoints > ( std::istream &  in,
CSOPathPoints &  value,
bool  asBinary 
) [inline]

Definition at line 96 of file CSOAttributes.h.

References ml::Variant::isValid(), ml::Variant::read(), and ml::Variant::toInt().

template<>
bool ml::CSOReadValueFromStream< Variant > ( std::istream &  in,
Variant &  value,
bool  asBinary 
) [inline]

Definition at line 88 of file CSOAttributes.h.

template<typename T >
bool ml::CSOWriteValueToStream ( std::ostream &  out,
const T &  value,
bool  asBinary 
)

Definition at line 32 of file CSOAttributes.h.

References ml::Variant::write().

template<>
bool ml::CSOWriteValueToStream< CSOPathPoints > ( std::ostream &  out,
const CSOPathPoints &  value,
bool  asBinary 
) [inline]

Definition at line 49 of file CSOAttributes.h.

References ml::Variant::write().

template<>
bool ml::CSOWriteValueToStream< Variant > ( std::ostream &  out,
const Variant &  value,
bool  asBinary 
) [inline]

Definition at line 41 of file CSOAttributes.h.

template<class T >
void ml::deleteVector ( CSOObjectVector< T > *  vector,
bool  deleteEntries = true 
)

Definition at line 100 of file CSOObjectVector.h.

References ml::CSOObjectVector< T >::destroy(), and ML_DELETE.

MLITK_SUPPORT_EXPORT void ml::destoyDefaultInstance ( )

Destroys the default module instance.

MLEXPORT void ml::destroyML ( )

Delete dynamic data structures allocated by initML.

template<typename FILTER_TYPE , typename IN_IMAGE_TYPE >
SubImageBox ml::determineImageFilterInRegionTN ( typename FILTER_TYPE::Pointer &  filterPointer,
Module &  module,
MLint  inIndex,
const SubImageBox &  outBox,
MLint  outIndex,
MLint  numActiveInputs 
)

Calculates required input regions for any number of filter inputs.

Parameters:
filterPointeris the pointer to the itkImageToImageFilter which shall be used to calculate the requested inRegion.
moduleis the reference to the ML module wrapping the object denoted by filterPointer.
inIndexspecifies the input index from which the region is to be calculated.
outBoxspecifies the output region which shall be calculated by the filter.
outIndexspecifies the output from which the region comes for which the input region need to be calculated.

Definition at line 133 of file mlITKFilterSupport.h.

References ml::ImageProperties::getBoxFromImageExtent(), ml::Module::getInputImage(), ML_ERROR, ML_TRACE_IN, ML_UNKNOWN_EXCEPTION, MLPrintAndNotify(), postITKException(), and testFunc_determineImageFilterInRegionTN().

template<typename FILTER_TYPE , typename OUT_IMAGE_TYPE >
SubImageBox ml::determineImageFilterOutImageRegionT0 ( typename FILTER_TYPE::Pointer &  filterPointer,
Module &  module 
)

Calculates the maximum extent of the ITK output image for 0 inputs and returns it as SubImageBox.

Definition at line 204 of file mlITKFilterSupport.h.

References ImageVector, ML_ERROR, ML_TRACE_IN, postITKException(), and testFunc_determineImageFilterOutImageRegionT0().

template<typename FILTER_TYPE , typename OUT_IMAGE_TYPE , typename IN_IMAGE_TYPE >
SubImageBox ml::determineImageFilterOutImageRegionTN ( typename FILTER_TYPE::Pointer &  filterPointer,
Module &  module,
int  numImageInputs 
)

Calculates the maximum extent of the ITK output image for 0 inputs and returns it as SubImageBox.

Definition at line 251 of file mlITKFilterSupport.h.

References ml::ImageProperties::getImageExtent(), ml::Module::getInputImage(), ImageVector, ML_ERROR, ML_TRACE_IN, postITKException(), and testFunc_determineImageFilterOutImageRegionTN().

MLITK_SUPPORT_EXPORT void ml::disconnectAllInputs ( Module &  thisOp)

Disconnects all connected inputs from thisOp.

MLITK_SUPPORT_EXPORT mlModule* ml::getDefaultModule ( bool  create = true)

Returns the default module instance.

If create is true (default) then it is created if it still does not exist. Otherwise NULL could be returned.

MLDICOM_TREE_IMAGE_PROPERTY_EXTENSION_EXPORT DCMTree::Const_TagPtr ml::getDicomTagByName ( const ImagePropertyExtension *  imagePropertyExtensionPtr,
const std::string &  tagName 
)

Returns the tag with the given name from the property extension. If it is not found, the pointer will be NULL.

MLDICOM_TREE_IMAGE_PROPERTY_EXTENSION_EXPORT DCMTree::Const_TreePtr ml::getDicomTreeFromImagePropertyExtension ( const ImagePropertyExtension *  dicomTreeImagePropertyExtensionPtr)

Casts the ImagePropertyExtension pointer into a DicomTreeImagePropertyExtension pointer and returns the contained dicom tree pointer.

template<typename RETURN_TYPE_PTR , typename FILTER_TYPE , typename VOXEL_TYPE >
RETURN_TYPE_PTR ml::getInputAsItkImportImageAndSubImg ( Module &  op,
int  inIdx,
TSubImage< VOXEL_TYPE > &  dataSubImg,
bool  correctSVS = true 
)

Reads and updates an input image from the input number inIdx of Module op and sets up the referenced TSubImage dataSubImg with size, and data allocated from the MLMemoryManager as string memory handle which means that the data will be released when dataSubImg is destroyed.

If the data in dataSubImg has exactly the same region and has already allocated memory, then its memory is reused, otherwise it is freed and reallocated. If correctSVS is enabled (the default) the difference between itk and ML voxel origins is corrected by a half voxel shift. A typical call to get an ML input image region as TSubImage and as itk image whose size is defined in myFloatTSubImg could be itk::Image<float,3>::Pointer _fixedImageOrPointSet = getInputAsItkImportImageAndSubImg<ITKML_TYPENAME itk::Image<float,3>::Pointer, ITKML_TYPENAME itk::ImportImageFilter<float,3>, MLfloat> (*this, 0, myFloatTSubImg);

Definition at line 924 of file mlITKSupportToolFunctions.h.

References ml::SubImage::allocateAsMemoryBlockHandle(), ml::SubImage::free(), ml::SubImage::getBox(), ml::TSubImage< DATATYPE >::getData(), ml::TSubImageBox< intT >::getExtent(), ml::ImageProperties::getImageExtent(), ml::TSubImageBox< intT >::getNumVoxels(), ml::PagedImage::getTile(), ml::Module::getUpdatedInputImage(), ImageVector, ML_FATAL_MEMORY_ERROR, ML_PRINT_ERROR, ML_RESULT_OK, and ml::SubImage::setBox().

template<typename ITK_INDATATYPE , unsigned int DIM>
itk::ImportImageFilter<ITK_INDATATYPE, DIM>::Pointer ml::getITKImportImageFromSubImg ( const SubImage &  inSubImg,
const MedicalImageProperties &  props,
bool  correctSVS = true 
)

Takes a SubImage and returns an object of an itk::ImportImageFilter managing the inSubImg as ITK object.

Additional properties such as origin, spacing, direction cosines, and region are set as described in setITKWorldFromMedicalImageProperty() and ITKRegionFromMLSubImgBox(). The inSubImg data will not be owned by the returned ImportImageFilter object and its life time must be at least as long as the one of the returned object. param ITK_INDATATYPE is the data type of the input inSubImg. param DIM is the dimension of the ImportImageFilter to be returned.

Parameters:
inSubImgprovides the data to be wrapped by the returned ImportImageFilter.
propsare the image properties (world matrix, scaling etc.) to be translated and set as scaling, origin, and direction cosines of the import filter.
correctSVSIf enabled (the default) the difference between itk and ML voxel origins is corrected by a half voxel shift.
Returns:
An ITK ImageImporterFilter instance managing the data which is also wrapped by inSubImg.

Definition at line 875 of file mlITKSupportToolFunctions.h.

References ml::SubImage::getBox(), ml::SubImage::getData(), and ML_TRACE_IN.

template<typename ITK_INDATATYPE , unsigned int DIM>
itk::ImportImageFilter<ITK_INDATATYPE, DIM>::Pointer ml::getITKSpecialInImg ( const SubImage &  inSubImg,
const PagedImage &  inImg 
)

Takes a SubImage and returns the ImportImageFilter managing the inSubImg as ITK object.

It differs from getITKImportImageFromSubImg() because it also set MLTypeInfos for carrier types.

Parameters:
ITK_INDATATYPEis the ITK voxel type of the input image.
DIMis the dimension of the ImportImageFilter to be returned.
inSubImgprovides the data to be wrapped by the returned ImportImageFilter.
inImgSpacingis the voxel size of the data within inSubImg.
Returns:
An ITK ImageImporterFilter instance managing the data which is also wrapped by inSubImg.

Definition at line 43 of file mlITKSpecialInputsSupport.h.

References ML_ERROR, ML_TRACE_IN, and postITKException().

MLDICOM_TREE_IMAGE_PROPERTY_EXTENSION_EXPORT bool ml::getTagIdByATString ( const std::string &  atString,
DCMTree::TagId tagId 
)

Gets the tag id for (group,element) string (AT format).

Returns false if the tag could not be retrieved.

template<class DT >
Tmat3<DT> ml::identity2D ( )

Returns a 3x3 homogeneous identity2D matrix; synonym for Tmat3<DT>::getIdentity().

Definition at line 595 of file mlMatrix3.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat4<DT> ml::identity3D ( )

Returns a 4x4 homogeneous identity3D matrix; synonym for Tmat4<DT>::getIdentity().

Definition at line 678 of file mlMatrix4.h.

References ML_TRACE_IN_TIME_CRITICAL.

MLEXPORT MLint32 ml::initML ( )

Initializes the ML, the runtime type system, the memory manager, fields, static buffers, error and debug printings etc.

It also calls setMLEnvironment to adapt settings to environment variables.

void ml::intrusive_ptr_add_ref ( const ml::RefCountedBase p) [inline]

Definition at line 58 of file mlRefCountedBase.h.

template<typename Derived >
void ml::intrusive_ptr_add_ref ( const IntrusivePtrBase< Derived > *  ptr) [inline]

Provide overloads for reference counting functions used by boost::intrusive_ptr.

Friend functions used by boost::intrusive_ptr.

Definition at line 58 of file mlIntrusivePtrBase.h.

void ml::intrusive_ptr_release ( const ml::RefCountedBase p) [inline]

Definition at line 63 of file mlRefCountedBase.h.

template<typename Derived >
void ml::intrusive_ptr_release ( const IntrusivePtrBase< Derived > *  ptr) [inline]

Definition at line 60 of file mlIntrusivePtrBase.h.

template<typename DATATYPE >
static bool ml::isScalarValueInRange ( const DATATYPE &  v,
bool  normal,
double  minVal,
double  maxVal 
) [inline, static]
template<typename TemplArrElemType >
void ml::ITKArrayFromFixedSizeSTLVector ( const ITKML_TYPENAME std::vector< TemplArrElemType > &  stlVec,
TemplArrElemType *  arr,
size_t  TemplArrSize 
)

Copies TemplArrSize elements from stlVec to arr and - if not enough elements are available - fills up the rest with 0.

Definition at line 122 of file mlITKCommonToolFunctions.h.

References ML_TRACE_IN.

template<typename ARRAY_TYPE , typename STL_VECTOR >
ARRAY_TYPE ml::ITKArrayFromSTLVector ( const STL_VECTOR &  stlVec)

Returns an object of an ITK array type ARRAY_TYPE which contains cast copies of all elements of stlVec (in same order and number).

Definition at line 342 of file mlITKSupportToolFunctions.h.

References ML_TRACE_IN.

MLITK_SUPPORT_EXPORT int ml::ITKCommonFunctionTypesAndWrappersInit ( )

Initializes the wrapper classes.

MLITK_SUPPORT_EXPORT int ml::ITKCommonTypesAndWrappersInit ( )

Initializes the wrapper classes.

template<class FINITE_DIFFERENCE_FUNCTION_TYPE >
FINITE_DIFFERENCE_FUNCTION_TYPE::Pointer ml::ITKDifferenceFunctionFromBasePointer ( Base *  baseVal)

Checks a base input connector for a base object containing a MultiBaseType.

If not then NULL is returned. It yes, then the object is asked for a FiniteDifferenceFunction matching the required type. If it contains a valid function then the function pointer is returned, otherwise NULL is returned.

Definition at line 155 of file mlITKSpecialFieldsSupport.h.

References ml::MultiBaseType::GetFiniteDifferenceFunction(), ML_BASE_IS_A, and ML_TRACE_IN.

template<typename INDEX_TYPE >
INDEX_TYPE ml::ITKIndexFromMLVec6 ( const Vector6 &  vec)

Assign and cast values from an ML Vector6 to an ITK index object of type INDEX_TYPE.

ML dimensions higher than ITK dimensions are ignored, itk size dimensions higher than ML vector sizes are handled fatally. Component values are cast to the target type which implies information loss if the target type does not provide sufficient size or precision. param INDEX_TYPE is the return ITK index object type.

Parameters:
vecis the ML Vector6 from which the components are copied and cast to the corresponding components in the returned INDEX_TYPEd object.
Returns:
the ITK index object representing the Vector6.

Definition at line 382 of file mlITKSupportToolFunctions.h.

References ML_BAD_DIMENSION, ML_PRINT_FATAL_ERROR, and ML_TRACE_IN.

template<typename INDEX_TYPE >
INDEX_TYPE ml::ITKIndexFromMLVector ( const ImageVector &  vec)

Assign and cast values from an ML ImageVector to an ITK size object.

ML dimensions higher than ITK dimensions are ignored, itk size dimensions higher than ML vector sizes are handled fatally. Component values are cast to the target type which implies information loss if target types for example use 32 bit while vec uses 64 bit integers. param INDEX_TYPE is the ITK index object type.

Parameters:
vecis the ML vector from which the components are copied to the corresponding components in the INDEX_TYPE object.
Returns:
the INDEX_TYPE object representing vec.

Definition at line 112 of file mlITKSupportToolFunctions.h.

References ML_BAD_DIMENSION, ML_PRINT_FATAL_ERROR, and ML_TRACE_IN.

template<typename DTYPE , unsigned int ROW_DIM, unsigned int COL_DIM>
itk::Matrix<DTYPE, ROW_DIM, COL_DIM> ml::ITKMatrixFromMLMatrix ( const Matrix4 &  mat)

Converts the ML 4x4 matrix mat function argument to the returned itk::Matrix of type itk::Matrix<DTYPE, ROW_DIM, COL_DIM>; all components of the returned matrix are set with cast values from mat if their row and column indexes are <=3; all other entries are predefined from an SetIdentity call and a warning will be posted.

If DTYPE does not match the double type information loss may occur.

Definition at line 497 of file mlITKSupportToolFunctions.h.

References ML_BAD_DIMENSION, ML_PRINT_WARNING, and ML_TRACE_IN.

Referenced by setITKWorldFromMedicalImageProperty().

template<class FilterType >
FilterType::NodeContainer::Pointer ml::ITKNodeContainerFromBasePointer ( Base *  baseVal)

Reads a base field and looks for point like data structures (XMarkerLists, XMarkerListContainers, PointLists and VectorLists).

If there is one then it is converted to an ITK NodeContainer and returns that list. If lists are empty or cannot be created then NULL is returned.

Definition at line 405 of file mlITKSupportToolFunctions.h.

References ml::BaseListTemplate< T >::getItemAt(), ml::ListContainerTemplate< T >::getList(), ml::VectorList::getNum(), ml::PointList::getNum(), ml::VectorList::getPoint(), ml::PointList::getValue(), ML_BASE_IS_A, and ML_TRACE_IN.

template<typename POINT_TYPE >
POINT_TYPE ml::ITKPointFromMLVec3 ( const Vector3 &  vec,
MLdouble  defaultComp 
)

Assign and cast values from an ML Vector3 to an ITK point object; all itk components with index > 3 are filled with defaultComp.

If the returned object uses components with less precision than double than information loss may occur. param POINT_TYPE is the return ITK point or origin object type.

Parameters:
vecis the ML Vector3 from which the components are copied and cast to the corresponding components in the returned POINT_TYPEd object.
defaultCompis the value assigned to sizeObj for component with indexes > 2.
Returns:
the ITK point object representing the Vector3.

Definition at line 246 of file mlITKSupportToolFunctions.h.

References ML_TRACE_IN.

template<typename POINT_TYPE >
POINT_TYPE ml::ITKPointFromMLVec4 ( const Vector4 &  vec,
MLdouble  defaultComp 
)

Assign and cast values from an ML Vector4 to an ITK object of type POINT_TYPE; all itk components with index > 3 are filled with defaultComp.

If the returned object uses components with less precision than double than information loss may occur. param POINT_TYPE is the ITK point object type.

Parameters:
vecis the ML Vector4 from which the components are copied and cast to the corresponding components in the returned POINT_TYPEd object.
defaultCompis the value assigned to sizeObj for component with indexes > 3.
Returns:
the ITK point object representing the ML Vector4.

Definition at line 271 of file mlITKSupportToolFunctions.h.

References ML_TRACE_IN.

template<class POINTSETTYPE >
POINTSETTYPE::Pointer ml::ITKPointSetFromBasePointer ( Base *  baseVal)

Reads the passed baseVal objects and looks for point like data structures (XMarkerLists, XMarkerListContainers, PointLists and VectorLists).

If there is one then it is converted and returned as a POINTSETTYPEd ITK PointSet. If the baseVal does not provide an appropriate type or if it is empty, NULL or cannot be converted then NULL is returned.

Definition at line 573 of file mlITKSupportToolFunctions.h.

References ml::BaseListTemplate< T >::getItemAt(), ml::ListContainerTemplate< T >::getList(), ml::VectorList::getNum(), ml::PointList::getNum(), ml::VectorList::getPoint(), ml::PointList::getValue(), ML_BAD_DIMENSION, ML_BASE_IS_A, ML_PRINT_WARNING, and ML_TRACE_IN.

template<class POLYLINEPATHTYPE >
POLYLINEPATHTYPE::Pointer ml::ITKPolylineFromBasePointer ( Base *  baseVal,
bool  emptyDefaultToOneZeroVal = true 
)

Reads a base field and looks for point like data structures (XMarkerLists, XMarkerListContainers, PointLists and Vectorlists).

If there is one then it is converted to an itk PointSet and returns that point set. If lists are empty or cannot be created then an empty list is returned. if emptyDefaultToOneZeroVal is true (the default) then even in empty lists one vertex with value (0,0,0) is appended. This is useful, because itk filters are known to be instable if lists are empty.

Definition at line 57 of file mlITKSpecialFieldsSupport.h.

References ml::BaseListTemplate< T >::getItemAt(), ml::ListContainerTemplate< T >::getList(), ml::VectorList::getNum(), ml::PointList::getNum(), ml::VectorList::getPoint(), ml::PointList::getValue(), ML_BAD_DIMENSION, ML_BASE_IS_A, ML_PRINT_WARNING, and ML_TRACE_IN.

template<typename REGION_PARENT_TYPE >
REGION_PARENT_TYPE::RegionType ml::ITKRegionFromMLSubImgBox ( const SubImageBox &  subImgBox)

Assign and cast values from an ITK region to an ML SubImageBox object.

ML dimensions higher than ITK dimensions are ignored, itk size dimensions higher than ML vector sizes are handled fatally. Component values are cast to the target type which implies information loss if target types for example use 32 bit while subImgBox uses 64 bit integers. param REGION_PARENT_TYPE is the ITK region object type.

Parameters:
subImgBoxis the ML SubImageBox to be assigned and cast to the returned REGION_PARENT_TYPEs region object.
Returns:
the ITK region representing the ML subImgBox.

Definition at line 295 of file mlITKSupportToolFunctions.h.

References ml::TSubImageBox< intT >::getExtent(), ML_TRACE_IN, and ml::TSubImageBox< intT >::v1.

template<typename ITK_IMAGE_TYPE >
void ml::ITKSetOriginFromVec3 ( itk::Image< typename ITK_IMAGE_TYPE::PixelType, ITK_IMAGE_TYPE::ImageDimension > *  image,
const Vector3 &  orig 
)

On the given ITK_IMAGE_TYPE the origin orig is set with the SetOrigin method from a point type; the origin type conversion is done as described in ITKPointFromMLVec3.

Definition at line 683 of file mlITKSupportToolFunctions.h.

template<typename ITK_IMPORT_IMAGE_FILTER_TYPE >
void ml::ITKSetOriginFromVec3 ( itk::ImportImageFilter< typename ITK_IMPORT_IMAGE_FILTER_TYPE::OutputImagePixelType, ITK_IMPORT_IMAGE_FILTER_TYPE::OutputImageType::ImageDimension > *  importImageFilter,
const Vector3 &  orig 
)

On the given ITK_IMPORT_IMAGE_FILTER_TYPE the origin orig is set with the SetOrigin method from an origin type; the origin type conversion is done as described in ITKPointFromMLVec3.

Definition at line 670 of file mlITKSupportToolFunctions.h.

template<typename SIZE_TYPE >
SIZE_TYPE ml::ITKSizeFromMLVector ( const ImageVector &  vec)

Assign and cast values from an ML ImageVector to an ITK size object.

ML dimensions higher than ITK dimensions are ignored, itk size dimensions higher than ML vector sizes are handled fatally. Component values are cast to the target type which implies information loss if target types for example use 32 bit while vec uses 64 bit integers. param SIZE_TYPE is the ITK size object type.

Parameters:
vecis the ML vector from which the components are copied to the corresponding components in the SIZE_TYPE object.
Returns:
the SIZE_TYPE object representing vec.

Definition at line 86 of file mlITKSupportToolFunctions.h.

References ML_BAD_DIMENSION, ML_PRINT_FATAL_ERROR, and ML_TRACE_IN.

template<typename VECTOR_TYPE >
VECTOR_TYPE ml::ITKVectorFromMLVec3 ( const Vector3 &  vec,
MLdouble  defaultComp 
)

Assign and cast values from an ML Vector3 to an ITK size object; all itk components with index > 2 are filled with defaultComp.

If the returned object uses components with less precision than double than information loss may occur. param VECTOR_TYPE is the return ITK vector object type.

Parameters:
vecis the ML Vector3 from which the components are copied and cast to the corresponding components VECTOR_TYPEd object.
defaultCompis the value assigned to sizeObj for component with indexes > 2.
Returns:
the ITK vector object representing the Vector3.

Definition at line 196 of file mlITKSupportToolFunctions.h.

References ML_TRACE_IN.

template<typename VECTOR_TYPE >
VECTOR_TYPE ml::ITKVectorFromMLVec4 ( const Vector4 &  vec,
MLdouble  defaultComp 
)

Assign and cast values from an ML Vector4 to an ITK size object; all itk components with index > 3 are filled with defaultComp.

If the returned object uses components with less precision than double than information loss may occur. param VECTOR_TYPE is the return ITK vector object type.

Parameters:
vecis the ML Vector4 from which the components are copied and cast to the corresponding components in the returned VECTOR_TYPEd object.
defaultCompis the value assigned to sizeObj for component with indexes > 3.
Returns:
the ITK vector object representing the Vector4.

Definition at line 221 of file mlITKSupportToolFunctions.h.

References ML_TRACE_IN.

MLLUT_EXPORT int ml::LUTAlphaChannelIndex ( LUTVisualType  visualType)

Get index of alpha channel, or -1 if none.

Referenced by ml::LUTIterator< T >::init().

template<typename T >
T ml::LUTCastFromDouble ( double  value) [inline]

Helper template function to cast from double to type T, performing a proper round operation in case of integer types.

Definition at line 67 of file mlLUTBasic.h.

References T.

MLLUT_EXPORT double ml::LUTConvertRGBtoL ( double  r,
double  g,
double  b 
)

Convert RGB to luminance.

Referenced by ml::LUTIterator< T >::convertRGBtoL().

MLLUT_EXPORT int ml::LUTNumberOfChannels ( LUTVisualType  visualType)

Get number of channels for given LUTVisualType, or 0 if unknown.

Referenced by ml::LUTIteratorBase::getNumChannels(), and ml::LUTIterator< T >::init().

MLLUT_EXPORT LUTVisualType ml::LUTReducedVisualType ( LUTVisualType  visualType)

Get reduced visual type, i.e. ignoring layout variants.

Referenced by ml::LUTIterator< T >::init().

MLuint8 ml::mlAbs ( MLuint8  a) [inline]

Implement mlAbs specializations to avoid comparison < 0 warnings on unsigned types.

Definition at line 107 of file mlUtilsSystem.h.

MLuint16 ml::mlAbs ( MLuint16  a) [inline]

Definition at line 108 of file mlUtilsSystem.h.

template<typename T >
T ml::mlAbs ( a)

Defines ML specific abs template since only type depended library functions exists.

Definition at line 102 of file mlUtilsSystem.h.

Referenced by ml::CSOPathPointConstIterator::numProcessedPoints(), and ml::CSOPathPointIterator::numProcessedPoints().

MLuint64 ml::mlAbs ( MLuint64  a) [inline]

Definition at line 110 of file mlUtilsSystem.h.

MLuint32 ml::mlAbs ( MLuint32  a) [inline]

Definition at line 109 of file mlUtilsSystem.h.

int ml::MLBackgroundTasksInit ( void  )

Calls init functions of all modules to add their types to the runtime type system of the ML.

template<class Object , class Method >
void ml::MLCallMethodWithArguments ( Object *  object,
Method  method,
const ArgumentList0 &   
)

Calls a method on given object with 0 arguments.

Definition at line 104 of file mlArgumentList.h.

Referenced by ml::BackgroundTaskMethodCallMessage< Object, Method, ArgumentList >::execute().

template<class Object , class Method , class Arg1 , class Arg2 , class Arg3 >
void ml::MLCallMethodWithArguments ( Object *  object,
Method  method,
const ArgumentList3< Arg1, Arg2, Arg3 > &  args 
)

Calls a method on given object with 3 arguments.

Definition at line 120 of file mlArgumentList.h.

References ml::ArgumentList3< Arg1, Arg2, Arg3 >::_arg1, ml::ArgumentList3< Arg1, Arg2, Arg3 >::_arg2, and ml::ArgumentList3< Arg1, Arg2, Arg3 >::_arg3.

template<class Object , class Method , class Arg1 >
void ml::MLCallMethodWithArguments ( Object *  object,
Method  method,
const ArgumentList1< Arg1 > &  args 
)

Calls a method on given object with 1 argument.

Definition at line 109 of file mlArgumentList.h.

References ml::ArgumentList1< Arg1 >::_arg1.

template<class Object , class Method , class Arg1 , class Arg2 , class Arg3 , class Arg4 >
void ml::MLCallMethodWithArguments ( Object *  object,
Method  method,
const ArgumentList4< Arg1, Arg2, Arg3, Arg4 > &  args 
)
template<class Object , class Method , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
void ml::MLCallMethodWithArguments ( Object *  object,
Method  method,
const ArgumentList5< Arg1, Arg2, Arg3, Arg4, Arg5 > &  args 
)
template<class Object , class Method , class Arg1 , class Arg2 >
void ml::MLCallMethodWithArguments ( Object *  object,
Method  method,
const ArgumentList2< Arg1, Arg2 > &  args 
)

Calls a method on given object with 2 arguments.

Definition at line 114 of file mlArgumentList.h.

References ml::ArgumentList2< Arg1, Arg2 >::_arg1, and ml::ArgumentList2< Arg1, Arg2 >::_arg2.

int ml::MLCSOInit ( void  )

This is for runtime module initialization.

template<class Arg1 , class Arg2 , class Arg3 , class Arg4 >
ArgumentList4<Arg1, Arg2, Arg3, Arg4> ml::MLGenerateArgumentList ( const Arg1 &  arg1,
const Arg2 &  arg2,
const Arg3 &  arg3,
const Arg4 &  arg4 
) [inline]

Creates argument list with 4 arguments.

Definition at line 94 of file mlArgumentList.h.

template<class Arg1 >
ArgumentList1<Arg1> ml::MLGenerateArgumentList ( const Arg1 &  arg1) [inline]

Create argument list with 1 argument.

Definition at line 80 of file mlArgumentList.h.

ArgumentList0 ml::MLGenerateArgumentList ( ) [inline]

Creates argument list with 0 arguments.

Definition at line 76 of file mlArgumentList.h.

Referenced by NewBackgroundTaskMethodCall().

template<class Arg1 , class Arg2 >
ArgumentList2<Arg1, Arg2> ml::MLGenerateArgumentList ( const Arg1 &  arg1,
const Arg2 &  arg2 
) [inline]

Creates argument list with 2 arguments.

Definition at line 85 of file mlArgumentList.h.

template<class Arg1 , class Arg2 , class Arg3 >
ArgumentList3<Arg1, Arg2, Arg3> ml::MLGenerateArgumentList ( const Arg1 &  arg1,
const Arg2 &  arg2,
const Arg3 &  arg3 
) [inline]

Creates argument list with 3 arguments.

Definition at line 89 of file mlArgumentList.h.

template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
ArgumentList5<Arg1, Arg2, Arg3, Arg4, Arg5> ml::MLGenerateArgumentList ( const Arg1 &  arg1,
const Arg2 &  arg2,
const Arg3 &  arg3,
const Arg4 &  arg4,
const Arg5 &  arg5 
) [inline]

Creates argument list with 5 arguments.

Definition at line 98 of file mlArgumentList.h.

MLEXPORT void ml::MLInitFields ( )

Initialize all standard fields of the ML.

template<class BASE_TYPE >
BASE_TYPE ml::MLInverseMatHelper ( const BASE_TYPE &  origMat,
bool *  isInvertible,
const ML_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.

Parameters:
origMatThe matrix to be inverted.
isInvertibleIf 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 return is the identity then). If a NULL pointer is passed as isInvertible the matrix must be invertible, otherwise errors will occur.
ZeroEpsilonUnused. Former versions used this as an epsilon value to compare to decide whether the determinant is zero or not. Now an MLValueIs0WOM check is used.
ZeroDetErrStringError to be posted if isInvertible is NULL and inverse cannot be calculated.
IdentityIdentity to be returned in case of errors.
DimThe dimension of the matrix.

Definition at line 60 of file mlLinearAlgebraTools.h.

References ML_BAD_PARAMETER, ML_CATCH_RETHROW, ML_PRINT_ERROR, ML_TRACE_IN, ML_TRY, ML_TYPENAME, MLAbs(), MLSwap(), and MLValueIs0WOM().

Referenced by ml::Tmat6< DT >::inverse(), ml::Tmat5< DT >::inverse(), ml::Tmat4< DT >::inverse(), and ml::Tmat3< DT >::inverse().

MLDICOM_TREE_IMAGE_PROPERTY_EXTENSION_EXPORT bool ml::MLIsATString ( const std::string &  supposedATString)

Checks if the given string is a well-formed AT string.

std::string ml::mlITKGetLatin1FromUTF8 ( const std::string &  utf8StdString) [inline]

Convert string from UTF8 to Latin1; return empty string on failure or if "" is passed as utf8StdString.

Invalid characters are coded to ?. A non empty utf8StdString will always lead to a non empty return value, on failure "?" is returned if necessary.

Definition at line 45 of file mlITKCommonToolFunctions.h.

References MLConvertUTF8ToLatin1(), and MLFree().

Referenced by mlITKGetLatin1FromUTF8Static().

std::string& ml::mlITKGetLatin1FromUTF8Static ( const std::string &  utf8StdString) [inline]

Like mlITKGetLatin1FromUTF8(const std::string &utf8StdString); the only difference is that the return value is stored in a static variable to maintain the return value.

Note that this method is not thread or recursion safe and that the next call to this function will overwrite the return value. Thus be careful with referencing the return value!

Definition at line 69 of file mlITKCommonToolFunctions.h.

References mlITKGetLatin1FromUTF8().

std::string ml::mlITKGetUTF8FromLatin1 ( const std::string &  latin1StdString) [inline]

Convert string from Latin1 to UTF8; return empty string on failure or if "" is passed as latin1StdString.

Invalid characters are coded to ?. A non empty latin1StdString will always lead to a non empty return value, on failure "?" is returned if necessary.

Definition at line 84 of file mlITKCommonToolFunctions.h.

References MLConvertLatin1ToUTF8(), and MLFree().

Referenced by mlITKGetUTF8FromLatin1Static().

std::string& ml::mlITKGetUTF8FromLatin1Static ( const std::string &  latin1StdString) [inline]

Like mlITKGetUTF8FromLatin1(const std::string &latin1StdString); the only difference is that the return value is stored in a static variable to maintain the return value.

Note that this method is not thread or recursion safe and that the next call to this function will overwrite the return value. Thus be careful with referencing the return value!

Definition at line 108 of file mlITKCommonToolFunctions.h.

References mlITKGetUTF8FromLatin1().

std::string ml::mlITKMakeStdString ( const std::string &  str) [inline]

Convert for a std::string to a std::string safely.

Definition at line 35 of file mlITKCommonToolFunctions.h.

std::string ml::mlITKMakeStdString ( const char *  str) [inline]

Convert for a char pointer to a std::string safely.

Definition at line 30 of file mlITKCommonToolFunctions.h.

template<typename DATATYPE >
static void ml::MLKernelToolsApplyFiltering ( const ImageVector &  inImgExt,
LineApplicator< DATATYPE > &  lineApp,
KernelTools::BorderHandling  borderHandling,
MLdouble  fillValue,
TSubImageWithCursor< DATATYPE > &  outSubImg,
TSubImageWithCursor< DATATYPE > &  inSubImg 
) [static]

Compute the page outSubImg by filtering inSubImg with the lineApp instance which contains the kernel and intervals.

Note that for each voxel in outSubImg the corresponding voxel in the inSubImg must be defined when it's filtered with the kernel from lineApp. This method is designed to be called in calcOutSubImg() with a valid inSubImg and outSubImg pointer. To filter the page it includes settings of the kernel border handling, the fill value, and lineApp which contains the kernel (algorithm) and the filter interval.

The general way of customizing the Kernel-Filter is provide an own object implementing the LineApplicator interface. The light-wighted LineApplicator class should take care, that the algorithm sticks to the requested voxel surrounding fits. The wrapping of the protected function _applyFiltering follows more esthetic reasons for having a base implementation with simple atomic arguments.

Definition at line 1032 of file mlKernelTools.h.

References ml::LineApplicator< DATATYPE >::getNegativeExtent(), and ml::LineApplicator< DATATYPE >::getPositiveExtent().

Referenced by ml::KernelTools::applyFiltering().

template<typename DATATYPE >
static void ml::MLKernelToolsApplyFiltering ( const ImageVector &  inImgExt,
const fctLineFilter< DATATYPE > &  lineFilter,
const ImageVector &  negKernelExt,
const ImageVector &  posKernelExt,
KernelTools::BorderHandling  borderHandling,
MLdouble  fillValue,
TSubImageWithCursor< DATATYPE > &  outSubImg,
TSubImageWithCursor< DATATYPE > &  inSubImg 
) [static]

Compute the page outSubImg by filtering inSubImg with the passed function taking care of correct intervals and boundary handling.

Note that for each voxel in outSubImg the corresponding voxel in the inSubImg must be defined when it's filtered with the lineFilter function. The Necessary image region is defined by negFilterExt and posFilterExt parameter. This method is designed to be called in calcOutSubImg() with a valid inSubImg and outSubImg pointer. To filter the page it includes settings of border handling, the fill value, the lineFilter Function which contains the kernel algorithm and the filter interval.

Definition at line 1064 of file mlKernelTools.h.

References ml::SubImage::getBox(), ImageVector, ml::TSubImageBox< intT >::intersect(), ML_CATCH_RETHROW, ML_TRACE_IN, ML_TRY, ml::TSubImageWithCursor< DATATYPE >::setCursorImgPos(), ml::TSubImageBox< intT >::v1, ml::TSubImageBox< intT >::v2, and ml::TVector6DBase< CompIntType >::x.

template<typename IN_DATATYPE , typename OUT_DATATYPE >
static void ml::MLKernelToolsCopyLine ( const IN_DATATYPE *  inCursor,
OUT_DATATYPE *  outCursor,
size_t  numVox,
MLsoffset  srcVoxelOffset 
) [static]

Copy the line from input subimage which corresponds to the line to be modified in the output image.

So the filtered area in the output subimage remains unchanged. Cursors in input and output subimage and index table must be up to date.

Definition at line 154 of file mlKernelTools.h.

References ML_CATCH_RETHROW, ML_TRACE_IN, and ML_TRY.

Referenced by ml::KernelTools::copyLine().

template<typename IN_DATATYPE , typename OUT_DATATYPE , typename K_DATATYPE >
static void ml::MLKernelToolsCorrelateLine ( const IN_DATATYPE *  inCursor,
OUT_DATATYPE *  outCursor,
size_t  numVox,
const K_DATATYPE *  valTab,
const MLsoffset indexTab,
size_t  indexTabSize 
) [static]

Correlate all voxels of the a row pointed to by inCursor with the current kernel and write the result into the row pointed to by outCursor.

The number of voxels to be filtered is numVox. The element values of the kernel to correlate with are in valTab. The voxels covered by kernel elements in the input image are given by the current cursor position + the values in indexTab. Their entry indexes correspond to the elements in valTab. indexTabSize is the number of elements in indexTab and in valTab. Cursors in input and output subimage and index table must be on row start positions.

Definition at line 189 of file mlKernelTools.h.

References ML_CATCH_RETHROW, ML_TRACE_IN, and ML_TRY.

Referenced by ml::KernelTools::correlateLine(), and MLKernelToolsCorrelateLineEvtWithIntervals().

template<typename IN_DATATYPE , typename OUT_DATATYPE , typename K_DATATYPE >
static void ml::MLKernelToolsCorrelateLineEvtWithIntervals ( const IN_DATATYPE *  inCursor,
OUT_DATATYPE *  outCursor,
size_t  numVox,
const K_DATATYPE *  valTab,
const MLsoffset indexTab,
size_t  indexTabSize,
MLsoffset  srcVoxelOffset,
MLdouble  imgIntMinVal,
MLdouble  imgIntMaxVal,
MLdouble  kernIntMinVal,
MLdouble  kernIntMaxVal,
bool  useImgInt,
bool  useKernInt 
) [static]

Correlate all voxels of the a row pointed to by inCursor with the current kernel and write the result into the row pointed to by outCursor.

Dependent on the flags useImgInt and useKernInt the correct call of one of the methods

  • correlateLineWithImageAndKernelInterval
  • correlateLineWithKernelInterval
  • correlateLineWithImageInterval or
  • correlateLine is used to accomplish filtering. For more infos read documentation of those methods and their parameters.

Definition at line 496 of file mlKernelTools.h.

References ML_CATCH_RETHROW, ML_TRACE_IN, ML_TRY, MLKernelToolsCorrelateLine(), MLKernelToolsCorrelateLineWithImageAndKernelInterval(), MLKernelToolsCorrelateLineWithImageInterval(), and MLKernelToolsCorrelateLineWithKernelInterval().

Referenced by ml::KernelTools::correlateLineEvtWithIntervals().

template<typename IN_DATATYPE , typename OUT_DATATYPE , typename K_DATATYPE >
static void ml::MLKernelToolsCorrelateLineWithImageAndKernelInterval ( const IN_DATATYPE *  inCursor,
OUT_DATATYPE *  outCursor,
size_t  numVox,
const K_DATATYPE *  valTab,
const MLsoffset indexTab,
size_t  indexTabSize,
MLsoffset  srcVoxelOffset,
MLdouble  imgIntMinVal,
MLdouble  imgIntMaxVal,
MLdouble  kernIntMinVal,
MLdouble  kernIntMaxVal 
) [static]

Correlate all voxels of the a row pointed to by inCursor with the current kernel and write the result into the row pointed to by outCursor.

Only input image voxels are filtered which fulfil the interval [imgIntMinVal, imgIntMaxVal]. All input image voxels under kernel elements which are not in the interval [kernIntMinVal, kernIntMaxVal] are not multiplied with kernel element values and are not added to the result value. If no value under kernel elements is within [kernIntMinVal, kernIntMaxVal] then the input image voxel is passed unchanged to the output subimage. Note that both intervals are also considered exclusive, so if min > max then also voxels bigger than min or smaller than max are inside interval. The number of voxels in row to be filtered is numVox. The element values of the kernel to correlate with are in valTab. The voxels covered by kernel elements in input image are given by the current cursor position + the values in indexTab. Their entry indexes correspond to the elements in valTab. indexTabSize is the number of elements in indexTab and in valTab. Cursors in input and output subimage and index table must be on row start positions.

Definition at line 405 of file mlKernelTools.h.

References isScalarValueInRange(), ML_CATCH_RETHROW, ml_scalar_factor_cast(), ML_TRACE_IN, ML_TRY, and MLValueIs0WOM().

Referenced by ml::KernelTools::correlateLineWithImageAndKernelInterval(), and MLKernelToolsCorrelateLineEvtWithIntervals().

template<typename IN_DATATYPE , typename OUT_DATATYPE , typename K_DATATYPE >
static void ml::MLKernelToolsCorrelateLineWithImageInterval ( const IN_DATATYPE *  inCursor,
OUT_DATATYPE *  outCursor,
size_t  numVox,
const K_DATATYPE *  valTab,
const MLsoffset indexTab,
size_t  indexTabSize,
MLsoffset  srcVoxelOffset,
MLdouble  minVal,
MLdouble  maxVal 
) [static]

Correlate all voxels of the a row pointed to by inCursor with the current kernel and write the result into the row pointed to by outCursor.

All voxels which are not within interval minVal and maxVal are simply copied. Note that the interval is also considered exclusive, so if min > max then also voxels bigger than min or smaller than max are inside interval. The number of voxels to be filtered is numVox. The element values of the kernel to correlate with are in valTab. The voxels covered by kernel elements in input image are given by the current cursor position + the values in indexTab. Their entry indexes correspond to the elements in valTab. indexTabSize is the number of elements in indexTab and in valTab. Cursors in input and output subimage and index table must be on row start positions.

Definition at line 243 of file mlKernelTools.h.

References isScalarValueInRange(), ML_CATCH_RETHROW, ML_TRACE_IN, and ML_TRY.

Referenced by ml::KernelTools::correlateLineWithImageInterval(), and MLKernelToolsCorrelateLineEvtWithIntervals().

template<typename IN_DATATYPE , typename OUT_DATATYPE , typename K_DATATYPE >
static void ml::MLKernelToolsCorrelateLineWithKernelInterval ( const IN_DATATYPE *  inCursor,
OUT_DATATYPE *  outCursor,
size_t  numVox,
const K_DATATYPE *  valTab,
const MLsoffset indexTab,
size_t  indexTabSize,
MLsoffset  srcVoxelOffset,
MLdouble  minVal,
MLdouble  maxVal 
) [static]

Correlate all voxels of the a row pointed to by inCursor with the current kernel and write the result into the row pointed to by outCursor.

All input image voxels under kernel elements which are not in the kernel interval are not multiplied with kernel element values and are not added to the result value. If no value under kernel elements is within interval then the input image voxel is passed unchanged. Note that the interval is also considered exclusive, so if min > max then also voxels bigger than min or smaller than max are inside interval. The number of voxels in row to be filtered is numVox. The element values of the kernel to correlate with are in valTab. The voxels covered by kernel elements in input image are given by the current cursor position + the values in indexTab. Their entry indexes correspond to the elements in valTab. indexTabSize is the number of elements in indexTab and in valTab. Cursors in input and output subimage and index table must be on row start positions.

Definition at line 318 of file mlKernelTools.h.

References isScalarValueInRange(), ML_CATCH_RETHROW, ml_scalar_factor_cast(), ML_TRACE_IN, ML_TRY, and MLValueIs0WOM().

Referenced by ml::KernelTools::correlateLineWithKernelInterval(), and MLKernelToolsCorrelateLineEvtWithIntervals().

template<typename DTYPE , unsigned int ROW_DIM, unsigned int COL_DIM>
Matrix4 ml::MLMatrixFromITKMatrix ( const ITKML_TYPENAME itk::Matrix< DTYPE, ROW_DIM, COL_DIM > &  mat,
bool  fillWithID = false 
)

Converts itk::Matrix mat of type itk::Matrix<DTYPE, ROW_DIM, COL_DIM> to the returned ML 4x4 matrix of type double; all components of the returned matrix are set with cast values from existing entries from mat; all other entries are left as predefined with a Matrix4::getIdentity call.

If DTYPE does not match the double type information loss may occur. itk Matrix entries with higher dimensions than the 4 ML matrix dimensions will be ignored and warned.

Definition at line 537 of file mlITKSupportToolFunctions.h.

References ML_BAD_DIMENSION, ML_PRINT_WARNING, ML_TRACE_IN, and ml::Tmat4< DT >::set().

Referenced by setMLWorldFromITKScaleOriginAndOrientation().

Matrix4 ml::MLMatrixFromVTKMatrix4x4 ( const vtkMatrix4x4 *  mat) [inline]

Convert a VTK 4x4 matrix to an ML 4x4 matrix.

Definition at line 83 of file mlVTKSpecialFieldsSupport.h.

template<typename T >
T ml::mlMax ( a,
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 99 of file mlUtilsSystem.h.

template<typename T >
T ml::mlMin ( a,
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 95 of file mlUtilsSystem.h.

template<typename REGION_PARENT_TYPE >
SubImageBox ml::MLSubImgBoxFromITKRegion ( const typename REGION_PARENT_TYPE::RegionType &  region)

Assign and cast values from an ITK region to an ML SubImageBox object.

ML dimensions higher than ITK dimensions are ignored and filled with 0. ITK dimensions higher than ML dimensions are warned and ignored. param REGION_PARENT_TYPE is the expected ITK region type.

Parameters:
regionis the itk object whose index and size are translated to the components of the returned SubImageBox.
Returns:
the returned SubImageBox representing the ITK region.

Definition at line 319 of file mlITKSupportToolFunctions.h.

References ImageVector, ML_TRACE_IN, MLVectorFromITKIndex(), MLVectorFromITKSize(), ml::TSubImageBox< intT >::v1, and ml::TSubImageBox< intT >::v2.

template<class OBJ_TYPE >
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 31 of file mlLinearAlgebraTools.h.

References ML_TRACE_IN_TIME_CRITICAL.

Referenced by MLInverseMatHelper().

template<typename INDEX_TYPE >
ImageVector ml::MLVectorFromITKIndex ( const INDEX_TYPE &  indexObj,
MLint  defaultVal 
)

Assign and cast values from an ITK index object to an ML ImageVector.

ML dimensions higher than ITK dimensions are ignored and filled with 0. ITK dimensions higher than ML dimensions are warned and ignored. param INDEX_TYPE is the ITK index object type.

Parameters:
indexObjis the object from which the components are copied and cast to the corresponding components in the returned ImageVector object.
defaultValis assigned to all components which are not given by indexObj.
Returns:
the ML ImageVector representing the indexObj.

Definition at line 166 of file mlITKSupportToolFunctions.h.

References ImageVector, ML_BAD_DIMENSION, ML_PRINT_WARNING, and ML_TRACE_IN.

Referenced by MLSubImgBoxFromITKRegion().

template<typename INDEX_TYPE >
ImageVector ml::MLVectorFromITKSize ( const INDEX_TYPE &  sizeObj,
MLint  defaultVal 
)

Assign and cast values from an ITK size object to an ML ImageVector.

ML dimensions higher than ITK dimensions are ignored and filled with 0. ITK dimensions higher than ML dimensions are warned and ignored. param INDEX_TYPE is the ITK size object type.

Parameters:
sizeObjis the ITK size object to be filled with values from vec.
defaultValis assigned to all ImageVector components which are not given sizeObj.
Returns:
the ML ImageVector representing the sizeObj.

Definition at line 137 of file mlITKSupportToolFunctions.h.

References ImageVector, ML_BAD_DIMENSION, ML_PRINT_WARNING, and ML_TRACE_IN.

Referenced by MLSubImgBoxFromITKRegion().

std::string ml::mlVTKGetLatin1FromUTF8 ( const std::string &  utf8StdString) [inline]

Convert string from UTF8 to Latin1; return empty string on failure or if "" is passed as utf8StdString.

Invalid characters are coded to ?. A non empty utf8StdString will always lead to a non empty return value, on failure "?" is returned if necessary.

Definition at line 45 of file mlVTKCommonToolFunctions.h.

References MLConvertUTF8ToLatin1(), and MLFree().

Referenced by mlVTKGetLatin1FromUTF8Static().

std::string& ml::mlVTKGetLatin1FromUTF8Static ( const std::string &  utf8StdString) [inline]

Like mlVTKGetLatin1FromUTF8(const std::string &utf8StdString); the only difference is that the return value is stored in a static variable to maintain the return value.

Note that this method is not thread or recursion safe and that the next call to this function will overwrite the return value. Thus be careful with referencing the return value!

Definition at line 69 of file mlVTKCommonToolFunctions.h.

References mlVTKGetLatin1FromUTF8().

std::string ml::mlVTKGetUTF8FromLatin1 ( const std::string &  latin1StdString) [inline]

Convert string from Latin1 to UTF8; return empty string on failure or if "" is passed as latin1StdString.

Invalid characters are coded to ?. A non empty latin1StdString will always lead to a non empty return value, on failure "?" is returned if necessary.

Definition at line 84 of file mlVTKCommonToolFunctions.h.

References MLConvertLatin1ToUTF8(), and MLFree().

Referenced by mlVTKGetUTF8FromLatin1Static().

std::string& ml::mlVTKGetUTF8FromLatin1Static ( const std::string &  latin1StdString) [inline]

Like mlVTKGetUTF8FromLatin1(const std::string &latin1StdString); the only difference is that the return value is stored in a static variable to maintain the return value.

Note that this method is not thread or recursion safe and that the next call to this function will overwrite the return value. Thus be careful with referencing the return value!

Definition at line 108 of file mlVTKCommonToolFunctions.h.

References mlVTKGetUTF8FromLatin1().

std::string ml::mlVTKMakeStdString ( const char *  str) [inline]

Convert for a char pointer to a std::string safely.

Definition at line 30 of file mlVTKCommonToolFunctions.h.

std::string ml::mlVTKMakeStdString ( const std::string &  str) [inline]

Convert for a std::string to a std::string safely.

Definition at line 35 of file mlVTKCommonToolFunctions.h.

int ml::MLWEMInit ( void  )

This is for runtime module initialization.

template<class T >
T ml::mul ( const Cslice_iter< T > &  v1,
const std::valarray< T > &  v2 
)

vector multiplication interpret valarray v2 as line vector This function is used to assist implementation of the other matrix multiplications.

Definition at line 390 of file mlMatrixTemplate.h.

References T.

Referenced by operator*().

template<class T >
std::valarray<T> ml::mul_mv ( const MatrixTemplate< T > &  m,
std::valarray< T > &  v 
)
template<class Object , class Method , class Arg1 , class Arg2 , class Arg3 , class Arg4 >
BackgroundTaskMessage* ml::NewBackgroundTaskMethodCall ( Object *  object,
Method  method,
const Arg1 &  arg1,
const Arg2 &  arg2,
const Arg3 &  arg3,
const Arg4 &  arg4 
) [inline]

create new method call with 4 arguments

Definition at line 71 of file mlBackgroundTaskMethodCallMessage.h.

References MLGenerateArgumentList().

template<class Object , class Method , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
BackgroundTaskMessage* ml::NewBackgroundTaskMethodCall ( Object *  object,
Method  method,
const Arg1 &  arg1,
const Arg2 &  arg2,
const Arg3 &  arg3,
const Arg4 &  arg4,
const Arg5 &  arg5 
) [inline]

create new method call with 5 arguments

Definition at line 77 of file mlBackgroundTaskMethodCallMessage.h.

References MLGenerateArgumentList().

template<class Object , class Method , class Arg1 , class Arg2 , class Arg3 >
BackgroundTaskMessage* ml::NewBackgroundTaskMethodCall ( Object *  object,
Method  method,
const Arg1 &  arg1,
const Arg2 &  arg2,
const Arg3 &  arg3 
) [inline]

create new method call with 3 arguments

Definition at line 65 of file mlBackgroundTaskMethodCallMessage.h.

References MLGenerateArgumentList().

template<class Object , class Method >
BackgroundTaskMessage* ml::NewBackgroundTaskMethodCall ( Object *  object,
Method  method 
) [inline]
template<class Object , class Method , class Arg1 >
BackgroundTaskMessage* ml::NewBackgroundTaskMethodCall ( Object *  object,
Method  method,
const Arg1 &  arg1 
) [inline]

create new method call with 1 argument

Definition at line 53 of file mlBackgroundTaskMethodCallMessage.h.

References MLGenerateArgumentList().

template<class Object , class Method , class Arg1 , class Arg2 >
BackgroundTaskMessage* ml::NewBackgroundTaskMethodCall ( Object *  object,
Method  method,
const Arg1 &  arg1,
const Arg2 &  arg2 
) [inline]

create new method call with 2 arguments

Definition at line 59 of file mlBackgroundTaskMethodCallMessage.h.

References MLGenerateArgumentList().

std::list<std::string> ml::omGetKnownAttributes ( )

Returns a list of all registered attribute type names.

std::list<std::string> ml::omGetKnownDataTypes ( )

Returns a list of all registered attribute type names.

template<class T , size_t size, class DataContainer >
bool operator! ( const FloatingPointVector< T, size, DataContainer > &  a) [inline]

Returns true if all components are 0, otherwise returns false.

Definition at line 381 of file mlFloatingPointVector.h.

template<class DT >
bool ml::operator!= ( const Tmat6< DT > &  a,
const Tmat6< DT > &  b 
)

a != b ? Return true if yes, otherwise false.

Definition at line 711 of file mlMatrix6.h.

References ML_TRACE_IN_TIME_CRITICAL.

bool ml::operator!= ( const MLImageFormatTag &  tag1,
const MLImageFormatTag &  tag2 
) [inline]

Inequality operator.

Definition at line 283 of file mlImageFormatTag.h.

References ml::MLImageFormatTag::getName(), and ml::MLImageFormatTag::getValue().

template<class DT >
bool ml::operator!= ( const Tmat2< DT > &  a,
const Tmat2< DT > &  b 
) [inline]

a != b ? Return true if yes.

Definition at line 509 of file mlMatrix2.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
bool ml::operator!= ( const Tmat3< DT > &  a,
const Tmat3< DT > &  b 
) [inline]

a != b ? Return true if yes, otherwise false.

Definition at line 577 of file mlMatrix3.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
bool ml::operator!= ( const Tmat4< DT > &  a,
const Tmat4< DT > &  b 
) [inline]

a != b ? Return true if yes.

Definition at line 389 of file mlMatrix4.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
bool ml::operator!= ( const Tmat5< DT > &  a,
const Tmat5< DT > &  b 
) [inline]

a != b ? Return true if yes, otherwise false.

Definition at line 788 of file mlMatrix5.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tvec6<DT> ml::operator* ( const Tmat6< DT > &  a,
const Tvec6< DT > &  v 
) [inline]

Multiplies 6x6 matrix a with vector v.

Definition at line 724 of file mlMatrix6.h.

References _ML_MAT6_RC, and ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tvec6<DT> ml::operator* ( const Tvec6< DT > &  v,
const Tmat6< DT > &  a 
) [inline]

Multiplies vector v with 6x6 matrix a.

Definition at line 736 of file mlMatrix6.h.

References ML_TRACE_IN_TIME_CRITICAL, and ml::Tmat6< DT >::transpose().

template<class DT , class DT2 >
Tvec3<DT> ml::operator* ( const Tmat3< DT > &  a,
const Tvec3< DT2 > &  v 
) [inline]

Normal multiplication of 3x3 matrix a with 3d vector v with a Tvec3 as result.

Definition at line 261 of file mlVector3.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT , class DT2 >
Tvec3<DT> ml::operator* ( const Tvec3< DT > &  v,
const Tmat3< DT2 > &  a 
) [inline]

Normal multiplication of 3d vector v with 3x3 matrix with a Tvec3 as result.

Definition at line 275 of file mlVector3.h.

References ML_TRACE_IN_TIME_CRITICAL, and ml::Tmat3< DT >::transpose().

template<class DT , class DT2 >
Tvec3<DT> ml::operator* ( const Tmat4< DT > &  a,
const Tvec3< DT2 > &  v 
) [inline]

Interpret v as a 4d homogeneous point and multiply the 4x4 matrix M with it and return a Tvec3 after normalizing the result by dividing by the fourth component.

It's up to the caller to guarantee that matrix a multiplied with a homogeneous 4d point results to a homogeneous point to avoid divisions by zero on normalizing the result.

Definition at line 291 of file mlVector3.h.

References ml::Tvec3< DT >::affinePoint(), and ML_TRACE_IN_TIME_CRITICAL.

template<class DT , class DT2 >
Tvec3<DT> ml::operator* ( const Tvec3< DT > &  v,
const Tmat4< DT2 > &  a 
) [inline]

Interpret v as a 4d homogeneous point and multiply it with the 4x4 matrix M and return a Tvec3 after normalizing the result by dividing by the fourth component.

It's up to the caller to guarantee that matrix a multiplied with a homogeneous 4d point results to a homogeneous point to avoid divisions by zero on normalizing the result.

Definition at line 308 of file mlVector3.h.

References ML_TRACE_IN_TIME_CRITICAL, and ml::Tmat4< DT >::transpose().

template<class T >
std::valarray<T> ml::operator* ( std::valarray< T > &  v,
const MatrixTemplate< T > &  m 
)
template<class DT >
Tvec4<DT> ml::operator* ( const Tmat4< DT > &  a,
const Tvec4< DT > &  v 
) [inline]

Multiplies 4x4 matrix a with vector v.

Definition at line 159 of file mlVector4.h.

References _ML_VEC4_RC, and ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tvec5<DT> ml::operator* ( const Tmat5< DT > &  a,
const Tvec5< DT > &  v 
) [inline]

Multiplies 5x5 matrix a with vector v.

Definition at line 219 of file mlVector5.h.

References _ML_VEC5_RC, and ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat2<DT> ml::operator* ( const DT  d,
const Tmat2< DT > &  a 
) [inline]

Returns the component wise multiplication of scalar d with matrix a.

Definition at line 560 of file mlMatrix2.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > operator* ( MLdouble  lhs,
FloatingPointVector< T, size, DataContainer >  rhs 
) [inline]

Component wise multiplication of rhs with lhs.

Definition at line 458 of file mlFloatingPointVector.h.

References T.

template<class DT >
Tmat2<DT> ml::operator* ( const Tmat2< DT > &  a,
const Tmat2< DT > &  b 
) [inline]

Definition at line 486 of file mlMatrix2.h.

References _ML_MAT2_RC, and ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat2<DT> ml::operator* ( const Tmat2< DT > &  a,
DT  d 
) [inline]

Returns the component wise multiplication of matrix a with scalar d.

Definition at line 551 of file mlMatrix2.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat6<DT> ml::operator* ( const Tmat6< DT > &  a,
const DT  d 
) [inline]

Returns the component wise multiplication of matrix a with scalar d.

Definition at line 365 of file mlMatrix6.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tvec2<DT> ml::operator* ( const Tmat2< DT > &  a,
const Tvec2< DT > &  v 
) [inline]

Normal multiplication of 2x2 matrix a with 2D vector v with a Tvec2as result.

Definition at line 586 of file mlMatrix2.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tvec2<DT> ml::operator* ( const Tvec2< DT > &  v,
const Tmat2< DT > &  a 
) [inline]

Normal multiplication of 2D vector v with 2x2 matrix with a Tvec2as result.

Definition at line 596 of file mlMatrix2.h.

References ML_TRACE_IN_TIME_CRITICAL, and ml::Tmat2< DT >::transpose().

template<class DT >
Tmat5<DT> ml::operator* ( const Tmat5< DT > &  a,
const DT  d 
) [inline]

Returns the component wise multiplication of matrix a with scalar d.

Definition at line 367 of file mlMatrix5.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > operator* ( FloatingPointVector< T, size, DataContainer >  lhs,
MLdouble  rhs 
) [inline]

Component wise multiplication of lhs with rhs.

Definition at line 448 of file mlFloatingPointVector.h.

References T.

template<class DT >
Tmat3<DT> ml::operator* ( const Tmat3< DT > &  a,
const DT  d 
) [inline]

Returns the component wise multiplication of matrix a with scalar d.

Definition at line 337 of file mlMatrix3.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat3<DT> ml::operator* ( const DT  d,
const Tmat3< DT > &  a 
) [inline]

Returns the component wise multiplication of scalar d with matrix a.

Definition at line 346 of file mlMatrix3.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat3<DT> ml::operator* ( const Tmat3< DT > &  a,
const Tmat3< DT > &  b 
) [inline]

Matrix 3 product.

Definition at line 549 of file mlMatrix3.h.

References _ML_MAT3_RC, and ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tvec5<DT> ml::operator* ( const Tvec5< DT > &  v,
const Tmat5< DT > &  a 
) [inline]

Multiplies vector v with 5x5 matrix a.

Definition at line 231 of file mlVector5.h.

References ML_TRACE_IN_TIME_CRITICAL, and ml::Tmat5< DT >::transpose().

template<class DT >
Tmat4<DT> ml::operator* ( const Tmat4< DT > &  a,
const Tmat4< DT > &  b 
) [inline]

a * b. Standard matrix multiplication.

Definition at line 361 of file mlMatrix4.h.

References _ML_MAT4_RC, and ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat4<DT> ml::operator* ( const Tmat4< DT > &  a,
const DT  d 
) [inline]

Returns the component wise multiplication of matrix a with scalar d.

Definition at line 431 of file mlMatrix4.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class T , size_t size, class DataContainer >
T operator* ( const FloatingPointVector< T, size, DataContainer > &  a,
const FloatingPointVector< T, size, DataContainer > &  b 
) [inline]

Dot product, returns a.dot(b).

Definition at line 438 of file mlFloatingPointVector.h.

References ml::FloatingPointVector< T, size, DataContainer >::dot().

template<class DT >
Tmat5<DT> ml::operator* ( const DT  d,
const Tmat5< DT > &  a 
) [inline]

Returns the component wise multiplication of scalar d with matrix a.

Definition at line 376 of file mlMatrix5.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tvec4<DT> ml::operator* ( const Tvec4< DT > &  v,
const Tmat4< DT > &  a 
) [inline]

Multiplies vector v with 4x4 matrix a.

Definition at line 171 of file mlVector4.h.

References ML_TRACE_IN_TIME_CRITICAL, and ml::Tmat4< DT >::transpose().

template<class DT >
Tmat5<DT> ml::operator* ( const Tmat5< DT > &  a,
const Tmat5< DT > &  b 
)

Matrix product.

Definition at line 752 of file mlMatrix5.h.

References _ML_MAT5_RC, and ML_TRACE_IN.

template<class DT >
Tmat4<DT> ml::operator* ( const DT  d,
const Tmat4< DT > &  a 
) [inline]

Returns the component wise multiplication of scalar d with matrix a.

Definition at line 440 of file mlMatrix4.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class T >
std::valarray<T> ml::operator* ( const MatrixTemplate< T > &  m,
const std::valarray< T > &  v 
)

implements standard matrix-vector multiplication

Definition at line 400 of file mlMatrixTemplate.h.

References ML_BAD_PARAMETER, ML_PRINT_ERROR, mul(), ml::MatrixTemplate< T >::row(), ml::MatrixTemplate< T >::sizeX(), and ml::MatrixTemplate< T >::sizeY().

template<class DT >
Tmat6<DT> ml::operator* ( const DT  d,
const Tmat6< DT > &  a 
) [inline]

Returns the component wise multiplication of scalar d with matrix a.

Definition at line 374 of file mlMatrix6.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat6<DT> ml::operator* ( const Tmat6< DT > &  a,
const Tmat6< DT > &  b 
)

Matrix product.

Definition at line 677 of file mlMatrix6.h.

References _ML_MAT6_RC, and ML_TRACE_IN_TIME_CRITICAL.

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > & operator*= ( FloatingPointVector< T, size, DataContainer > &  op1,
MLdouble  value 
) [inline]

Arithmetic assignment: Component wise multiplication *this with scalar value.

Arithmetic assignment: Component wise multiplication *this with specialized MLdouble scalar value.

Definition at line 329 of file mlFloatingPointVector.h.

References T.

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > & operator*= ( FloatingPointVector< T, size, DataContainer > &  op1,
const FloatingPointVector< T, size, DataContainer > &  op2 
) [inline]

Arithmetic assignment: Component wise multiplication *this with a vector of the same size.

Definition at line 340 of file mlFloatingPointVector.h.

template<class DT >
Tmat2<DT> ml::operator+ ( const Tmat2< DT > &  a,
const Tmat2< DT > &  b 
) [inline]

Returns component wise sum of matrix a and matrix b.

Definition at line 533 of file mlMatrix2.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat3<DT> ml::operator+ ( const Tmat3< DT > &  a,
const Tmat3< DT > &  b 
) [inline]

Returns component wise sum of matrix a and matrix b.

Definition at line 319 of file mlMatrix3.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > operator+ ( const FloatingPointVector< T, size, DataContainer > &  buffer) [inline]

Unary plus, for completeness and for those who really want to use that...

Definition at line 415 of file mlFloatingPointVector.h.

template<class DT >
Tmat4<DT> ml::operator+ ( const Tmat4< DT > &  a,
const Tmat4< DT > &  b 
) [inline]

Returns component wise sum of matrix a and matrix b.

Definition at line 413 of file mlMatrix4.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat5<DT> ml::operator+ ( const Tmat5< DT > &  a,
const Tmat5< DT > &  b 
) [inline]

Returns component wise sum of matrix a and matrix b.

Definition at line 349 of file mlMatrix5.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > operator+ ( FloatingPointVector< T, size, DataContainer >  lhs,
const FloatingPointVector< T, size, DataContainer > &  rhs 
) [inline]

Return value is the component wise addition of lhs and rhs.

Definition at line 393 of file mlFloatingPointVector.h.

template<class DT >
Tmat6<DT> ml::operator+ ( const Tmat6< DT > &  a,
const Tmat6< DT > &  b 
) [inline]

Returns component wise sum of matrix a and matrix b.

Definition at line 347 of file mlMatrix6.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > & operator+= ( FloatingPointVector< T, size, DataContainer > &  op1,
const FloatingPointVector< T, size, DataContainer > &  buffer 
) [inline]

Arithmetic assignment: Component wise addition.

Definition at line 296 of file mlFloatingPointVector.h.

template<class DT >
Tmat5<DT> ml::operator- ( const Tmat5< DT > &  a,
const Tmat5< DT > &  b 
) [inline]

Returns component wise difference of matrix a and matrix b.

Definition at line 358 of file mlMatrix5.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat6<DT> ml::operator- ( const Tmat6< DT > &  a) [inline]

Returns matrix a with all values negated.

Definition at line 338 of file mlMatrix6.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat4<DT> ml::operator- ( const Tmat4< DT > &  a,
const Tmat4< DT > &  b 
) [inline]

Returns component wise difference of matrix a and matrix b.

Definition at line 422 of file mlMatrix4.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat2<DT> ml::operator- ( const Tmat2< DT > &  a) [inline]

Returns matrix a with all values negated.

Definition at line 524 of file mlMatrix2.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat3<DT> ml::operator- ( const Tmat3< DT > &  a,
const Tmat3< DT > &  b 
) [inline]

Returns component wise difference of matrix a and matrix b.

Definition at line 328 of file mlMatrix3.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat2<DT> ml::operator- ( const Tmat2< DT > &  a,
const Tmat2< DT > &  b 
) [inline]

Returns component wise difference of matrix a and matrix b.

Definition at line 542 of file mlMatrix2.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat6<DT> ml::operator- ( const Tmat6< DT > &  a,
const Tmat6< DT > &  b 
) [inline]

Returns component wise difference of matrix a and matrix b.

Definition at line 356 of file mlMatrix6.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > operator- ( const FloatingPointVector< T, size, DataContainer > &  buffer) [inline]

Unary minus, all components of the vector are multiplied with -1.

Definition at line 426 of file mlFloatingPointVector.h.

template<class DT >
Tmat4<DT> ml::operator- ( const Tmat4< DT > &  a) [inline]

Returns matrix a with all values negated.

Definition at line 404 of file mlMatrix4.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat3<DT> ml::operator- ( const Tmat3< DT > &  a) [inline]

Returns matrix a with all values negated.

Definition at line 310 of file mlMatrix3.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > operator- ( FloatingPointVector< T, size, DataContainer >  lhs,
const FloatingPointVector< T, size, DataContainer > &  rhs 
) [inline]

Return value is the component wise subtraction of rhs from lhs.

Definition at line 404 of file mlFloatingPointVector.h.

template<class DT >
Tmat5<DT> ml::operator- ( const Tmat5< DT > &  a) [inline]

Returns matrix a with all values negated.

Definition at line 340 of file mlMatrix5.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > & operator-= ( FloatingPointVector< T, size, DataContainer > &  op1,
const FloatingPointVector< T, size, DataContainer > &  buffer 
) [inline]

Arithmetic assignment: Component wise subtraction of buffer from *this.

Definition at line 307 of file mlFloatingPointVector.h.

template<class DT >
Tmat5<DT> ml::operator/ ( const Tmat5< DT > &  a,
const DT  d 
) [inline]

Return 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 386 of file mlMatrix5.h.

References ML_CATCH_RETHROW, ML_CHECK_FLOAT_THROW, ML_TRACE_IN, and ML_TRY.

template<class DT >
Tmat4<DT> ml::operator/ ( const Tmat4< DT > &  a,
const DT  d 
) [inline]

Return 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 450 of file mlMatrix4.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat2<DT> ml::operator/ ( const Tmat2< DT > &  a,
const DT  d 
) [inline]

Return 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 570 of file mlMatrix2.h.

References ML_CATCH_RETHROW, ML_TRACE_IN_TIME_CRITICAL, and ML_TRY.

template<class DT >
Tmat3<DT> ml::operator/ ( const Tmat3< DT > &  a,
const DT  d 
) [inline]

Return 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 356 of file mlMatrix3.h.

References ML_CATCH_RETHROW, ML_TRACE_IN_TIME_CRITICAL, and ML_TRY.

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > operator/ ( FloatingPointVector< T, size, DataContainer >  lhs,
MLdouble  rhs 
) [inline]

Component wise division of lhs by specialied rhs of type MLdouble.

Definition at line 468 of file mlFloatingPointVector.h.

References T.

template<class DT >
Tmat6<DT> ml::operator/ ( const Tmat6< DT > &  a,
const DT  d 
) [inline]

Return 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 384 of file mlMatrix6.h.

References ML_CATCH_RETHROW, ML_CHECK_FLOAT_THROW, ML_TRACE_IN, and ML_TRY.

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > & operator/= ( FloatingPointVector< T, size, DataContainer > &  op1,
const FloatingPointVector< T, size, DataContainer > &  op2 
) [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 367 of file mlFloatingPointVector.h.

template<class T , size_t size, class DataContainer >
FloatingPointVector< T, size, DataContainer > & operator/= ( FloatingPointVector< T, size, DataContainer > &  op1,
MLdouble  value 
) [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 352 of file mlFloatingPointVector.h.

References T.

template<class T >
std::ostream& ml::operator<< ( std::ostream &  os,
MatrixTemplate< T > &  m 
)

override operator<<(.,.) for class MatrixTemplate<T>

Definition at line 465 of file mlMatrixTemplate.h.

std::ostream& ml::operator<< ( std::ostream &  out,
const KeyFrame &  frame 
)

KeyFrame stream output.

template<class DATATYPE >
std::ostream& ml::operator<< ( std::ostream &  s,
const std::vector< DATATYPE > &  vec 
) [inline]

Helper output/input stream operators.

Operator << for output of std::vector into streams

Definition at line 31 of file mlMultiFields.h.

References ML_TRACE_IN.

MLTOOLS_EXPORT std::ostream& ml::operator<< ( std::ostream &  s,
const StringLineMultiField &  stringLineMulti 
)

All strings of the internal vector are streamed into the output stream and StringLineMultiField::DefaultLineSeparator is streamed out between them.

After the last element no separator is sent.

template<class DT >
bool ml::operator== ( const Tmat4< DT > &  a,
const Tmat4< DT > &  b 
) [inline]

a == b ? Return true if yes.

Definition at line 377 of file mlMatrix4.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
bool ml::operator== ( const Tmat6< DT > &  a,
const Tmat6< DT > &  b 
)

a == b ? Return true if yes, otherwise false.

Definition at line 695 of file mlMatrix6.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
bool ml::operator== ( const Tmat5< DT > &  a,
const Tmat5< DT > &  b 
) [inline]

a == b ? Return true if yes, otherwise false.

Definition at line 773 of file mlMatrix5.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
bool ml::operator== ( const Tmat2< DT > &  a,
const Tmat2< DT > &  b 
) [inline]

a == b ? Return true if yes.

Definition at line 499 of file mlMatrix2.h.

References ML_TRACE_IN_TIME_CRITICAL.

Referenced by ml::TQuaternion< DT >::operator!=(), and ml::SubImageBoxd::operator!=().

bool ml::operator== ( const MLImageFormatTag &  tag1,
const MLImageFormatTag &  tag2 
) [inline]

Equality operator.

Definition at line 273 of file mlImageFormatTag.h.

References ml::MLImageFormatTag::getName(), and ml::MLImageFormatTag::getValue().

template<class DT >
bool ml::operator== ( const Tmat3< DT > &  a,
const Tmat3< DT > &  b 
) [inline]

a == b ? Return true if yes, otherwise false.

Definition at line 564 of file mlMatrix3.h.

References ML_TRACE_IN_TIME_CRITICAL.

MLTOOLS_EXPORT std::istream& ml::operator>> ( std::istream &  s,
StringLineMultiField &  stringLineMulti 
)

Operator >> for input from streams into StringLineMultiField where all newline ('
') chars are considered as separator; all carriage returns are removed silently from the created strings.

template<class DATATYPE >
std::istream& ml::operator>> ( std::istream &  s,
std::vector< DATATYPE > &  vec 
) [inline]

Operator >> for input of streams into std::vector.

Definition at line 45 of file mlMultiFields.h.

References ML_TRACE_IN.

template<class DT , class DT2 >
Tvec3<DT> ml::operator^ ( const Tvec3< DT > &  a,
const Tvec3< DT2 > &  b 
) [inline]

Return a vector orthogonal to a and b.

Definition at line 321 of file mlVector3.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT >
Tmat4<DT> ml::perspective3D ( const DT  d) [inline]

Create a 4x4 homogeneous perspective projection matrix with perspective shortening value given by d which must differ from zero to avoid errors.

Definition at line 757 of file mlMatrix4.h.

References ML_CATCH_RETHROW, ML_CHECK_FLOAT_THROW, ML_TRACE_IN, and ML_TRY.

MLITK_SUPPORT_EXPORT void ml::postITKException ( const itk::ExceptionObject &  e,
const Module *  module,
MLMessageType  messageType,
const std::string &  handling = "" 
)

Sends all available information from the ITKException itkException to the ML error handler.

Error code will be ML_EXTERNAL_ERROR.

Parameters:
eis the ITK exception to be posted.
modulethe module which uses the ITK object which caused the exception. May be NULL.
messageTypethe message type (for example ML_FATAL_ERROR, ML_ERROR, ML_WARNING, ...). May be NULL.
handlingis an optional string used as handling component of the error message. Default is "".

Referenced by determineImageFilterInRegionTN(), determineImageFilterOutImageRegionT0(), determineImageFilterOutImageRegionTN(), getITKSpecialInImg(), and processDataWithITKFilterAndFillOutSubImg().

template<typename FILTER_TYPE , typename OIMAGE_TYPE >
bool ml::processDataWithITKFilterAndFillOutSubImg ( typename FILTER_TYPE::Pointer &  filterPointer,
int  outIndex,
int  usedFilteringDim,
const ImageVector &  shift,
const SubImageBox &  outImgBox,
SubImage &  outSubImg,
Module &  module 
)

Takes the output image of the filter pointed to by filterPointer, and copies overlapping contents into outSubImg.

FILTER_TYPE is the type of the ITK filter. OIMAGE_TYPE is the type of the ITK output image.

Parameters:
filterPointeris the pointer to the ITK filter instance.
outIndexis the output index of the filter to be used.
usedFilteringDimmust be the dimension of the image which is filtered.
shiftis the translation from ML image region to ITK image region.
outImgBoxis the ML region of the output image.
outSubImgis the ML subimage to be filled with data from the output of the ITK filter instance.
moduleis the ML Module instance managing the ITK filter. It is passed to the error handler and its state can be analyzed by the error handler if enabled. Can be passed as NULL.
Returns:
On success true is returned, otherwise false.

Definition at line 48 of file mlITKFilterSupport.h.

References copyITKDataBufferToMLSubImg(), ml::SubImage::getBox(), ml::TSubImageBox< intT >::intersect(), ITKML_TYPENAME, ML_ERROR, ML_TRACE_IN, postITKException(), testFunc_processDataWithITKFilterAndFillOutSubImg(), ml::TSubImageBox< intT >::translate(), ml::TSubImageBox< intT >::v1, and ml::TSubImageBox< intT >::v2.

template<class DT >
Tmat3<DT> ml::rotation2D ( const Tvec2< DT > &  Center,
const DT  angleDeg 
)

Returns a 2D rotation matrix as 3D homogeneous matrix where center specifies the center of rotation.

Definition at line 621 of file mlMatrix3.h.

References DCMTree::DT, and ML_TRACE_IN.

template<class DT >
Tmat4<DT> ml::rotation3D ( Tvec3< DT >  Axis,
const DT  angleRad 
)

Returns a 4x4 homogeneous 3D rotation matrix describing a rotation with angle angleRad around axis Axis where center specifies the center of rotation.

Definition at line 707 of file mlMatrix4.h.

References DCMTree::DT, ML_CATCH_RETHROW, ML_TRACE_IN, ML_TRY, and ml::FloatingPointVector< DT, 3, Vector3DataContainer< DT > >::normalize().

template<class DT >
Tmat3<DT> ml::scaling2D ( const Tvec2< DT > &  scaleVector) [inline]

Returns a 2D scale matrix as 3D homogeneous matrix.

Definition at line 638 of file mlMatrix3.h.

References ML_TRACE_IN.

template<class DT >
Tmat4<DT> ml::scaling3D ( const Tvec3< DT > &  scaleVector) [inline]

Scaling 3D.

Definition at line 741 of file mlMatrix4.h.

References ML_TRACE_IN_TIME_CRITICAL.

MLITK_SUPPORT_EXPORT MLErrorCode ml::setAndConnectDefaultModuleWithNotify ( Module &  thisOp,
const std::string &  dataTypeName = "float",
const ImageVector &  imgExt = ImageVector(16, 16, 1, 1, 1, 1),
MLint  minIdx = 0,
MLint  maxIdx = ML_INT32_MAX,
const ImageVector &  pageExt = ImageVector(16, 16, 1, 1, 1, 1) 
)

This function takes the default module (if it still does not exist then it's created), it sets the image and page extents, the data type and connects it to the indices minIdx to maxIdx.

The contents of the output image are left undefined.

Parameters:
thisOpis the module to which shall the default module shall be connected.
dataTypeNameis the string value of the data type name which shall be used as voxel type of the output image; default is "float";
imgExtdefines the extent of the output image; default is (16,16,1,1,1,1).
minIdxis the first input index of thisOp which shall be connected; default is 0. Invalid or out of range indices are legal and will be ignored.
maxIdxis the last input index of thisOp which is to be connected; default is ML_INT32_MAX. Non existing or to large indices are legal and will be ignored and not connected. If values smaller than 0 are passed then the default module is not connected to any input.
pageExtdefines the page extent of the output image; default is (16,16,1,1,1,1).
template<typename ITK_CLASS_TYPE >
void ml::setITKWorldFromMedicalImageProperty ( MedicalImageProperties  props,
ITK_CLASS_TYPE *  image,
bool  correctSVS = true 
)

Takes the world transformation of ML MedicalImageProperties and sets spacing, origin and direction cosines (the orientation) of the itk image or import image filter of type ITK_CLASS_TYPE.

ITK spacing, origin , or direction cosine components are set up to three dimensions; higher dimensions are left on sensible default values, because the ML only supports three dimensional world coordinates. Perspective and shearing information is not converted.

Parameters:
ITK_CLASS_TYPEThe itk class type of the itk image or importer whose world transformation shall be set.
propsThe MedicalImageProperties or PagedImage which is the source of the world matrix.
imageThe pointer to the itk image or importer whose spacing, origin and direction shall be set from the ML world transformation. The call will be a no operation call if NULL.
correctSVSIf enabled (the default) the difference between itk and ML voxel origins is corrected by a half voxel shift.

Definition at line 711 of file mlITKSupportToolFunctions.h.

References ml::MedicalImageProperties::getVoxelSize(), ml::MedicalImageProperties::getVoxelToWorldMatrix(), ITKMatrixFromMLMatrix(), ML_TRACE_IN, MLValueIs0WOM(), and ml::MedicalImageProperties::translateVoxelToWorldMatrix().

MLEXPORT void ml::setMLEnvironment ( )

Set ML state dependent on environment variables.

It is called indirectly from initML().

The following environment variables are supported by the ML:

  • ML_NUM_THREADS Maximum number of permitted threads; 0,1=Multithreading off, defaults to number of real + virtual cpus (for example hyperthreading cpus) if environment variable is not set.
  • ML_USE_EXCEPTIONS If not zero or undefined then the ML tries to catch all exceptions. If defined and zero then the ML crashes on errors (useful for debugging purposes). This value has no effect in release mode; there the ML tries to catch all exceptions even if this flag is off. Default=1.
  • ML_DEBUG_ON and ML_DEBUG_ALL control the output of debug information. See mlDebug.h for more information.
  • ML_ERROR_PRINT_LEVEL Bit 0: Warnings are printed if this bit is set. Typical cases are e.g., if ML settings cause degrades of performance or the ML changes user defined settings for some reasons (e.g., because settings are not consistent or permitted).

Bit 1: If activated, then normal errors are printed. Typical error cases are out of memory cases which can recovered automatically by the ML or when the user sets forbidden or out of range parameters. Errors of this types usually do not cause direct failures so the ml can continue working. But they might have indirect consequences which might also cause abnormal behavior or fatal errors later. So finish working with the ML and remove this error as soon as possible! IT IS STRONGLY RECOMMENDED NOT TO DISABLE THIS ERROR PRINTING, EVEN IF IT'S POSSIBLE!

Bit 2: If set then fatal errors are printed. Errors of this type must not occur because the state of the ML directly becomes undefined. NOTE: The ML does not terminate anyway to permit at least some disaster recovery by the user (saving scripts etc.) The most typical case is when the ML runs completely of of memory. IT IS STRONGLY RECOMMENDED NOT TO DISABLE THIS ERROR PRINTING, EVEN IF IT'S POSSIBLE!

Default is 6 (Bit 1 and 2), i.e., only errors and fatal errors are printed. NOTE: If ML_DEBUG_ON is not zero then warning, error and fatal error printing is automatically activated!

  • If ML_MONITOR_CACHE is not 0 then the memory cache is printed often in the shell. Levels 1, 2 and 3 give more and more information.
  • ML_CACHE_SIZE_IN_KB defines the size of the memory cache in kilobytes.
template<typename ITK_CLASS_TYPE >
void ml::setMLWorldFromITKScaleOriginAndOrientation ( const ITK_CLASS_TYPE *  image,
MedicalImageProperties &  props,
bool  correctSVS = true 
)

Sets the world transformation of the ML MedicalImageProperties props from the spacing, origin and direction cosines (the orientation) given by the itk image function argument.

Dimensions > 3 provided by itk cannot be handled by the ML and are ignored; itk dimensions < 3 are handled by using "1" for spacing values and 0 as origin. Perspective and shearing information is not converted. 1D itk images will be handled as an error and by setting the identity as world matrix.

Parameters:
ITK_CLASS_TYPEThe itk type of the itk image whose world transformation shall be translated to the ML world matrix.
propsThe MedicalImageProperties or PagedImage which is the target of the world matrix to be set.
imageThe pointer to the itk image or importer whose spacing, origin and direction shall be translated to the ML world matrix. The call will be a no operation call if NULL.
correctSVSIf enabled (the default) the difference between itk and ML voxel origins is corrected by a half voxel shift.

Definition at line 793 of file mlITKSupportToolFunctions.h.

References ML_BAD_PARAMETER, ML_PRINT_ERROR, ML_TRACE_IN, MLMatrixFromITKMatrix(), ml::MedicalImageProperties::setVoxelToWorldMatrix(), and ml::MedicalImageProperties::translateVoxelToWorldMatrix().

int ml::SoCSOInit ( void  )

Initializes the DLL.

template<typename TemplArrElemType , unsigned int TemplArrSize>
const ITKML_TYPENAME std::vector<TemplArrElemType> ml::STLVectorFromFixedSizeITKArray ( const TemplArrElemType *  theArray)

Create an STL vector with type TemplArrElemType which contains TemplArrSize elements which are read from theArray, hence the array must have at least TemplArrSize elements.

Definition at line 137 of file mlITKCommonToolFunctions.h.

References ML_TRACE_IN.

template<typename TemplArrElemType , unsigned int TemplArrSize>
const VTKML_TYPENAME std::vector<TemplArrElemType> ml::STLVectorFromFixedSizeVTKArray ( const TemplArrElemType *  theArray)

Create an STL vector with type TemplArrElemType which contains TemplArrSize elements which are read from theArray, hence the array must have at least TemplArrSize elements.

Definition at line 137 of file mlVTKCommonToolFunctions.h.

References ML_TRACE_IN.

template<typename STL_CONTAINER , typename ITK_ARRAY_TYPE >
const STL_CONTAINER ml::STLVectorFromITKArray ( const ITK_ARRAY_TYPE &  itkArray)

Returns an STL container object of type STL_CONTAINER which contains cast copies of all elements of the ITK_ARRAY_TYPEd itkArray (in same order and number).

Definition at line 358 of file mlITKSupportToolFunctions.h.

References ML_TRACE_IN.

void ml::testFunc_determineImageFilterInRegionTN ( ) [inline]

Test function for debugging purposes.

Definition at line 117 of file mlITKFilterSupport.h.

Referenced by determineImageFilterInRegionTN().

void ml::testFunc_determineImageFilterOutImageRegionT0 ( ) [inline]

Test function for debugging purposes.

Definition at line 197 of file mlITKFilterSupport.h.

Referenced by determineImageFilterOutImageRegionT0().

void ml::testFunc_determineImageFilterOutImageRegionTN ( ) [inline]

Test function for debugging purposes.

Definition at line 244 of file mlITKFilterSupport.h.

Referenced by determineImageFilterOutImageRegionTN().

void ml::testFunc_processDataWithITKFilterAndFillOutSubImg ( ) [inline]

Test function for debugging purposes.

Definition at line 28 of file mlITKFilterSupport.h.

Referenced by processDataWithITKFilterAndFillOutSubImg().

template<class DT >
Tmat3<DT> ml::translation2D ( const Tvec2< DT > &  v) [inline]

Returns a 2D translation matrix as 3D homogeneous matrix where the translation is located in the right colum.

Definition at line 607 of file mlMatrix3.h.

References ML_TRACE_IN.

template<class DT >
Tmat4<DT> ml::translation3D ( const Tvec3< DT > &  v) [inline]

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 691 of file mlMatrix4.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<typename T >
TSubImage<T>* ml::tsubimage_cast ( SubImage *  subImg)
template<typename T >
const TSubImage<T>* ml::tsubimage_cast ( const SubImage *  subImg)
template<typename T >
TSubImage<T>& ml::tsubimage_cast ( SubImage &  subImg)

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 datatype 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);

Definition at line 1595 of file mlTSubImage.h.

References ml::SubImage::getData(), ml::SubImage::getDataType(), ML_BAD_DATA_TYPE, and ML_PRINT_FATAL_ERROR.

Referenced by tsubimg_cast().

template<typename T >
const TSubImage<T>& ml::tsubimage_cast ( const SubImage &  subImg)
template<typename T >
const TSubImage<T>* ml::tsubimg_cast ( const SubImage *  subImg)
Deprecated:
Use tsubimage_cast instead.

Definition at line 1654 of file mlTSubImage.h.

References T, and tsubimage_cast().

template<typename T >
TSubImage<T>& ml::tsubimg_cast ( SubImage &  subImg)
Deprecated:
Use tsubimage_cast instead.

Definition at line 1659 of file mlTSubImage.h.

References T, and tsubimage_cast().

template<typename T >
const TSubImage<T>& ml::tsubimg_cast ( const SubImage &  subImg)
Deprecated:
Use tsubimage_cast instead.

Definition at line 1664 of file mlTSubImage.h.

References T, and tsubimage_cast().

template<typename T >
TSubImage<T>* ml::tsubimg_cast ( SubImage *  subImg)
Deprecated:
Use tsubimage_cast instead.

Definition at line 1649 of file mlTSubImage.h.

References T, and tsubimage_cast().

template<typename T >
bool ml::vector_contains ( const std::vector< T > &  vec,
const T &  value 
) [inline]

Helper template that searches for value in given vector vec and returns true if it was found.

Definition at line 24 of file mlStdAlgorithms.h.

template<typename T >
bool ml::vector_remove ( std::vector< T > &  vec,
const T &  value 
) [inline]

Helper template that removes the first occurrence of value in given vector vec and returns true if it was found.

Definition at line 30 of file mlStdAlgorithms.h.

template<typename T >
void ml::vector_remove_all ( std::vector< T > &  vec,
const T &  value 
) [inline]

Helper template that removes all occurrences of value in given vector vec.

Definition at line 42 of file mlStdAlgorithms.h.

template<typename T >
bool ml::vector_replace_by_NULL ( std::vector< T > &  vec,
const T &  value 
) [inline]

Helper template that replaces the first occurrence of value in given vector vec with NULL and returns true if it was found.

Definition at line 55 of file mlStdAlgorithms.h.

template<typename TemplArrElemType >
void ml::VTKArrayFromFixedSizeSTLVector ( const VTKML_TYPENAME std::vector< TemplArrElemType > &  stlVec,
TemplArrElemType *  arr,
size_t  TemplArrSize 
)

Copies TemplArrSize elements from stlVec to arr and - if not enough elements are available - fills up the rest with 0.

Definition at line 122 of file mlVTKCommonToolFunctions.h.

References ML_TRACE_IN.

MLVTK_SUPPORT_EXPORT int ml::VTKCommonTypesAndWrappersInit ( )

Initializes the wrapper classes.

vtkMatrix4x4* ml::VTKMatrix4x4FromMLMatrix ( const Matrix4 &  mat) [inline]

Convert an ML 4x4 matrix to a VTK 4x4 matrix which is created with vtkMatrix4x4::New() and which must be deleted by caller with vtkMatrix4x4::Delete().

Definition at line 69 of file mlVTKSpecialFieldsSupport.h.


Variable Documentation

const MLint ml::_ML_STD_SLEN = 64

Length of strings for component descriptions and class names.

Definition at line 39 of file mlStdTypeInfos.h.

A symbolic iterator that indicates that a CSOPathPointConstIterator has reached the end of a cso.

Definition at line 337 of file CSOPathPointIterator.h.

A symbolic iterator that indicates that a CSOPathPointIterator has reached the end of a cso.

Definition at line 334 of file CSOPathPointIterator.h.

const unsigned char ml::DIR_E = 1

Direction: East.

Definition at line 32 of file CSOLiveWireGraph.h.

const unsigned char ml::DIR_N = 0

Direction: North.

Definition at line 31 of file CSOLiveWireGraph.h.

const unsigned char ml::DIR_NE = 4

Direction: North East.

Definition at line 35 of file CSOLiveWireGraph.h.

const unsigned char ml::DIR_NW = 7

Direction: North West.

Definition at line 38 of file CSOLiveWireGraph.h.

const unsigned char ml::DIR_S = 2

Direction: South.

Definition at line 33 of file CSOLiveWireGraph.h.

const unsigned char ml::DIR_SE = 5

Direction: South East.

Definition at line 36 of file CSOLiveWireGraph.h.

const unsigned char ml::DIR_SW = 6

Direction: South West.

Definition at line 37 of file CSOLiveWireGraph.h.

const unsigned char ml::DIR_W = 3

Direction: West.

Definition at line 34 of file CSOLiveWireGraph.h.

Error status: no error at all.

Definition at line 21 of file WEMEdgeDiagnosis.h.

const int ml::EDGE_SEVERITY_ERROR = 3

Error status: an error.

Definition at line 24 of file WEMEdgeDiagnosis.h.

const int ml::EDGE_SEVERITY_FATAL = 4

Error status: a serious error.

Definition at line 25 of file WEMEdgeDiagnosis.h.

const int ml::EDGE_SEVERITY_NOTICE = 1

Error status: just a notice.

Definition at line 22 of file WEMEdgeDiagnosis.h.

Error status: a warning.

Definition at line 23 of file WEMEdgeDiagnosis.h.

const float ml::EULER_FACTOR = 1.0f / (6.0f * 2.718281828459f * 2.718281828459f)

Constant factor for normalizing the result of the Laplacian kernel convolution.

Definition at line 25 of file CSOLiveWireGraph.h.

Error status: no error at all.

Definition at line 21 of file WEMFaceDiagnosis.h.

const int ml::FACE_SEVERITY_ERROR = 3

Error status: an error.

Definition at line 24 of file WEMFaceDiagnosis.h.

const int ml::FACE_SEVERITY_FATAL = 4

Error status: a serious error.

Definition at line 25 of file WEMFaceDiagnosis.h.

const int ml::FACE_SEVERITY_NOTICE = 1

Error status: just a notice.

Definition at line 22 of file WEMFaceDiagnosis.h.

Error status: a warning.

Definition at line 23 of file WEMFaceDiagnosis.h.

Defines the standard ImageVector type which is used by the ML for indexing and coordinates.

Definition at line 300 of file mlImageVector.h.

Referenced by ml::TKernel< KDATATYPE >::_addCoordinate(), ml::TKernel< KDATATYPE >::_calculateRealKernelExt(), ml::TVirtualVolume< DATATYPE >::_cleanUp(), ml::RasterFunction::_fillRaster(), ml::TVirtualVolume< DATATYPE >::_init(), ml::TKernel< KDATATYPE >::_validateSeparabilityInfos(), ml::BitImage::BitImage(), ml::TSubImage< float >::calculateMinMax(), ml::TKernel< KDATATYPE >::calculateNegativeExtentFromExtent(), ml::TKernel< KDATATYPE >::calculatePositiveExtentFromExtent(), ml::TSubImage< float >::convertPointerToSubImagePosition(), ml::TVirtualVolume< DATATYPE >::copyFromSubImage(), ml::TVirtualVolume< DATATYPE >::copyMaskToSubImage(), ml::TSubImage< float >::copySubImageReorderColorPlanesToInterleaved(), ml::TSubImage< float >::copySubImageTyped(), itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, Neighborhood< TPixel, VDimension, TAllocator > >::CreateStructuringElement(), determineImageFilterOutImageRegionT0(), determineImageFilterOutImageRegionTN(), ml::TVirtualVolume< DATATYPE >::fill(), ml::TKernel< KDATATYPE >::fillUndefinedElements(), ml::TSubImageBox< MLint >::get3DCorners(), ml::ImageProperties::getBoxFromImageExtent(), getInputAsItkImportImageAndSubImg(), ml::TKernel< KDATATYPE >::getKernel(), ml::LineApplicator< DATATYPE >::getNegativeExtent(), ml::KernelLineApplicatorBase< DATATYPE, KDATATYPE >::getNegativeExtent(), ml::LineApplicator< DATATYPE >::getPositiveExtent(), ml::KernelLineApplicatorBase< DATATYPE, KDATATYPE >::getPositiveExtent(), ml::VesselNode::getVectorPos(), ml::SubImage::isValidSubImagePosition(), ml::TKernel< KDATATYPE >::makeCircular(), ml::TKernel< KDATATYPE >::mirror(), MLKernelToolsApplyFiltering(), MLSubImgBoxFromITKRegion(), MLVectorFromITKIndex(), MLVectorFromITKSize(), std::operator<<(), ml::TVirtualVolume< DATATYPE >::resetCursor(), ml::TKernel< KDATATYPE >::resizeKernel(), ml::SubImage::setExtent(), ml::TKernel< KDATATYPE >::setGauss(), ml::PagedImage::setImageExtent(), ml::TKernel< KDATATYPE >::setKernel(), ml::PagedImage::setPageExtent(), ml::TKernel< KDATATYPE >::setPartialKernel(), and ml::TKernel< KDATATYPE >::setSeparableKernel().

MLLUT_EXPORT const char* ml::LUTVisualTypeName[LUT_NUM_VISUAL_TYPE_LAYOUTS]

Visual type name strings ("L", "LA", ...)

ML_UTILS_EXPORT ErrorOutput ml::MLErrorOutput

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 50 of file mlTypedHandlers.h.

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.

ML_UTILS_EXPORT Notify ml::MLNotify

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 42 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 44 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 46 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 48 of file mlTypedHandlers.h.

const std::string ml::nameAttribAlpha = "Alpha"

String name for the line's alpha value.

Definition at line 206 of file CSODefines.h.

const std::string ml::nameAttribColor = "Color"

String name for the line's color.

Definition at line 205 of file CSODefines.h.

const std::string ml::nameAttribDescription = "Description"

String name for a description.

Definition at line 178 of file CSODefines.h.

const std::string ml::nameAttribEditableState = "EditableState"

String name for the editable state.

Definition at line 183 of file CSODefines.h.

const std::string ml::nameAttribId = "Id"

String name for an id.

Definition at line 176 of file CSODefines.h.

const std::string ml::nameAttribLabel = "Label"

String name for a label.

Definition at line 177 of file CSODefines.h.

const std::string ml::nameAttribLineStyle = "LineStyle"

String name for the line style.

Definition at line 204 of file CSODefines.h.

const std::string ml::nameAttribLineWidth = "LineWidth"

String name for the line width.

Definition at line 207 of file CSODefines.h.

const std::string ml::nameAttribMarkerAlpha = "MarkerAlpha"

String name for the marker's alpha value.

Definition at line 211 of file CSODefines.h.

const std::string ml::nameAttribMarkerColor = "MarkerColor"

String name for the marker's color.

Definition at line 210 of file CSODefines.h.

const std::string ml::nameAttribMarkerMode = "MarkerMode"

String name for the marker mode.

Definition at line 209 of file CSODefines.h.

const std::string ml::nameAttribMarkerSize = "MarkerSize"

String name for the marker's size.

Definition at line 212 of file CSODefines.h.

const std::string ml::nameAttribNumUserData = "NumUserData"

Definition at line 198 of file CSODefines.h.

const std::string ml::nameAttribPathPointAlpha = "PathPointAlpha"

String name for a path point alpha.

Definition at line 188 of file CSODefines.h.

const std::string ml::nameAttribPathPointColor = "PathPointColor"

String name for a path point color.

Definition at line 187 of file CSODefines.h.

const std::string ml::nameAttribPathPointStyle = "PathPointStyle"

String name for a path point style.

Definition at line 185 of file CSODefines.h.

const std::string ml::nameAttribPathPointWidth = "PathPointWidth"

String name for a path point width.

Definition at line 186 of file CSODefines.h.

const std::string ml::nameAttribSeedPointAlpha = "SeedPointAlpha"

String name for a seed point alpha.

Definition at line 193 of file CSODefines.h.

const std::string ml::nameAttribSeedPointColor = "SeedPointColor"

String name for a seed point color.

Definition at line 192 of file CSODefines.h.

const std::string ml::nameAttribSeedPointSize = "SeedPointSize"

String name for a seed point size.

Definition at line 191 of file CSODefines.h.

const std::string ml::nameAttribSeedPointStyle = "SeedPointStyle"

String name for a seed point style.

Definition at line 190 of file CSODefines.h.

const std::string ml::nameAttribShowState = "ShowState"

String name for the show state.

Definition at line 181 of file CSODefines.h.

const std::string ml::nameAttribTimePointIndex = "TimePointIndex"

String name for a time point index.

Definition at line 180 of file CSODefines.h.

const std::string ml::nameAttribUserDataName = "UserDataName"

Definition at line 199 of file CSODefines.h.

const std::string ml::nameAttribUserDataType = "UserDataType"

Definition at line 200 of file CSODefines.h.

const std::string ml::nameAttribUserDataValue = "UserDataValue"

Definition at line 201 of file CSODefines.h.

const std::string ml::nameAttribVoxelizeState = "VoxelizeState"

String name for the voxelize state.

Definition at line 182 of file CSODefines.h.

const std::string ml::nameAttribVoxelValue = "VoxelValue"

String name for the voxel write value.

Definition at line 214 of file CSODefines.h.

const std::string ml::nameAttribVoxelWriteMode = "VoxelWriteMode"

String name for the voxel write mode.

Definition at line 195 of file CSODefines.h.

const std::string ml::nameAttribVoxelWriteValue = "VoxelWriteValue"

String name for the voxel write value.

Definition at line 196 of file CSODefines.h.

const std::string ml::nameCommonNumCSOs = "NumCSOs"

String name for the number of CSOs.

Definition at line 169 of file CSODefines.h.

const std::string ml::nameCommonNumGroups = "NumGroups"

String name for the number of CSOGroups.

Definition at line 170 of file CSODefines.h.

const std::string ml::nameCommonNumSelectedCSOs = "NumSelectedCSOs"

String name for the number of selected CSOs.

Definition at line 172 of file CSODefines.h.

const std::string ml::nameCommonNumSelectedGroups = "NumSelectedGroups"

String name for the number of selected CSOGroups.

Definition at line 173 of file CSODefines.h.

const std::string ml::nameCSOBoundingBox = "BoundingBox"

String name for the bounding box of a CSO.

Definition at line 226 of file CSODefines.h.

const std::string ml::nameCSOClosed = "IsClosed"

String name for the closed state of a CSO.

Definition at line 223 of file CSODefines.h.

const std::string ml::nameCSOCreatorId = "CreatorId"

String name for the creator id of a CSO.

Definition at line 229 of file CSODefines.h.

const std::string ml::nameCSOFinished = "IsFinished"

String name for the finished state of a CSO.

Definition at line 222 of file CSODefines.h.

const std::string ml::nameCSOInPlane = "IsInPlane"

String name for the in-plane state of a CSO.

Definition at line 224 of file CSODefines.h.

const std::string ml::nameCSONumPathPointLists = "NumPathPointLists"

String name for the number of path point lists.

Definition at line 220 of file CSODefines.h.

const std::string ml::nameCSONumSeedPoints = "NumSeedPoints"

String name for the number of seed points.

Definition at line 219 of file CSODefines.h.

const std::string ml::nameCSOPlaneNormal = "PlaneNormal"

String name for the plane normal of a CSO.

Definition at line 225 of file CSODefines.h.

const std::string ml::nameCSOSubType = "SubType"

String name for the subtype of a CSO.

Definition at line 228 of file CSODefines.h.

const std::string ml::nameCSOType = "Type"

String name for the type of a CSO.

Definition at line 227 of file CSODefines.h.

const std::string ml::nameGroupUseEditableState = "UseEditableState"

String name for the use editable state of a CSOGroup.

Definition at line 235 of file CSODefines.h.

const std::string ml::nameGroupUseMarkerSettings = "UseMarkerSettings"

String name for the use marker settings state of a CSOGroup.

Definition at line 252 of file CSODefines.h.

const std::string ml::nameGroupUsePathPointAlpha = "UsePathPointAlpha"

String name for the use path point alpha of a CSOGroup.

Definition at line 240 of file CSODefines.h.

const std::string ml::nameGroupUsePathPointColor = "UsePathPointColor"

String name for the use path point color of a CSOGroup.

Definition at line 239 of file CSODefines.h.

const std::string ml::nameGroupUsePathPointStyle = "UsePathPointStyle"

String name for the use path point style of a CSOGroup.

Definition at line 237 of file CSODefines.h.

const std::string ml::nameGroupUsePathPointWidth = "UsePathPointWidth"

String name for the use path point width of a CSOGroup.

Definition at line 238 of file CSODefines.h.

const std::string ml::nameGroupUseSeedPointAlpha = "UseSeedPointAlpha"

String name for the use seed point alpha of a CSOGroup.

Definition at line 245 of file CSODefines.h.

const std::string ml::nameGroupUseSeedPointColor = "UseSeedPointColor"

String name for the use seed point color of a CSOGroup.

Definition at line 244 of file CSODefines.h.

const std::string ml::nameGroupUseSeedPointSize = "UseSeedPointSize"

String name for the use seed point size of a CSOGroup.

Definition at line 243 of file CSODefines.h.

const std::string ml::nameGroupUseSeedPointStyle = "UseSeedPointStyle"

String name for the use seed point style of a CSOGroup.

Definition at line 242 of file CSODefines.h.

const std::string ml::nameGroupUseShowState = "UseShowState"

String name for the use show state of a CSOGroup.

Definition at line 233 of file CSODefines.h.

const std::string ml::nameGroupUseTimePointIndex = "UseTimePointIndex"

String name for the use time point index state of a CSOGroup.

Definition at line 232 of file CSODefines.h.

const std::string ml::nameGroupUseVisuals = "UseVisuals"

String name for the use visual state of a CSOGroup.

Definition at line 251 of file CSODefines.h.

const std::string ml::nameGroupUseVoxelizeState = "UseVoxelizeState"

String name for the use voxelize state of a CSOGroup.

Definition at line 234 of file CSODefines.h.

const std::string ml::nameGroupUseVoxelWriteMode = "UseVoxelWriteMode"

String name for the use voxel write mode state of a CSOGroup.

Definition at line 247 of file CSODefines.h.

const std::string ml::nameGroupUseVoxelWriteValue = "UseVoxelWriteValue"

String name for the use voxel write value state of a CSOGroup.

Definition at line 248 of file CSODefines.h.

const std::string ml::namePathNumPoints = "PathNumPoints"

String name for the number of points in a path point list.

Definition at line 221 of file CSODefines.h.

Error status: no error at all.

Definition at line 21 of file WEMNodeDiagnosis.h.

const int ml::NODE_SEVERITY_ERROR = 3

Error status: an error.

Definition at line 24 of file WEMNodeDiagnosis.h.

const int ml::NODE_SEVERITY_FATAL = 4

Error status: a serious error.

Definition at line 25 of file WEMNodeDiagnosis.h.

const int ml::NODE_SEVERITY_NOTICE = 1

Error status: just a notice.

Definition at line 22 of file WEMNodeDiagnosis.h.

Error status: a warning.

Definition at line 23 of file WEMNodeDiagnosis.h.

Error status: no error at all.

Definition at line 21 of file WEMPatchDiagnosis.h.

const int ml::PATCH_SEVERITY_ERROR = 3

Error status: an error.

Definition at line 24 of file WEMPatchDiagnosis.h.

const int ml::PATCH_SEVERITY_FATAL = 4

Error status: a serious error.

Definition at line 25 of file WEMPatchDiagnosis.h.

Error status: just a notice.

Definition at line 22 of file WEMPatchDiagnosis.h.

Error status: a warning.

Definition at line 23 of file WEMPatchDiagnosis.h.

const char* ml::PrimitiveTypes[2] = {"Rectangle", "Ellipse"} [static]

The module's types as strings.

Definition at line 32 of file CSOPrimitiveProcessor.h.

const float ml::SQRT_2 = 1.414213562373f

Constant factor: square root of 2.

Definition at line 27 of file CSOLiveWireGraph.h.

const char* ml::SUB_TYPE_ELLIPSE = "SUB_TYPE_ELLIPSE" [static]

Subtype: an ellipse.

Definition at line 37 of file CSOPrimitiveProcessor.h.

const char* ml::SUB_TYPE_ISO_FIXED_ALL = "SUB_TYPE_ISO_FIXED_ALL" [static]

Subtype: all CSOs at a fixed value.

Definition at line 39 of file CSOIsoProcessor.h.

const char* ml::SUB_TYPE_ISO_FIXED_SINGLE = "SUB_TYPE_ISO_FIXED_SINGLE" [static]

Subtype: a single CSO at a fixed iso value.

Definition at line 37 of file CSOIsoProcessor.h.

const char* ml::SUB_TYPE_ISO_INTERACTIVE_ALL = "SUB_TYPE_INTERACTIVE_ALL" [static]

Subtype: all CSOs at some interactively chosen value.

Definition at line 40 of file CSOIsoProcessor.h.

const char* ml::SUB_TYPE_ISO_INTERACTIVE_SINGLE = "SUB_TYPE_INTERACTIVE_SINGLE" [static]

Subtype: a single CSO at some interactively chosen value.

Definition at line 38 of file CSOIsoProcessor.h.

const char* ml::SUB_TYPE_RECT = "SUB_TYPE_RECT" [static]

Subtype: a rectangle.

Definition at line 36 of file CSOPrimitiveProcessor.h.

ML_LINEAR_ALGEBRA_EXPORT typedef ImageVector ml::Vector
Deprecated:
Use ImageVector instead.

Definition at line 309 of file mlImageVector.h.

const int ml::WEM_PATCH_ID_ALL = -1

Patch Id meaning: all patches.

Definition at line 110 of file MLWEMIncludes.h.

Referenced by ml::WEMEventContainer::WEMEventContainer().

Local cut definition: multi intermediate.

Definition at line 23 of file WEMFaceCut.h.

const int ml::WEMFACECUT_SAME_EDGE = 3

Local cut definition: same edge.

Definition at line 24 of file WEMFaceCut.h.

Local cut definition: single intermediate.

Definition at line 22 of file WEMFaceCut.h.

Local cut definition: single part.

Definition at line 21 of file WEMFaceCut.h.

const int ml::WEMFACECUT_STAB = 4

Local cut definition: stab.

Definition at line 25 of file WEMFaceCut.h.

Local definition: closed cut.

Definition at line 20 of file WEMPartialFaceCut.h.

Local definition: half open cut.

Definition at line 21 of file WEMPartialFaceCut.h.

Local definition: open cut.

Definition at line 22 of file WEMPartialFaceCut.h.

const unsigned int ml::WEMSETOP_BOOLEAN_DIFFERENCE = 2

Set operation: difference.

Definition at line 29 of file WEMSetOp.h.

const unsigned int ml::WEMSETOP_BOOLEAN_INTERSECTION = 1

Set operation: intersection.

Definition at line 28 of file WEMSetOp.h.

const unsigned int ml::WEMSETOP_BOOLEAN_UNION = 0

Set operation: union.

Definition at line 27 of file WEMSetOp.h.

const unsigned int ml::WEMSETOP_OUTPUT_BOTH = 2

Output mode: both patches.

Definition at line 23 of file WEMSetOp.h.

const unsigned int ml::WEMSETOP_OUTPUT_FIRST = 0

Output mode: first patch only.

Definition at line 21 of file WEMSetOp.h.

const unsigned int ml::WEMSETOP_OUTPUT_SECOND = 1

Output mode: second patch only.

Definition at line 22 of file WEMSetOp.h.