VGM Version 5.3
Loading...
Searching...
No Matches
AGDDExporter.h
Go to the documentation of this file.
1// $Id$
2
3// -----------------------------------------------------------------------
4// The XmlVGM package of the Virtual Geometry Model
5// Copyright (C) 2007, Ivana Hrivnacova
6// All rights reserved.
7//
8// For the licensing terms see vgm/LICENSE.
9// Contact: ivana@ipno.in2p3.fr
10// -----------------------------------------------------------------------
11
13//
20
21#ifndef XML_VGM_AGDD_EXPORTER_H
22#define XML_VGM_AGDD_EXPORTER_H
23
24#include "XmlVGM/VExporter.h"
25
26namespace VGM {
27class IFactory;
28class IVolume;
29} // namespace VGM
30
31namespace XmlVGM {
32
33class AGDDExporter : public VExporter
34{
35 public:
36 AGDDExporter(const VGM::IFactory* factory);
37 // --> protected
38 // AGDDExporter();
39 // AGDDExporter(const AGDDExporter& right);
40 virtual ~AGDDExporter();
41
42 protected:
44 AGDDExporter(const AGDDExporter& right);
45
46 // operators
47 AGDDExporter& operator=(const AGDDExporter& right);
48
49 // methods
50 // (specific to XML definition)
51 //
52 virtual void GenerateGeometry(VGM::IVolume* volume);
53 virtual void GenerateSection(VGM::IVolume* volume);
54 virtual void ProcessVolume(VGM::IVolume* volume);
55
56 private:
57 ThreeVector Identity() const;
58};
59
60} // namespace XmlVGM
61
62#endif // XML_VGM_AGDD_EXPORTER_H
The VGM interface to geometry factory providing functions for geometry construction and conversions.
Definition IFactory.h:50
The VGM interface to volumes.
Definition IVolume.h:32
Class for generation of geometry data files in XML, in the AGDD XML format.
virtual void GenerateSection(VGM::IVolume *volume)
virtual void GenerateGeometry(VGM::IVolume *volume)
Generate XML geometry file for the geometry tree starting from the specified VGM volume.
AGDDExporter & operator=(const AGDDExporter &right)
virtual void ProcessVolume(VGM::IVolume *volume)
Class for generation of geometry data files in XML, the XML format is independent from the geometry o...
Definition VExporter.h:48
VGM interfaces.
Definition VMedium.h:28
XmlVGM utilities.
std::vector< double > ThreeVector
Definition VExporter.h:43