Medical Imaging Interaction Toolkit  2018.4.99-6aa36ba9
Medical Imaging Interaction Toolkit
mitkProportionalTimeGeometryToXML.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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkProportionalTimeGeometryToXML_h
14 #define mitkProportionalTimeGeometryToXML_h
15 
16 // MITK
18 
19 class TiXmlElement;
20 
21 namespace mitk
22 {
36  {
37  public:
41  static TiXmlElement *ToXML(const ProportionalTimeGeometry *geometry);
42 
47  static ProportionalTimeGeometry::Pointer FromXML(TiXmlElement *node);
48  };
49 }
50 
51 #endif
static TiXmlElement * ToXML(const ProportionalTimeGeometry *geometry)
Serialize given geometry to XML.
DataCollection - Class to facilitate loading/accessing structured data.
static ProportionalTimeGeometry::Pointer FromXML(TiXmlElement *node)
Create a ProportionalTimeGeometry from XML. Interprets only the format created by ToXML()...