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

VGM implementation for Root Scaled solid. More...

#include <ScaledSolid.h>

Inheritance diagram for RootGM::ScaledSolid:

Public Member Functions

 ScaledSolid (const std::string &name, VGM::ISolid *solid, TGeoScale *scale)
 
 ScaledSolid (TGeoScaledShape *scaledShape)
 
virtual ~ScaledSolid ()
 
virtual std::string Name () const
 Return the name of this solid.
 
virtual VGM::ISolidConstituentSolid () const
 Return the constituent solid.
 
virtual VGM::Transform Scale () const
 Return the 3D scale.
 
virtual bool ToBeReflected () const
 Return true if the solid has to be first reflected before being placed.
 
- Public Member Functions inherited from BaseVGM::VScaledSolid
 VScaledSolid ()
 
virtual ~VScaledSolid ()
 
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::IScaledSolid
virtual ~IScaledSolid ()
 
- Public Member Functions inherited from VGM::ISolid
virtual ~ISolid ()
 

Protected Member Functions

 ScaledSolid ()
 
 ScaledSolid (const ScaledSolid &rhs)
 

Detailed Description

VGM implementation for Root Scaled solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 33 of file ScaledSolid.h.

Constructor & Destructor Documentation

◆ ScaledSolid() [1/4]

RootGM::ScaledSolid::ScaledSolid ( const std::string & name,
VGM::ISolid * solid,
TGeoScale * scale )

Standard constructor to define Scaled solids via constituents

Parameters
solidconstituent solids
scalethe TGeo scale transformation

Definition at line 27 of file ScaledSolid.cxx.

◆ ScaledSolid() [2/4]

RootGM::ScaledSolid::ScaledSolid ( TGeoScaledShape * scaledShape)

Standard constructor to define Scaled solid via Root object

Definition at line 45 of file ScaledSolid.cxx.

◆ ~ScaledSolid()

RootGM::ScaledSolid::~ScaledSolid ( )
virtual

Definition at line 71 of file ScaledSolid.cxx.

◆ ScaledSolid() [3/4]

RootGM::ScaledSolid::ScaledSolid ( )
protected

Protected default constructor

Definition at line 57 of file ScaledSolid.cxx.

◆ ScaledSolid() [4/4]

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

Protected copy constructor

Definition at line 64 of file ScaledSolid.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this solid.

Implements VGM::IScaledSolid.

Definition at line 81 of file ScaledSolid.cxx.

◆ ConstituentSolid()

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

Return the constituent solid.

Implements VGM::IScaledSolid.

Definition at line 90 of file ScaledSolid.cxx.

◆ Scale()

VGM::Transform RootGM::ScaledSolid::Scale ( ) const
virtual

Return the 3D scale.

Implements VGM::IScaledSolid.

Definition at line 102 of file ScaledSolid.cxx.

◆ ToBeReflected()

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

Return true if the solid has to be first reflected before being placed.

Implements VGM::IScaledSolid.

Definition at line 57 of file ScaledSolid.h.


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