LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Member Functions | |
StandardDrawer (const fhicl::ParameterSet &pset) | |
virtual void | DetOutline3D (evdb::View3D *view) override |
Protected Member Functions | |
void | DrawBoxBoundedGeoOutline (evdb::View3D *view, geo::BoxBoundedGeo const &bb, Color_t color, Width_t width, Style_t style) const |
Draw the outline of an object bounded by a box. More... | |
void | DrawTPCoutline (evdb::View3D *view, geo::TPCGeo const &TPC, Color_t color, Width_t width, Style_t style) const |
Draw the outline of the TPC volume. More... | |
void | DrawActiveTPCoutline (evdb::View3D *view, geo::TPCGeo const &TPC, Color_t color, Width_t width, Style_t style) const |
Draw the outline of the TPC active volume. More... | |
void | DrawRectangularBox (evdb::View3D *view, double const *coordsLo, double const *coordsHi, int color=kGray, int width=1, int style=1) const |
void | DrawGrids (evdb::View3D *view, double const *coordsLo, double const *coordsHi, int color=kGray, int width=1, int style=1) const |
void | DrawAxes (evdb::View3D *view, double const *coordsLo, double const *coordsHi, int color=kGray, int width=1, int style=1) const |
Private Member Functions | |
void | configure (const fhicl::ParameterSet &pset) |
Private Attributes | |
bool | fDrawGrid |
true to draw backing grid More... | |
bool | fDrawAxes |
true to draw coordinate axes More... | |
bool | fDrawActive |
true to outline TPC sensitive volumes More... | |
Definition at line 25 of file StandardDrawer_tool.cc.
|
explicit |
Definition at line 85 of file StandardDrawer_tool.cc.
References configure().
|
private |
Definition at line 90 of file StandardDrawer_tool.cc.
References fDrawActive, fDrawAxes, fDrawGrid, and fhicl::ParameterSet::get().
Referenced by DrawTPCoutline(), and StandardDrawer().
|
overridevirtual |
Implements evd_tool::IExperimentDrawer.
Definition at line 101 of file StandardDrawer_tool.cc.
References DrawActiveTPCoutline(), DrawAxes(), DrawBoxBoundedGeoOutline(), DrawGrids(), DrawTPCoutline(), geo::BoxBoundedGeo::ExtendToInclude(), fDrawActive, fDrawAxes, and fDrawGrid.
|
protected |
Draw the outline of the TPC active volume.
Definition at line 161 of file StandardDrawer_tool.cc.
References geo::TPCGeo::ActiveHalfHeight(), geo::TPCGeo::ActiveHalfLength(), geo::TPCGeo::ActiveHalfWidth(), color(), DrawBoxBoundedGeoOutline(), and geo::TPCGeo::GetActiveVolumeCenter().
Referenced by DetOutline3D(), and DrawTPCoutline().
|
protected |
Definition at line 265 of file StandardDrawer_tool.cc.
References util::abs(), evdb::View3D::AddPolyLine3D(), DEFINE_ART_CLASS_TOOL, and xaxis.
Referenced by DetOutline3D(), and DrawTPCoutline().
|
protected |
Draw the outline of an object bounded by a box.
Definition at line 148 of file StandardDrawer_tool.cc.
References color(), DrawRectangularBox(), geo::BoxBoundedGeo::MaxX(), geo::BoxBoundedGeo::MaxY(), geo::BoxBoundedGeo::MaxZ(), geo::BoxBoundedGeo::MinX(), geo::BoxBoundedGeo::MinY(), and geo::BoxBoundedGeo::MinZ().
Referenced by DetOutline3D(), DrawActiveTPCoutline(), and DrawTPCoutline().
|
protected |
Definition at line 218 of file StandardDrawer_tool.cc.
References util::abs(), evdb::View3D::AddPolyLine3D(), x, y, and z.
Referenced by DetOutline3D(), and DrawTPCoutline().
|
protected |
Definition at line 180 of file StandardDrawer_tool.cc.
References evdb::View3D::AddPolyLine3D().
Referenced by DrawBoxBoundedGeoOutline(), and DrawTPCoutline().
|
inlineprotected |
Draw the outline of the TPC volume.
Definition at line 40 of file StandardDrawer_tool.cc.
References configure(), DrawActiveTPCoutline(), DrawAxes(), DrawBoxBoundedGeoOutline(), DrawGrids(), and DrawRectangularBox().
Referenced by DetOutline3D().
|
private |
true to outline TPC sensitive volumes
Definition at line 80 of file StandardDrawer_tool.cc.
Referenced by configure(), and DetOutline3D().
|
private |
true to draw coordinate axes
Definition at line 79 of file StandardDrawer_tool.cc.
Referenced by configure(), and DetOutline3D().
|
private |
true to draw backing grid
Definition at line 78 of file StandardDrawer_tool.cc.
Referenced by configure(), and DetOutline3D().