ML Reference
mlModuleTools.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13#ifndef ML_MODULE_TOOLS_H
14#define ML_MODULE_TOOLS_H
15
19
20#include "mlInitSystemML.h"
21
22#include <mlTypeDefs.h>
23#include <mlImageVector.h>
24
25ML_START_NAMESPACE
26
27//-------------------------------------------------------------------------
30//-------------------------------------------------------------------------
32{
33
34public:
35
43
52 static void adaptPageExtent (ImageVector& pageExtent,
53 MLDataType imageType,
54 const ImageVector& newImageExtent,
55 const ImageVector& oldImageExtent,
56 const ImageVector& pageUnit = ImageVector(0),
57 const ImageVector& minPageExtent = ImageVector(0),
58 const ImageVector& maxPageExtent = ImageVector(0));
59};
60
61ML_END_NAMESPACE
62
63#endif
Class containing some helper functionality for Module programming and/or for the Module class itself.
static const MLint MAX_NUM_PAGES_PER_IMAGE
Currently used maximum number of pages.
static void adaptPageExtent(ImageVector &pageExtent, MLDataType imageType, const ImageVector &newImageExtent, const ImageVector &oldImageExtent, const ImageVector &pageUnit=ImageVector(0), const ImageVector &minPageExtent=ImageVector(0), const ImageVector &maxPageExtent=ImageVector(0))
Adapt page extent.
MLint32 MLDataType
MLDataType.
Definition mlTypeDefs.h:596
#define MLEXPORT
To export symbols from a dll/shared object, we need to mark them with the MLEXPORT symbol.
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
Definition mlTypeDefs.h:490