Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkGeometry3DToXML.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 mitkGeometry3DToXML_h
18 #define mitkGeometry3DToXML_h
19 
20 // MITK
21 #include "mitkGeometry3D.h"
22 
23 class TiXmlElement;
24 
25 namespace mitk
26 {
40  {
41  public:
45  static TiXmlElement *ToXML(const Geometry3D *geometry);
46 
51  static Geometry3D::Pointer FromXML(TiXmlElement *node);
52  };
53 }
54 
55 #endif
Standard implementation of BaseGeometry.
static Geometry3D::Pointer FromXML(TiXmlElement *node)
Create a Geometry3D from XML. Interprets only the format created by ToXML().
DataCollection - Class to facilitate loading/accessing structured data.
static TiXmlElement * ToXML(const Geometry3D *geometry)
Serialize given geometry to XML.