CMS 3D CMS Logo

DDCoreToDDXMLOutput.h
Go to the documentation of this file.
1 #ifndef GUARD_DDCoreToDDXMLOutput_H
2 #define GUARD_DDCoreToDDXMLOutput_H
3 
4 #include <iostream>
5 #include <set>
6 #include <string>
7 #include <utility>
8 
16 
17 class DDPartSelection;
18 class DDRotation;
19 struct DDPosData;
20 
36 
37  void solid ( const DDSolid& solid, std::ostream& xos );
38 
39  void material ( const DDMaterial& material, std::ostream& xos );
40 
41  void rotation ( const DDRotation& rotation, std::ostream& xos, const std::string& rotn="" );
42 
43  void logicalPart ( const DDLogicalPart& lp, std::ostream& xos );
44 
45  void position ( const DDLogicalPart& parent
46  , const DDLogicalPart& child
47  , DDPosData* edgeToChild
48  // , PIdealGeometry& geom
49  , int& rotNameSeed
50  , std::ostream& xos );
51  // left in for now as legacy...
52  void specpar ( const DDSpecifics & sp, std::ostream& xos );
53  void specpar ( const std::pair<DDsvalues_type, std::set<const DDPartSelection*> >& pssv, std::ostream& xos );
54 
55  std::string ns_; // default namespace
56  double tol_;
57 };
58 
59 #endif
Relative position of a child-volume inside a parent-volume.
Definition: DDPosData.h:13
DDMaterial is used to define and access material information.
Definition: DDMaterial.h:43
void specpar(const DDSpecifics &sp, std::ostream &xos)
A DDSolid represents the shape of a part.
Definition: DDSolid.h:39
Represents a uniquely identifyable rotation matrix.
Definition: DDTransform.h:68
void position(const DDLogicalPart &parent, const DDLogicalPart &child, DDPosData *edgeToChild, int &rotNameSeed, std::ostream &xos)
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
Definition: DDLogicalPart.h:93
void logicalPart(const DDLogicalPart &lp, std::ostream &xos)
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
Definition: DDsvalues.h:12
void material(const DDMaterial &material, std::ostream &xos)
void rotation(const DDRotation &rotation, std::ostream &xos, const std::string &rotn="")
void solid(const DDSolid &solid, std::ostream &xos)
Interface to attach user specific data to nodes in the expanded-view.
Definition: DDSpecifics.h:41