CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BoundPlane.h
Go to the documentation of this file.
1 #ifndef Geom_BoundPlane_H
2 #define Geom_BoundPlane_H
3 
16 #include "boost/intrusive_ptr.hpp"
17 
18 
19 class BoundPlane : public Plane, public BoundSurface {
20 public:
23 
27  const RotationType& rot,
28  const Bounds* bounds,
29  MediumProperties* mp=0) {
30  return BoundPlanePointer(new BoundPlane(pos, rot, bounds, mp));
31  }
32 
33 
37  const RotationType& rot,
38  const Bounds& bounds,
39  MediumProperties* mp=0) {
40  return BoundPlanePointer(new BoundPlane(pos, rot, bounds, mp));
41  }
42 
43  virtual ~BoundPlane() {}
44 
45  // --DEPRECATED CONSTRUCTORS
46 
51  const RotationType& rot,
52  const Bounds* bounds) :
53  Surface( pos,rot), Plane( pos, rot), BoundSurface(pos, rot, bounds) {}
54 
59  const RotationType& rot,
60  const Bounds& bounds) :
61  Surface( pos,rot), Plane( pos, rot), BoundSurface(pos, rot, bounds) {}
62 
67  const RotationType& rot,
68  const Bounds* bounds,
69  MediumProperties* mp) :
70  Surface( pos,rot,mp), Plane( pos, rot, mp), BoundSurface(pos, rot, bounds, mp) {}
71 
76  const RotationType& rot,
77  const Bounds& bounds,
78  MediumProperties* mp) :
79  Surface( pos,rot,mp), Plane( pos, rot, mp), BoundSurface(pos, rot, bounds, mp) {}
80 
85  BoundPlane( const PositionType& pos,
86  const RotationType& rot);
87 
88 
89 };
90 
91 #endif // Geom_BoundPlane_H
BoundPlane(const PositionType &pos, const RotationType &rot, const Bounds *bounds)
Definition: BoundPlane.h:50
static BoundPlanePointer build(const PositionType &pos, const RotationType &rot, const Bounds *bounds, MediumProperties *mp=0)
Definition: BoundPlane.h:26
BoundPlane(const PositionType &pos, const RotationType &rot, const Bounds &bounds, MediumProperties *mp)
Definition: BoundPlane.h:75
Definition: Plane.h:17
ReferenceCountingPointer< BoundPlane > BoundPlanePointer
Definition: BoundPlane.h:21
BoundPlane(const PositionType &pos, const RotationType &rot, const Bounds *bounds, MediumProperties *mp)
Definition: BoundPlane.h:66
virtual ~BoundPlane()
Definition: BoundPlane.h:43
ConstReferenceCountingPointer< BoundPlane > ConstBoundPlanePointer
Definition: BoundPlane.h:22
const Bounds & bounds() const
Definition: BoundSurface.h:89
Point3DBase< float, GlobalTag > PositionType
BoundPlane(const PositionType &pos, const RotationType &rot, const Bounds &bounds)
Definition: BoundPlane.h:58
TkRotation< float > RotationType
static BoundPlanePointer build(const PositionType &pos, const RotationType &rot, const Bounds &bounds, MediumProperties *mp=0)
Definition: BoundPlane.h:36
Definition: Bounds.h:18