Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkProperties.cpp
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #include "mitkProperties.h"
18 
19 mitkDefineGenericProperty(BoolProperty, bool, false);
20 
21 mitkDefineGenericProperty(IntProperty, int, 0);
22 
23 mitkDefineGenericProperty(UIntProperty, unsigned int, 0);
24 
25 mitkDefineGenericProperty(UShortProperty, unsigned short, 0);
26 
27 mitkDefineGenericProperty(FloatProperty, float, 0.0f);
28 
29 mitkDefineGenericProperty(DoubleProperty, double, 0.0);
30 
31 mitkDefineGenericProperty(Vector3DProperty, Vector3D, Vector3D(0.0f));
32 
33 mitkDefineGenericProperty(Point2dProperty, Point2D, Point2D::BaseArray::Filled(0.0f).GetDataPointer());
34 
35 mitkDefineGenericProperty(Point3dProperty, Point3D, Point3D::BaseArray::Filled(0.0f).GetDataPointer());
36 
37 mitkDefineGenericProperty(Point4dProperty, Point4D, Point4D::BaseArray::Filled(0.0f).GetDataPointer());
38 
39 mitkDefineGenericProperty(Point3iProperty, Point3I, Point3I::BaseArray::Filled(0).GetDataPointer());
40 
41 mitkDefineGenericProperty(FloatLookupTableProperty, FloatLookupTable, FloatLookupTable());
42 mitkDefineGenericProperty(BoolLookupTableProperty, BoolLookupTable, BoolLookupTable());
43 mitkDefineGenericProperty(IntLookupTableProperty, IntLookupTable, IntLookupTable());
44 mitkDefineGenericProperty(StringLookupTableProperty, StringLookupTable, StringLookupTable());
Point< ScalarType, 2 > Point2D
Definition: mitkPoint.h:98
Point< int, 3 > Point3I
Definition: mitkPoint.h:103
Point< ScalarType, 4 > Point4D
Definition: mitkPoint.h:100
mitkDefineGenericProperty(BoolProperty, bool, false)
Vector< ScalarType, 3 > Vector3D
Definition: mitkVector.h:134
Point< ScalarType, 3 > Point3D
Definition: mitkPoint.h:99