Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
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 {
40  {
41  public:
45  static tinyxml2::XMLElement *ToXML(tinyxml2::XMLDocument& doc, const Geometry3D *geometry);
46 
51  static Geometry3D::Pointer FromXML(const tinyxml2::XMLElement *node);
52  };
53 }
54 
55 #endif
mitk::Geometry3DToXML::FromXML
static Geometry3D::Pointer FromXML(const tinyxml2::XMLElement *node)
Create a Geometry3D from XML. Interprets only the format created by ToXML().
mitk::Geometry3DToXML::ToXML
static tinyxml2::XMLElement * ToXML(tinyxml2::XMLDocument &doc, const Geometry3D *geometry)
Serialize given geometry to XML.
itk::SmartPointer< Self >
mitkGeometry3D.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::Geometry3DToXML
Definition: mitkGeometry3DToXML.h:39
tinyxml2
Definition: mitkContourModelReader.h:25
mitk::Geometry3D
Standard implementation of BaseGeometry.
Definition: mitkGeometry3D.h:32