|
LDMX Software
|
Helper class for drawing common shapes. More...
#include <EveShapeDrawer.h>
Public Member Functions | |
| TEveGeoShape * | drawHexPrism (Double_t xPos, Double_t yPos, Double_t zPos, Double_t xRot, Double_t yRot, Double_t zRot, Double_t h, Double_t r, Int_t color, Int_t transparency, TString name) |
| Draw a hexagonal prism. | |
| TEveGeoShape * | drawHexPrism (HexPrism prism, Double_t xRot, Double_t yRot, Double_t zRot, Int_t color, Int_t transparency, TString name) |
| Draw a hexagonal prism. | |
| TEveGeoShape * | drawRectPrism (Double_t xPos, Double_t yPos, Double_t zPos, Double_t dX, Double_t dY, Double_t dZ, Double_t xRot, Double_t yRot, Double_t zRot, Int_t color, Int_t transparency, TString name) |
| Draw a rectangular prism. | |
| TEveGeoShape * | drawRectPrism (BoundingBox boundingbox, Double_t xRot, Double_t yRot, Double_t zRot, Int_t color, Int_t transparency, TString name) |
| Draw a rectangular prism. | |
Static Public Member Functions | |
| static EveShapeDrawer & | getInstance () |
| Get Instance of Drawer. | |
Private Attributes | |
| UInt_t | uid_ = 0 |
Helper class for drawing common shapes.
Definition at line 27 of file EveShapeDrawer.h.
|
inline |
Draw a hexagonal prism.
| xPos | x coordinate for center of prism [mm] |
| yPos | y coordinate for center of prism [mm] |
| zPos | z coordinate for center of prism [mm] |
| xRot | rotation around x-axis [degrees] |
| yRot | rotation around y-axis [degrees] |
| zRot | rotation around z-axis [degrees] |
| h | height of prism [mm] |
| r | radius of prism (center to corner) [mm] |
| color | color of prism |
| transparency | transparency of prism |
| name | name of prism |
Definition at line 52 of file EveShapeDrawer.h.
Referenced by eventdisplay::Objects::draw(), eventdisplay::Objects::draw(), eventdisplay::Objects::draw(), eventdisplay::EveDetectorGeometry::drawECAL(), and drawHexPrism().
|
inline |
Draw a hexagonal prism.
| HexPrism | description of hexagonal prism geometry |
| xRot | rotation around x-axis [degrees] |
| yRot | rotation around y-axis [degrees] |
| zRot | rotation around z-axis [degrees] |
| color | color of prism |
| transparency | transparency of prism |
| name | name of prism |
Definition at line 82 of file EveShapeDrawer.h.
References drawHexPrism().
|
inline |
Draw a rectangular prism.
| boundingbox | containing description of rectangular prism |
| xRot | rotation around x-axis [degrees] |
| yRot | rotation around y-axis [degrees] |
| zRot | rotation around z-axis [degrees] |
| color | color of prism |
| transparency | transparency of prism |
| name | name of prism |
Definition at line 134 of file EveShapeDrawer.h.
References drawRectPrism().
|
inline |
Draw a rectangular prism.
| xPos | x coordinate for center of prism [mm] |
| yPos | y coordinate for center of prism [mm] |
| zPos | z coordinate for center of prism [mm] |
| dX | width in x direction [mm] |
| dY | width in y direction [mm] |
| dZ | width in z direction [mm] |
| xRot | rotation around x-axis [degrees] |
| yRot | rotation around y-axis [degrees] |
| zRot | rotation around z-axis [degrees] |
| color | color of prism |
| transparency | transparency of prism |
| name | name of prism |
Definition at line 105 of file EveShapeDrawer.h.
Referenced by eventdisplay::Objects::draw(), eventdisplay::Objects::draw(), eventdisplay::Objects::draw(), eventdisplay::EveDetectorGeometry::drawHCAL(), eventdisplay::EveDetectorGeometry::drawRecoilTracker(), and drawRectPrism().
|
inlinestatic |
Get Instance of Drawer.
Definition at line 32 of file EveShapeDrawer.h.
Referenced by eventdisplay::Objects::draw(), eventdisplay::Objects::draw(), eventdisplay::Objects::draw(), eventdisplay::Objects::draw(), eventdisplay::Objects::draw(), eventdisplay::EveDetectorGeometry::drawECAL(), eventdisplay::EveDetectorGeometry::drawHCAL(), and eventdisplay::EveDetectorGeometry::drawRecoilTracker().
|
private |
Definition at line 151 of file EveShapeDrawer.h.