VGM Version 5.3
Loading...
Searching...
No Matches
RootGM::DisplacedSolid Class Reference

VGM implementation for Root displaced solid. More...

#include <DisplacedSolid.h>

Inheritance diagram for RootGM::DisplacedSolid:

Public Member Functions

 DisplacedSolid (const std::string &name, VGM::ISolid *solid, TGeoMatrix *displacement)
 
 DisplacedSolid (TGeoBBox *box)
 
 DisplacedSolid (TGeoHalfSpace *halfSpace)
 
virtual ~DisplacedSolid ()
 
virtual std::string Name () const
 Return the name of this solid.
 
virtual VGM::ISolidConstituentSolid () const
 Return the constituent solid.
 
virtual VGM::Transform Displacement () const
 Return the 3D displacement of the constituent solid.
 
virtual bool ToBeReflected () const
 
- Public Member Functions inherited from BaseVGM::VDisplacedSolid
 VDisplacedSolid ()
 
virtual ~VDisplacedSolid ()
 
virtual VGM::SolidType Type () const
 Return the type of this solid.
 
virtual std::ostream & Put (std::ostream &out) const
 Put the printing of the solid parameters in the out stream.
 
- Public Member Functions inherited from VGM::IDisplacedSolid
virtual ~IDisplacedSolid ()
 
- Public Member Functions inherited from VGM::ISolid
virtual ~ISolid ()
 

Protected Member Functions

 DisplacedSolid ()
 
 DisplacedSolid (const DisplacedSolid &rhs)
 

Detailed Description

VGM implementation for Root displaced solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 34 of file DisplacedSolid.h.

Constructor & Destructor Documentation

◆ DisplacedSolid() [1/5]

RootGM::DisplacedSolid::DisplacedSolid ( const std::string & name,
VGM::ISolid * solid,
TGeoMatrix * displacement )

Standard constructor to define Displaced solids via constituents

Parameters
solidconstituent solids
displacementthe Root 3D transformation that defines the displacement of the solid

Definition at line 38 of file DisplacedSolid.cxx.

◆ DisplacedSolid() [2/5]

RootGM::DisplacedSolid::DisplacedSolid ( TGeoBBox * box)

Standard constructor to define Displaced solid via Root object. Only TGeoBBox can include displacement in its definition.

Definition at line 70 of file DisplacedSolid.cxx.

◆ DisplacedSolid() [3/5]

RootGM::DisplacedSolid::DisplacedSolid ( TGeoHalfSpace * halfSpace)

Standard constructor to define Displaced solid via Root object. Only TGeoBBox can include displacement in its definition. If

Definition at line 113 of file DisplacedSolid.cxx.

◆ ~DisplacedSolid()

RootGM::DisplacedSolid::~DisplacedSolid ( )
virtual

Definition at line 198 of file DisplacedSolid.cxx.

◆ DisplacedSolid() [4/5]

RootGM::DisplacedSolid::DisplacedSolid ( )
protected

Protected default constructor

Definition at line 184 of file DisplacedSolid.cxx.

◆ DisplacedSolid() [5/5]

RootGM::DisplacedSolid::DisplacedSolid ( const DisplacedSolid & rhs)
protected

Protected copy constructor

Definition at line 191 of file DisplacedSolid.cxx.

Member Function Documentation

◆ Name()

std::string RootGM::DisplacedSolid::Name ( ) const
virtual

Return the name of this solid.

Implements VGM::IDisplacedSolid.

Definition at line 208 of file DisplacedSolid.cxx.

◆ ConstituentSolid()

VGM::ISolid * RootGM::DisplacedSolid::ConstituentSolid ( ) const
virtual

Return the constituent solid.

Implements VGM::IDisplacedSolid.

Definition at line 217 of file DisplacedSolid.cxx.

◆ Displacement()

VGM::Transform RootGM::DisplacedSolid::Displacement ( ) const
virtual

Return the 3D displacement of the constituent solid.

Implements VGM::IDisplacedSolid.

Definition at line 226 of file DisplacedSolid.cxx.

◆ ToBeReflected()

bool RootGM::DisplacedSolid::ToBeReflected ( ) const
inlinevirtual

Definition at line 64 of file DisplacedSolid.h.


The documentation for this class was generated from the following files: