Medical Imaging Interaction Toolkit  2023.04.99-980ed1b6
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 
17 
18 namespace tinyxml2
19 {
20  class XMLDocument;
21  class XMLElement;
22 }
23 
24 namespace mitk
25 {
39  {
40  public:
44  static tinyxml2::XMLElement *ToXML(tinyxml2::XMLDocument& doc, const ProportionalTimeGeometry *geometry);
45 
50  static ProportionalTimeGeometry::Pointer FromXML(const tinyxml2::XMLElement *node);
51  };
52 }
53 
54 #endif
mitk::ProportionalTimeGeometryToXML
Definition: mitkProportionalTimeGeometryToXML.h:38
itk::SmartPointer< Self >
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitkProportionalTimeGeometry.h
tinyxml2
Definition: mitkXMLSerializable.h:20
mitk::ProportionalTimeGeometryToXML::ToXML
static tinyxml2::XMLElement * ToXML(tinyxml2::XMLDocument &doc, const ProportionalTimeGeometry *geometry)
Serialize given geometry to XML.
mitk::ProportionalTimeGeometry
Definition: mitkProportionalTimeGeometry.h:38
mitk::ProportionalTimeGeometryToXML::FromXML
static ProportionalTimeGeometry::Pointer FromXML(const tinyxml2::XMLElement *node)
Create a ProportionalTimeGeometry from XML. Interprets only the format created by ToXML().