Medical Imaging Interaction Toolkit  2026.06.00
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 {
41  {
42  public:
50  static tinyxml2::XMLElement *ToXML(tinyxml2::XMLDocument& doc, const ProportionalTimeGeometry *geometry);
51 
60  static ProportionalTimeGeometry::Pointer FromXML(const tinyxml2::XMLElement *node);
61  };
62 }
63 
64 #endif
static ProportionalTimeGeometry::Pointer FromXML(const tinyxml2::XMLElement *node)
Deserialize a ProportionalTimeGeometry from an XML element.
static tinyxml2::XMLElement * ToXML(tinyxml2::XMLDocument &doc, const ProportionalTimeGeometry *geometry)
Serialize the given ProportionalTimeGeometry to an XML element.
Find image slices visible on a given plane.