VGM Version 5.3
|
VGM implementation for Root extruded solid. More...
#include <ExtrudedSolid.h>
Public Member Functions | |
ExtrudedSolid (const std::string &name, std::vector< VGM::TwoVector > polygon, std::vector< std::vector< double > > zsections) | |
ExtrudedSolid (TGeoXtru *xtru) | |
virtual | ~ExtrudedSolid () |
virtual std::string | Name () const |
Return the name of this solid. | |
int | NofVertices () const |
Return the number of vertices of outline polygon. | |
VGM::TwoVector | Vertex (int index) const |
Return the index-th vertex of outline polygon. | |
virtual int | NofZSections () const |
Return the number of planes perpendicular to the z axis. | |
virtual double | ZPosition (int iz) const |
Return the z position of the iz-th plane in mm. | |
virtual VGM::TwoVector | Offset (int iz) const |
Return the polygon offset in iz-th side. | |
virtual double | Scale (int iz) const |
Return the polygon scale in iz-th side. | |
Public Member Functions inherited from BaseVGM::VExtrudedSolid | |
VExtrudedSolid () | |
virtual | ~VExtrudedSolid () |
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::IExtrudedSolid | |
virtual | ~IExtrudedSolid () |
Public Member Functions inherited from VGM::ISolid | |
virtual | ~ISolid () |
Protected Member Functions | |
ExtrudedSolid () | |
ExtrudedSolid (const ExtrudedSolid &rhs) | |
Protected Attributes | |
TGeoXtru * | fXtru |
VGM implementation for Root extruded solid.
Definition at line 32 of file ExtrudedSolid.h.
RootGM::ExtrudedSolid::ExtrudedSolid | ( | const std::string & | name, |
std::vector< VGM::TwoVector > | polygon, | ||
std::vector< std::vector< double > > | zsections ) |
Standard constructor to define ExtrudedSolid from parameters
polygon | the outline polygon |
zsections | the z-sections defined by z positions, polygon offset in x, y and scale |
Definition at line 30 of file ExtrudedSolid.cxx.
RootGM::ExtrudedSolid::ExtrudedSolid | ( | TGeoXtru * | xtru | ) |
Standard constructor to define ExtrudedSolid from Root object
Definition at line 74 of file ExtrudedSolid.cxx.
|
virtual |
Definition at line 100 of file ExtrudedSolid.cxx.
|
protected |
Protected default constructor
Definition at line 83 of file ExtrudedSolid.cxx.
|
protected |
Protected copy constructor
Definition at line 90 of file ExtrudedSolid.cxx.
|
virtual |
Return the name of this solid.
Implements VGM::IExtrudedSolid.
Definition at line 129 of file ExtrudedSolid.cxx.
|
inlinevirtual |
Return the number of vertices of outline polygon.
Implements VGM::IExtrudedSolid.
Definition at line 132 of file ExtrudedSolid.cxx.
|
inlinevirtual |
Return the index-th vertex of outline polygon.
Implements VGM::IExtrudedSolid.
Definition at line 135 of file ExtrudedSolid.cxx.
|
virtual |
Return the number of planes perpendicular to the z axis.
Implements VGM::IExtrudedSolid.
Definition at line 148 of file ExtrudedSolid.cxx.
|
virtual |
Return the z position of the iz-th plane in mm.
Implements VGM::IExtrudedSolid.
Definition at line 151 of file ExtrudedSolid.cxx.
|
virtual |
Return the polygon offset in iz-th side.
Implements VGM::IExtrudedSolid.
Definition at line 163 of file ExtrudedSolid.cxx.
|
virtual |
Return the polygon scale in iz-th side.
Implements VGM::IExtrudedSolid.
Definition at line 176 of file ExtrudedSolid.cxx.
|
protected |
Definition at line 53 of file ExtrudedSolid.h.