CMS 3D CMS Logo

DDCompactViewImpl.h
Go to the documentation of this file.
1 #ifndef DETECTOR_DESCRIPTION_CORE_DD_COMPACT_VIEW_IMPL_H
2 #define DETECTOR_DESCRIPTION_CORE_DD_COMPACT_VIEW_IMPL_H
3 
10 
11 class DDDivision;
12 struct DDPosData;
13 
15 public:
18 
19  explicit DDCompactViewImpl();
20  DDCompactViewImpl(const DDLogicalPart& rootnodedata);
22 
23  //reassigns root with no check!!!
24  void setRoot(const DDLogicalPart& root) { root_ = root; }
25 
26  const DDLogicalPart& root() const { return root_; }
27 
28  DDLogicalPart& current() const;
29 
30  const Graph& graph() const { return graph_; }
31  GraphWalker walker() const;
32 
33  void position(const DDLogicalPart& self,
34  const DDLogicalPart& parent,
35  int copyno,
36  const DDTranslation& trans,
37  const DDRotation& rot,
38  const DDDivision* div);
39 
40  void swap(DDCompactViewImpl&);
41 
42 protected:
43  // internal use ! (see comments in DDCompactView(bool)!)
46 };
47 
48 #endif
void position(const DDLogicalPart &self, const DDLogicalPart &parent, int copyno, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div)
Relative position of a child-volume inside a parent-volume.
Definition: DDPosData.h:13
DDLogicalPart & current() const
void setRoot(const DDLogicalPart &root)
const Graph & graph() const
DDLogicalPart root_
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Definition: DDTranslation.h:7
Represents a uniquely identifyable rotation matrix.
Definition: DDTransform.h:57
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
Definition: DDLogicalPart.h:93
void swap(DDCompactViewImpl &)
GraphWalker walker() const
const DDLogicalPart & root() const