Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkFiberBundleTrackVisWriter.h
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 #ifndef __mitkFiberBundleTrackVisWriter_h
18 #define __mitkFiberBundleTrackVisWriter_h
19 
20 #include <mitkAbstractFileWriter.h>
21 
22 #include "mitkFiberBundle.h"
23 #include <vtkPolyDataWriter.h>
24 
25 
26 
27 namespace mitk
28 {
29 
35 {
36 public:
37 
38 
41  virtual FiberBundleTrackVisWriter * Clone() const override;
43 
45  virtual void Write() override;
46 
47  static const char* XML_GEOMETRY;
48 
49  static const char* XML_MATRIX_XX;
50 
51  static const char* XML_MATRIX_XY;
52 
53  static const char* XML_MATRIX_XZ;
54 
55  static const char* XML_MATRIX_YX;
56 
57  static const char* XML_MATRIX_YY;
58 
59  static const char* XML_MATRIX_YZ;
60 
61  static const char* XML_MATRIX_ZX;
62 
63  static const char* XML_MATRIX_ZY;
64 
65  static const char* XML_MATRIX_ZZ;
66 
67  static const char* XML_ORIGIN_X;
68 
69  static const char* XML_ORIGIN_Y;
70 
71  static const char* XML_ORIGIN_Z;
72 
73  static const char* XML_SPACING_X;
74 
75  static const char* XML_SPACING_Y;
76 
77  static const char* XML_SPACING_Z;
78 
79  static const char* XML_SIZE_X;
80 
81  static const char* XML_SIZE_Y;
82 
83  static const char* XML_SIZE_Z;
84 
85  static const char* XML_FIBER_BUNDLE;
86 
87  static const char* XML_FIBER;
88 
89  static const char* XML_PARTICLE;
90 
91  static const char* XML_ID;
92 
93  static const char* XML_POS_X;
94 
95  static const char* XML_POS_Y;
96 
97  static const char* XML_POS_Z;
98 
99  static const char* VERSION_STRING;
100 
101  static const char* XML_FIBER_BUNDLE_FILE;
102 
103  static const char* XML_FILE_VERSION;
104 
105  static const char* XML_NUM_FIBERS;
106 
107  static const char* XML_NUM_PARTICLES;
108 
109  static const char* ASCII_FILE;
110 
111  static const char* FILE_NAME;
112 
113 };
114 
115 
116 } // end of namespace mitk
117 
118 #endif //__mitkFiberBundleWriter_h
virtual void Write() override
Write the base data to the specified location or output stream.
DataCollection - Class to facilitate loading/accessing structured data.
virtual void Write() override=0
Write the base data to the specified location or output stream.
virtual FiberBundleTrackVisWriter * Clone() const override
Base class for writing mitk::BaseData objects to files or streams.