Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkTubeGraphDefinitions.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 
18 
19 //============== XML const chars ===================
20 
21 //==== Header information ====
22 const std::string mitk::TubeGraphDefinitions::XML_TUBEGRAPH_FILE = "tube_graph_file";
23 const std::string mitk::TubeGraphDefinitions::XML_FILE_VERSION = "file_version";
24 const std::string mitk::TubeGraphDefinitions::VERSION_STRING = "0.1";
25 const std::string mitk::TubeGraphDefinitions::ASCII_FILE = "ascii_file";
26 const std::string mitk::TubeGraphDefinitions::FILE_NAME = "file_name";
27 
28 //==== Geometry details ====
29 const std::string mitk::TubeGraphDefinitions::XML_GEOMETRY = "geometry";
30 
31 const std::string mitk::TubeGraphDefinitions::XML_MATRIX_XX = "xx";
32 const std::string mitk::TubeGraphDefinitions::XML_MATRIX_XY = "xy";
33 const std::string mitk::TubeGraphDefinitions::XML_MATRIX_XZ = "xz";
34 const std::string mitk::TubeGraphDefinitions::XML_MATRIX_YX = "yx";
35 const std::string mitk::TubeGraphDefinitions::XML_MATRIX_YY = "yy";
36 const std::string mitk::TubeGraphDefinitions::XML_MATRIX_YZ = "yz";
37 const std::string mitk::TubeGraphDefinitions::XML_MATRIX_ZX = "zx";
38 const std::string mitk::TubeGraphDefinitions::XML_MATRIX_ZY = "zy";
39 const std::string mitk::TubeGraphDefinitions::XML_MATRIX_ZZ = "zz";
40 
41 const std::string mitk::TubeGraphDefinitions::XML_ORIGIN_X = "origin_x";
42 const std::string mitk::TubeGraphDefinitions::XML_ORIGIN_Y = "origin_y";
43 const std::string mitk::TubeGraphDefinitions::XML_ORIGIN_Z = "origin_z";
44 
45 const std::string mitk::TubeGraphDefinitions::XML_SPACING_X = "spacing_x";
46 const std::string mitk::TubeGraphDefinitions::XML_SPACING_Y = "spacing_y";
47 const std::string mitk::TubeGraphDefinitions::XML_SPACING_Z = "spacing_z";
48 
49 //==== TubeGraph structures ====
50 const std::string mitk::TubeGraphDefinitions::XML_VERTICES = "vertices";
51 const std::string mitk::TubeGraphDefinitions::XML_EDGES = "edges";
52 const std::string mitk::TubeGraphDefinitions::XML_LABELGROUPS = "labelgroups";
53 const std::string mitk::TubeGraphDefinitions::XML_ATTRIBUTIONS = "attributions";
54 const std::string mitk::TubeGraphDefinitions::XML_ANNOTATIONS = "annotations";
55 const std::string mitk::TubeGraphDefinitions::XML_VERTEX = "vertex";
56 const std::string mitk::TubeGraphDefinitions::XML_EDGE = "edge";
57 const std::string mitk::TubeGraphDefinitions::XML_ELEMENT = "element";
58 const std::string mitk::TubeGraphDefinitions::XML_LABELGROUP = "labelgroup";
59 const std::string mitk::TubeGraphDefinitions::XML_LABEL = "label";
60 const std::string mitk::TubeGraphDefinitions::XML_ATTRIBUTION = "attribut";
61 const std::string mitk::TubeGraphDefinitions::XML_ANNOTATION = "annotation";
62 
63 //==== vertex properties ====
64 const std::string mitk::TubeGraphDefinitions::XML_VERTEX_ID = "vertex_id";
65 
66 //==== edge properties ====
67 const std::string mitk::TubeGraphDefinitions::XML_EDGE_ID = "edge_id";
68 const std::string mitk::TubeGraphDefinitions::XML_EDGE_SOURCE_ID = "edge_source_id";
69 const std::string mitk::TubeGraphDefinitions::XML_EDGE_TARGET_ID = "edge_target_id";
70 
71 //==== element properties ====
72 const std::string mitk::TubeGraphDefinitions::XML_ELEMENT_X = "element_x";
73 const std::string mitk::TubeGraphDefinitions::XML_ELEMENT_Y = "element_y";
74 const std::string mitk::TubeGraphDefinitions::XML_ELEMENT_Z = "element_z";
75 const std::string mitk::TubeGraphDefinitions::XML_ELEMENT_DIAMETER = "element_diameter";
76 
77 //==== label group properties ====
78 const std::string mitk::TubeGraphDefinitions::XML_LABELGROUP_NAME = "labelgroup_name";
79 
80 //==== label properties ====
81 const std::string mitk::TubeGraphDefinitions::XML_LABEL_NAME = "label_name";
82 const std::string mitk::TubeGraphDefinitions::XML_LABEL_VISIBILITY = "label_visible";
83 const std::string mitk::TubeGraphDefinitions::XML_LABEL_COLOR_R = "label_color_r";
84 const std::string mitk::TubeGraphDefinitions::XML_LABEL_COLOR_G = "label_color_g";
85 const std::string mitk::TubeGraphDefinitions::XML_LABEL_COLOR_B = "label_color_b";
86 
87 //==== tube properties ====
88 const std::string mitk::TubeGraphDefinitions::XML_TUBE_ID_1 = "tube_id_1";
89 const std::string mitk::TubeGraphDefinitions::XML_TUBE_ID_2 = "tube_id_2";
90 
91 //==== annotation properties ====
92 const std::string mitk::TubeGraphDefinitions::XML_ANNOTATION_NAME = "annotation_name";
93 const std::string mitk::TubeGraphDefinitions::XML_ANNOTATION_DESCRIPTION = "annotation_description";
static const std::string XML_ATTRIBUTIONS
static const std::string XML_SPACING_Y
static const std::string XML_EDGE_SOURCE_ID
static const std::string XML_ANNOTATION_DESCRIPTION
static const std::string XML_VERTEX_ID
static const std::string XML_LABELGROUP
static const std::string XML_MATRIX_YX
static const std::string XML_ELEMENT
static const std::string XML_LABEL
static const std::string XML_EDGE
static const std::string XML_ELEMENT_Y
static const std::string XML_SPACING_Z
static const std::string XML_TUBEGRAPH_FILE
static const std::string ASCII_FILE
static const std::string XML_VERTEX
static const std::string XML_MATRIX_XY
static const std::string XML_ANNOTATION
static const std::string XML_FILE_VERSION
static const std::string XML_SPACING_X
static const std::string XML_VERTICES
static const std::string XML_MATRIX_XZ
static const std::string XML_ATTRIBUTION
static const std::string VERSION_STRING
static const std::string XML_MATRIX_ZX
static const std::string XML_MATRIX_YY
static const std::string XML_MATRIX_ZZ
static const std::string XML_TUBE_ID_1
static const std::string FILE_NAME
static const std::string XML_LABEL_COLOR_B
static const std::string XML_LABELGROUP_NAME
static const std::string XML_LABEL_NAME
static const std::string XML_MATRIX_ZY
static const std::string XML_LABEL_COLOR_R
static const std::string XML_EDGE_ID
static const std::string XML_ORIGIN_X
static const std::string XML_EDGE_TARGET_ID
static const std::string XML_GEOMETRY
static const std::string XML_MATRIX_YZ
static const std::string XML_ELEMENT_Z
static const std::string XML_LABEL_COLOR_G
static const std::string XML_ORIGIN_Z
static const std::string XML_LABELGROUPS
static const std::string XML_TUBE_ID_2
static const std::string XML_ELEMENT_DIAMETER
static const std::string XML_ANNOTATION_NAME
static const std::string XML_ANNOTATIONS
static const std::string XML_LABEL_VISIBILITY
static const std::string XML_MATRIX_XX
static const std::string XML_EDGES
static const std::string XML_ORIGIN_Y
static const std::string XML_ELEMENT_X