MeVisLab Toolbox 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
25
ML_START_NAMESPACE
26
27
//-------------------------------------------------------------------------
30
//-------------------------------------------------------------------------
31
class
MLEXPORT
ModuleTools
32
{
33
34
public
:
35
40
static
const
MLint
MAX_NUM_PAGES_PER_IMAGE
;
41
50
static
void
adaptPageExtent
(
ImageVector
& pageExtent,
51
MLDataType
imageType,
52
const
ImageVector
& newImageExtent,
53
const
ImageVector
& oldImageExtent,
54
const
ImageVector
& pageUnit =
ImageVector
(0),
55
const
ImageVector
& minPageExtent =
ImageVector
(0),
56
const
ImageVector
& maxPageExtent =
ImageVector
(0));
57
};
58
59
ML_END_NAMESPACE
60
61
#endif
ml::ModuleTools
Definition
mlModuleTools.h:32
ml::ModuleTools::MAX_NUM_PAGES_PER_IMAGE
static const MLint MAX_NUM_PAGES_PER_IMAGE
Definition
mlModuleTools.h:40
ml::ModuleTools::adaptPageExtent
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))
MLDataType
MLint32 MLDataType
Definition
mlTypeDefs.h:595
mlImageVector.h
mlInitSystemML.h
MLEXPORT
#define MLEXPORT
Code it as import symbol if compiled elsewhere.
Definition
mlInitSystemML.h:38
mlTypeDefs.h
MLint
MLint64 MLint
Definition
mlTypeDefs.h:489
ml::ImageVector
TImageVector< MLint > ImageVector
Defines the standard ImageVector type that is used by the ML for indexing and coordinates.
Definition
mlImageVector.h:285
MeVis
Foundation
Sources
ML
include
mlModuleTools.h
Generated by
1.15.0