Medical Imaging Interaction Toolkit  2026.06.00
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 (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 mitkGeometry3DToXML_h
14 #define mitkGeometry3DToXML_h
15 
16 // MITK
17 #include <mitkGeometry3D.h>
18 
19 namespace tinyxml2
20 {
21  class XMLDocument;
22  class XMLElement;
23 }
24 
25 namespace mitk
26 {
43  {
44  public:
52  static tinyxml2::XMLElement *ToXML(tinyxml2::XMLDocument& doc, const Geometry3D *geometry);
53 
62  static Geometry3D::Pointer FromXML(const tinyxml2::XMLElement *node);
63  };
64 }
65 
66 #endif
static tinyxml2::XMLElement * ToXML(tinyxml2::XMLDocument &doc, const Geometry3D *geometry)
Serialize the given Geometry3D to an XML element.
static Geometry3D::Pointer FromXML(const tinyxml2::XMLElement *node)
Deserialize a Geometry3D from an XML element.
Standard three-dimensional geometry.
Find image slices visible on a given plane.