![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicToyModel/blob/master/include/EtmPolygonGroup.h>
Inheritance diagram for EtmPolygonGroup:
Collaboration diagram for EtmPolygonGroup:Public Member Functions | |
| EtmPolygonGroup (int fillcolor=0, int linecolor=1) | |
| ~EtmPolygonGroup () | |
| void | AddPolygon (const std::vector< TVector2 > &polygon) |
| void | AddPolygon (unsigned dim, const double xx[], const double yy[]) |
| void | AddRectangle (double x0, double y0, double xsize, double ysize, unsigned xsplit=1, unsigned ysplit=1) |
| void | AddRectangle (const TVector2 &bl, const TVector2 &tr, unsigned xsplit=1, unsigned ysplit=1) |
| int | GetFillColor (void) const |
| int | GetLineColor (void) const |
| etm::LineStyle | GetLineStyle (void) const |
| void | SetLineColor (int color) |
| void | SetLineWidth (int width) |
| void | SetLineStyle (etm::LineStyle style) |
| void | SetTextColor (int color) |
| const std::vector< std::vector < TVector2 > > & | Polygons (void) const |
| void | DrawPolygon (unsigned dim, const double xx[], const double yy[], bool line=true) const |
| void | DrawPolygon (const std::vector< TVector2 > &polygon, bool line=true, const TVector2 *shift=0, unsigned tb=0) const |
| void | DrawMe (const TVector2 *shift=0, unsigned tb=0) const |
| void | ClearPolygons (void) |
| unsigned | PolygonCount (void) const |
| virtual bool | IsHighlighted (void) const |
| virtual double | GetColorAlpha (void) const |
Protected Attributes | |
| int | mFillColor |
| int | mLineColor |
| int | mLineWidth |
| int | mTextColor |
| etm::LineStyle | mLineStyle |
| std::vector< std::vector < TVector2 > > | mPolygons |
Definition at line 11 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 11 of file EtmPolygonGroup.h
|
inline |
Definition at line 13 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 13 of file EtmPolygonGroup.h
Referenced by EtmDetector::insert().
Here is the caller graph for this function:
|
inline |
Definition at line 16 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 16 of file EtmPolygonGroup.h
|
inline |
Definition at line 18 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 18 of file EtmPolygonGroup.h
References mPolygons.
Referenced by AddRectangle(), and EtmDetector::Build().
Here is the caller graph for this function:| void EtmPolygonGroup::AddPolygon | ( | unsigned | dim, |
| const double | xx[], | ||
| const double | yy[] | ||
| ) |
Definition at line 10 of file EtmPolygonGroup.cc.
View newest version in sPHENIX GitHub at line 10 of file EtmPolygonGroup.cc
References Acts::Test::dim, and mPolygons.
| void EtmPolygonGroup::AddRectangle | ( | double | x0, |
| double | y0, | ||
| double | xsize, | ||
| double | ysize, | ||
| unsigned | xsplit = 1, |
||
| unsigned | ysplit = 1 |
||
| ) |
Definition at line 51 of file EtmPolygonGroup.cc.
View newest version in sPHENIX GitHub at line 51 of file EtmPolygonGroup.cc
| void EtmPolygonGroup::AddRectangle | ( | const TVector2 & | bl, |
| const TVector2 & | tr, | ||
| unsigned | xsplit = 1, |
||
| unsigned | ysplit = 1 |
||
| ) |
Definition at line 22 of file EtmPolygonGroup.cc.
View newest version in sPHENIX GitHub at line 22 of file EtmPolygonGroup.cc
References AddPolygon(), and buffer.
Here is the call graph for this function:| void EtmPolygonGroup::ClearPolygons | ( | void | ) |
Definition at line 60 of file EtmPolygonGroup.cc.
View newest version in sPHENIX GitHub at line 60 of file EtmPolygonGroup.cc
References mPolygons.
Referenced by EtmDetector::ClearPolygonBuffer().
Here is the caller graph for this function:| void EtmPolygonGroup::DrawMe | ( | const TVector2 * | shift = 0, |
| unsigned | tb = 0 |
||
| ) | const |
Definition at line 124 of file EtmPolygonGroup.cc.
View newest version in sPHENIX GitHub at line 124 of file EtmPolygonGroup.cc
References DrawPolygon(), and mPolygons.
Here is the call graph for this function:| void EtmPolygonGroup::DrawPolygon | ( | unsigned | dim, |
| const double | xx[], | ||
| const double | yy[], | ||
| bool | line = true |
||
| ) | const |
Definition at line 71 of file EtmPolygonGroup.cc.
View newest version in sPHENIX GitHub at line 71 of file EtmPolygonGroup.cc
References Acts::Test::dim, eic, GetColorAlpha(), EicToyModel::Instance(), IsHighlighted(), mFillColor, mLineColor, mLineStyle, and mLineWidth.
Referenced by DrawMe(), and DrawPolygon().
Here is the call graph for this function:
Here is the caller graph for this function:| void EtmPolygonGroup::DrawPolygon | ( | const std::vector< TVector2 > & | polygon, |
| bool | line = true, |
||
| const TVector2 * | shift = 0, |
||
| unsigned | tb = 0 |
||
| ) | const |
Definition at line 105 of file EtmPolygonGroup.cc.
View newest version in sPHENIX GitHub at line 105 of file EtmPolygonGroup.cc
References Acts::Test::dim, DrawPolygon(), and vtx().
Here is the call graph for this function:
|
inlinevirtual |
Reimplemented in EtmDetector.
Definition at line 46 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 46 of file EtmPolygonGroup.h
Referenced by DrawPolygon().
Here is the caller graph for this function:
|
inline |
Definition at line 25 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 25 of file EtmPolygonGroup.h
References mFillColor.
Referenced by EtmDetector::Build(), EtmDetector::BuildCADmodel(), EtmDetector::PlaceG4Volume(), and EtmDetector::RegisterFillColor().
Here is the caller graph for this function:
|
inline |
Definition at line 26 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 26 of file EtmPolygonGroup.h
References mLineColor.
|
inline |
Definition at line 27 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 27 of file EtmPolygonGroup.h
References mLineStyle.
|
inlinevirtual |
Reimplemented in EtmDetector.
Definition at line 45 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 45 of file EtmPolygonGroup.h
Referenced by DrawPolygon().
Here is the caller graph for this function:
|
inline |
Definition at line 43 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 43 of file EtmPolygonGroup.h
References mPolygons.
|
inline |
Definition at line 34 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 34 of file EtmPolygonGroup.h
References mPolygons.
Referenced by EtmDetector::BuildCADmodel(), and EtmDetector::PlaceG4Volume().
Here is the caller graph for this function:
|
inline |
Definition at line 29 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 29 of file EtmPolygonGroup.h
References color, and mLineColor.
|
inline |
Definition at line 31 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 31 of file EtmPolygonGroup.h
References mLineStyle.
Referenced by EtmDetector::dashed(), and EtmDetector::dotted().
Here is the caller graph for this function:
|
inline |
Definition at line 30 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 30 of file EtmPolygonGroup.h
References mLineWidth, and width().
Here is the call graph for this function:
|
inline |
Definition at line 32 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 32 of file EtmPolygonGroup.h
References color, and mTextColor.
Referenced by EtmDetector::text().
Here is the caller graph for this function:
|
protected |
Definition at line 46 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 46 of file EtmPolygonGroup.h
Referenced by DrawPolygon(), and GetFillColor().
|
protected |
Definition at line 46 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 46 of file EtmPolygonGroup.h
Referenced by DrawPolygon(), GetLineColor(), and SetLineColor().
|
protected |
Definition at line 51 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 51 of file EtmPolygonGroup.h
Referenced by DrawPolygon(), GetLineStyle(), and SetLineStyle().
|
protected |
Definition at line 46 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 46 of file EtmPolygonGroup.h
Referenced by DrawPolygon(), and SetLineWidth().
|
protected |
Definition at line 54 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 54 of file EtmPolygonGroup.h
Referenced by AddPolygon(), ClearPolygons(), DrawMe(), PolygonCount(), and Polygons().
|
protected |
Definition at line 46 of file EtmPolygonGroup.h.
View newest version in sPHENIX GitHub at line 46 of file EtmPolygonGroup.h
Referenced by SetTextColor().