Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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
Find image slices visible on a given plane.
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().