SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Types.h
Go to the documentation of this file.
1 /*
2  For more information, please see: http://software.sci.utah.edu
3 
4  The MIT License
5 
6  Copyright (c) 2009 Scientific Computing and Imaging Institute,
7  University of Utah.
8 
9 
10  Permission is hereby granted, free of charge, to any person obtaining a
11  copy of this software and associated documentation files (the "Software"),
12  to deal in the Software without restriction, including without limitation
13  the rights to use, copy, modify, merge, publish, distribute, sublicense,
14  and/or sell copies of the Software, and to permit persons to whom the
15  Software is furnished to do so, subject to the following conditions:
16 
17  The above copyright notice and this permission notice shall be included
18  in all copies or substantial portions of the Software.
19 
20  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
23  THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26  DEALINGS IN THE SOFTWARE.
27 */
28 
29 /// @todo Documentation Core/Datatypes/Legacy/Base/Types.h
30 
31 #ifndef CORE_DATATYPES_LEGACY_TYPES_H
32 #define CORE_DATATYPES_LEGACY_TYPES_H 1
33 
34 namespace SCIRun {
35 
36 // Depending on whether SCIRun is 64bits, the indices into the fields are
37 // altered to make sure we can address really large memory chunks.
38 
39 typedef long long index_type;
40 typedef long long size_type;
41 
42 // Mask type ensures the user that the bits mean something
43 // The numeric value should not be used
44 
45 typedef unsigned int mask_type;
46 
47 // Mesh information types, that work with FieldInformation and
48 // CreateMesh/CreateField
49 
64 
65 // How the data is interpolated over the elements
66 
68  NODATA_E = -1,
72  CUBICDATA_E = 3 };
73 
74 // The order of the underlying elements
75 
79  CUBICMESH_E = 3 };
80 
81 // The type of data stored in the field
82 
84  NONE_E = 0,
97 
98 }
99 
100 
101 #endif
Definition: Types.h:92
Definition: Types.h:51
Definition: Types.h:68
Definition: Types.h:52
Definition: Types.h:94
Definition: Types.h:86
Definition: Types.h:69
Definition: Types.h:90
Definition: Types.h:57
Definition: Types.h:79
Definition: Types.h:87
Definition: Types.h:70
unsigned int mask_type
Definition: Types.h:45
Definition: Types.h:89
Definition: Types.h:71
Definition: Types.h:63
Definition: Types.h:96
databasis_info_type
Definition: Types.h:67
meshbasis_info_type
Definition: Types.h:76
Definition: Types.h:77
Definition: Types.h:62
mesh_info_type
Definition: Types.h:50
long long size_type
Definition: Types.h:40
Definition: Types.h:93
Definition: Types.h:54
Definition: Types.h:61
Definition: Types.h:72
data_info_type
Definition: Types.h:83
Definition: Types.h:58
Definition: Types.h:88
Definition: Types.h:59
Definition: Types.h:53
Definition: Types.h:60
long long index_type
Definition: Types.h:39
Definition: Types.h:85
Definition: Types.h:95
Definition: Types.h:55
Definition: Types.h:78
Definition: Types.h:91
Definition: Types.h:56
Definition: Types.h:84