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
25ML_START_NAMESPACE
26
27//-------------------------------------------------------------------------
30//-------------------------------------------------------------------------
32{
33
34public:
35
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
59ML_END_NAMESPACE
60
61#endif
static const MLint MAX_NUM_PAGES_PER_IMAGE
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))
MLint32 MLDataType
Definition mlTypeDefs.h:595
#define MLEXPORT
Code it as import symbol if compiled elsewhere.
MLint64 MLint
Definition mlTypeDefs.h:489
TImageVector< MLint > ImageVector
Defines the standard ImageVector type that is used by the ML for indexing and coordinates.