BOSS 7.0.6
BESIII Offline Software System
|
#include <BesTView.h>
Public Types | |
enum | { kPerspective = BIT(6) } |
Public Member Functions | |
BesTView () | |
BesTView (Int_t system) | |
BesTView (const Float_t *rmin, const Float_t *rmax, Int_t system=1) | |
BesTView (const Double_t *rmin, const Double_t *rmax, Int_t system=1) | |
virtual | ~BesTView () |
virtual void | AxisVertex (Double_t ang, Double_t *av, Int_t &ix1, Int_t &ix2, Int_t &iy1, Int_t &iy2, Int_t &iz1, Int_t &iz2) |
virtual void | DefinePerspectiveView () |
virtual void | DefineViewDirection (const Double_t *s, const Double_t *c, Double_t cosphi, Double_t sinphi, Double_t costhe, Double_t sinthe, Double_t cospsi, Double_t sinpsi, Double_t *tnorm, Double_t *tback) |
virtual void | DrawOutlineCube (TList *outline, Double_t *rmin, Double_t *rmax) |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
virtual void | ExecuteRotateView (Int_t event, Int_t px, Int_t py) |
virtual void | FindScope (Double_t *scale, Double_t *center, Int_t &irep) |
virtual Int_t | GetDistancetoAxis (Int_t axis, Int_t px, Int_t py, Double_t &ratio) |
Double_t | GetDview () const |
Double_t | GetDproj () const |
Double_t | GetExtent () const |
Bool_t | GetAutoRange () |
Double_t | GetLatitude () |
Double_t | GetLongitude () |
Double_t | GetPsi () |
virtual void | GetRange (Float_t *min, Float_t *max) |
virtual void | GetRange (Double_t *min, Double_t *max) |
Double_t * | GetRmax () |
Double_t * | GetRmin () |
TSeqCollection * | GetOutline () |
Double_t * | GetTback () |
Double_t * | GetTN () |
Double_t * | GetTnorm () |
Int_t | GetSystem () |
void | GetWindow (Double_t &u0, Double_t &v0, Double_t &du, Double_t &dv) const |
Double_t | GetWindowWidth () const |
Double_t | GetWindowHeight () const |
virtual void | FindNormal (Double_t x, Double_t y, Double_t z, Double_t &zn) |
virtual void | FindPhiSectors (Int_t iopt, Int_t &kphi, Double_t *aphi, Int_t &iphi1, Int_t &iphi2) |
virtual void | FindThetaSectors (Int_t iopt, Double_t phi, Int_t &kth, Double_t *ath, Int_t &ith1, Int_t &ith2) |
Bool_t | IsClippedNDC (Double_t *p) const |
Bool_t | IsPerspective () const |
Bool_t | IsViewChanged () const |
virtual void | NDCtoWC (const Float_t *pn, Float_t *pw) |
virtual void | NDCtoWC (const Double_t *pn, Double_t *pw) |
virtual void | NormalWCtoNDC (const Float_t *pw, Float_t *pn) |
virtual void | NormalWCtoNDC (const Double_t *pw, Double_t *pn) |
virtual void | PadRange (Int_t rback) |
void | ResizePad () |
virtual void | SetAutoRange (Bool_t autorange=kTRUE) |
virtual void | SetAxisNDC (const Double_t *x1, const Double_t *x2, const Double_t *y1, const Double_t *y2, const Double_t *z1, const Double_t *z2) |
void | SetDefaultWindow () |
void | SetDview (Double_t dview) |
void | SetDproj (Double_t dproj) |
void | SetLatitude (Double_t latitude) |
void | SetLongitude (Double_t longitude) |
void | SetPsi (Double_t psi) |
virtual void | SetOutlineToCube () |
virtual void | SetParallel () |
virtual void | SetPerspective () |
virtual void | SetRange (const Double_t *min, const Double_t *max) |
virtual void | SetRange (Double_t x0, Double_t y0, Double_t z0, Double_t x1, Double_t y1, Double_t z1, Int_t flag=0) |
virtual void | SetSystem (Int_t system) |
virtual void | SetView (Double_t longitude, Double_t latitude, Double_t psi, Int_t &irep) |
void | SetViewChanged (Bool_t flag=kTRUE) |
void | SetWindow (Double_t u0, Double_t v0, Double_t du, Double_t dv) |
virtual void | WCtoNDC (const Float_t *pw, Float_t *pn) |
virtual void | WCtoNDC (const Double_t *pw, Double_t *pn) |
void | MoveFocus (Double_t *center, Double_t dx, Double_t dy, Double_t dz, Int_t nsteps=10, Double_t dlong=0, Double_t dlat=0, Double_t dpsi=0) |
virtual void | MoveViewCommand (Char_t chCode, Int_t count=1) |
void | MoveWindow (Char_t option) |
virtual void | AdjustScales (TVirtualPad *pad=0) |
virtual void | Centered3DImages (TVirtualPad *pad=0) |
virtual void | Centered () |
virtual void | FrontView (TVirtualPad *pad=0) |
virtual void | Front () |
virtual void | ZoomIn () |
virtual void | ZoomOut () |
virtual void | ZoomView (TVirtualPad *pad=0, Double_t zoomFactor=1.25) |
virtual void | UnzoomView (TVirtualPad *pad=0, Double_t unZoomFactor=1.25) |
virtual void | RotateView (Double_t phi, Double_t theta, TVirtualPad *pad=0) |
virtual void | SideView (TVirtualPad *pad=0) |
virtual void | Side () |
virtual void | TopView (TVirtualPad *pad=0) |
virtual void | Top () |
virtual void | ToggleRulers (TVirtualPad *pad=0) |
virtual void | ShowAxis () |
virtual void | ToggleZoom (TVirtualPad *pad=0) |
virtual void | ZoomMove () |
virtual void | Zoom () |
virtual void | UnZoom () |
ClassDef (BesTView, 2) | |
Static Public Member Functions | |
static void | AdjustPad (TVirtualPad *pad=0) |
Protected Member Functions | |
BesTView (const BesTView &) | |
Set to TRUE after ExecuteRotateView. | |
BesTView & | operator= (const BesTView &) |
void | ResetView (Double_t longitude, Double_t latitude, Double_t psi, Int_t &irep) |
Protected Attributes | |
Double_t | fLatitude |
Double_t | fLongitude |
Double_t | fPsi |
Double_t | fDview |
Double_t | fDproj |
Double_t | fUpix |
Double_t | fVpix |
Double_t | fTN [16] |
Double_t | fTB [16] |
Double_t | fRmax [3] |
Double_t | fRmin [3] |
Double_t | fUVcoord [4] |
Double_t | fTnorm [16] |
Double_t | fTback [16] |
Double_t | fX1 [3] |
Double_t | fX2 [3] |
Double_t | fY1 [3] |
Double_t | fY2 [3] |
Double_t | fZ1 [3] |
Double_t | fZ2 [3] |
Int_t | fSystem |
TSeqCollection * | fOutline |
Bool_t | fDefaultOutline |
Bool_t | fAutoRange |
Bool_t | fChanged |
Definition at line 31 of file BesTView.h.
anonymous enum |
Enumerator | |
---|---|
kPerspective |
Definition at line 68 of file BesTView.h.
|
protected |
Set to TRUE after ExecuteRotateView.
Definition at line 55 of file BesTView.cxx.
BesTView::BesTView | ( | ) |
Definition at line 39 of file BesTView.cxx.
BesTView::BesTView | ( | Int_t | system | ) |
Definition at line 145 of file BesTView.cxx.
BesTView::BesTView | ( | const Float_t * | rmin, |
const Float_t * | rmax, | ||
Int_t | system = 1 |
||
) |
Definition at line 208 of file BesTView.cxx.
BesTView::BesTView | ( | const Double_t * | rmin, |
const Double_t * | rmax, | ||
Int_t | system = 1 |
||
) |
Definition at line 270 of file BesTView.cxx.
|
virtual |
|
static |
Definition at line 1668 of file BesTView.cxx.
Referenced by AdjustScales(), Centered3DImages(), and BesVisDisplay::DrawView().
|
virtual |
Reimplemented in Bes2DView, and BesView.
Definition at line 1737 of file BesTView.cxx.
Referenced by Bes2DView::AdjustScales(), and BesView::AdjustScales().
|
virtual |
Definition at line 332 of file BesTView.cxx.
|
inlinevirtual |
Reimplemented in Bes2DView, and BesView.
Definition at line 176 of file BesTView.h.
Referenced by Bes2DView::Centered(), and BesView::Centered().
|
virtual |
Definition at line 1754 of file BesTView.cxx.
Referenced by Centered().
BesTView::ClassDef | ( | BesTView | , |
2 | |||
) |
|
virtual |
Definition at line 466 of file BesTView.cxx.
Referenced by DefineViewDirection(), MoveFocus(), MoveWindow(), ResetView(), ResizePad(), ZoomIn(), and ZoomOut().
|
virtual |
Definition at line 600 of file BesTView.cxx.
Referenced by ResetView().
|
virtual |
Definition at line 728 of file BesTView.cxx.
Referenced by SetOutlineToCube().
|
virtual |
Reimplemented in Bes2DView, and BesView.
Definition at line 737 of file BesTView.cxx.
|
virtual |
Definition at line 745 of file BesTView.cxx.
Referenced by ExecuteEvent(), and BesView::ExecuteEvent().
|
virtual |
Definition at line 875 of file BesTView.cxx.
Referenced by FindThetaSectors().
|
virtual |
Definition at line 893 of file BesTView.cxx.
|
virtual |
Definition at line 1031 of file BesTView.cxx.
Referenced by ResetView().
|
virtual |
Definition at line 960 of file BesTView.cxx.
|
inlinevirtual |
Reimplemented in Bes2DView, and BesView.
Definition at line 177 of file BesTView.h.
Referenced by Bes2DView::Top(), and BesView::Top().
|
virtual |
Definition at line 1706 of file BesTView.cxx.
Referenced by Front().
|
inline |
Definition at line 93 of file BesTView.h.
|
virtual |
Definition at line 1053 of file BesTView.cxx.
|
inline |
Definition at line 91 of file BesTView.h.
|
inline |
Definition at line 90 of file BesTView.h.
Double_t BesTView::GetExtent | ( | ) | const |
Definition at line 1124 of file BesTView.cxx.
Referenced by BesView::GetZoomRatio(), SetDefaultWindow(), ZoomIn(), and ZoomOut().
|
inline |
Definition at line 94 of file BesTView.h.
Referenced by BesClient::ExecuteReturn(), BesClient::HandleSliders(), BesClient::RotatePhi(), BesClient::RotatePsi(), BesClient::RotateTheta(), and BesClient::UpdateBesInputFields().
|
inline |
Definition at line 95 of file BesTView.h.
Referenced by BesClient::ExecuteReturn(), BesClient::HandleSliders(), Emc2DCrystal::HasZRSection(), Mdc2DWire::HasZRSection(), Tof2DScin::HasZRSection(), Emc2DCrystal::IsSideVisible(), Muc2DStrip::IsZRVisible(), MucROOTGeo::IsZRVisible(), BesGeoTrack::Paint(), BesPolygon2D::Paint(), BesClient::RotatePhi(), BesClient::RotatePsi(), BesClient::RotateTheta(), and BesClient::UpdateBesInputFields().
|
inline |
Definition at line 101 of file BesTView.h.
|
inline |
Definition at line 96 of file BesTView.h.
Referenced by BesClient::ExecuteReturn(), ExecuteRotateView(), BesClient::HandleSliders(), BesClient::RotatePhi(), BesClient::RotatePsi(), BesClient::RotateTheta(), and BesClient::UpdateBesInputFields().
|
virtual |
|
virtual |
Definition at line 1138 of file BesTView.cxx.
Referenced by AdjustScales(), Centered3DImages(), BesClient::GoHome(), Muc2DStrip::Paint(), BesClient::SetHome(), SetRange(), and ZoomView().
|
inline |
Definition at line 99 of file BesTView.h.
|
inline |
Definition at line 100 of file BesTView.h.
|
inline |
|
inline |
Definition at line 102 of file BesTView.h.
|
inline |
Definition at line 103 of file BesTView.h.
|
inline |
Definition at line 104 of file BesTView.h.
void BesTView::GetWindow | ( | Double_t & | u0, |
Double_t & | v0, | ||
Double_t & | du, | ||
Double_t & | dv | ||
) | const |
|
inline |
Definition at line 108 of file BesTView.h.
|
inline |
Definition at line 107 of file BesTView.h.
Bool_t BesTView::IsClippedNDC | ( | Double_t * | p | ) | const |
Definition at line 1166 of file BesTView.cxx.
|
inline |
Definition at line 113 of file BesTView.h.
Referenced by DefineViewDirection(), ExecuteRotateView(), BesClient::HandleButtons(), MoveFocus(), MoveWindow(), ResetView(), ResizePad(), SetParallel(), SetPerspective(), SetRange(), BesView::SetViewType(), BesClient::UpdateStatus(), WCtoNDC(), ZoomIn(), and ZoomOut().
|
inline |
Definition at line 114 of file BesTView.h.
void BesTView::MoveFocus | ( | Double_t * | center, |
Double_t | dx, | ||
Double_t | dy, | ||
Double_t | dz, | ||
Int_t | nsteps = 10 , |
||
Double_t | dlong = 0 , |
||
Double_t | dlat = 0 , |
||
Double_t | dpsi = 0 |
||
) |
Definition at line 1800 of file BesTView.cxx.
|
virtual |
Definition at line 1855 of file BesTView.cxx.
void BesTView::MoveWindow | ( | Char_t | option | ) |
Definition at line 1901 of file BesTView.cxx.
Referenced by MoveViewCommand().
|
virtual |
Reimplemented in Bes2DView, and BesView.
Definition at line 1193 of file BesTView.cxx.
|
virtual |
Reimplemented in Bes2DView, and BesView.
Definition at line 1177 of file BesTView.cxx.
Referenced by Bes2DView::NDCtoWC(), and BesView::NDCtoWC().
|
virtual |
Definition at line 1239 of file BesTView.cxx.
|
virtual |
Definition at line 1209 of file BesTView.cxx.
Definition at line 93 of file BesTView.cxx.
|
virtual |
Definition at line 1269 of file BesTView.cxx.
|
protected |
Definition at line 1554 of file BesTView.cxx.
Referenced by BesTView(), ExecuteRotateView(), SetParallel(), SetPerspective(), SetRange(), and SetView().
void BesTView::ResizePad | ( | ) |
Definition at line 1534 of file BesTView.cxx.
|
virtual |
Definition at line 1679 of file BesTView.cxx.
Referenced by FrontView(), SideView(), and TopView().
|
inlinevirtual |
Definition at line 121 of file BesTView.h.
|
virtual |
Definition at line 1359 of file BesTView.cxx.
void BesTView::SetDefaultWindow | ( | ) |
Definition at line 1376 of file BesTView.cxx.
Referenced by MoveFocus(), SetPerspective(), and SetRange().
|
inline |
Definition at line 125 of file BesTView.h.
|
inline |
Definition at line 124 of file BesTView.h.
|
inline |
Definition at line 126 of file BesTView.h.
|
inline |
Definition at line 127 of file BesTView.h.
|
virtual |
Definition at line 1397 of file BesTView.cxx.
Referenced by ExecuteRotateView(), and SetRange().
|
virtual |
Definition at line 1433 of file BesTView.cxx.
Referenced by BesVisDisplay::DrawView(), BesClient::HandleButtons(), and BesView::SetViewType().
|
virtual |
Definition at line 1443 of file BesTView.cxx.
Referenced by BesTView(), BesClient::HandleButtons(), and BesView::SetViewType().
|
inline |
Definition at line 128 of file BesTView.h.
|
virtual |
Definition at line 1454 of file BesTView.cxx.
Referenced by AdjustScales(), Centered3DImages(), BesView::DefaultRange(), BesVisDisplay::DrawView(), Bes2DView::Reset(), SetRange(), and ZoomView().
|
virtual |
Definition at line 1470 of file BesTView.cxx.
|
inlinevirtual |
Definition at line 134 of file BesTView.h.
|
virtual |
Definition at line 1526 of file BesTView.cxx.
Referenced by BesVisDisplay::DrawView(), BesClient::ExecuteReturn(), ExecuteRotateView(), BesClient::HandleButtons(), BesClient::HandleSliders(), BesClient::RotatePhi(), BesClient::RotatePsi(), BesClient::RotateTheta(), RotateView(), BesView::SetViewType(), BesView::Side3D(), and BesView::Top3D().
|
inline |
Definition at line 136 of file BesTView.h.
void BesTView::SetWindow | ( | Double_t | u0, |
Double_t | v0, | ||
Double_t | du, | ||
Double_t | dv | ||
) |
Definition at line 1516 of file BesTView.cxx.
Referenced by ResizePad(), and SetDefaultWindow().
|
inlinevirtual |
Definition at line 178 of file BesTView.h.
Referenced by BesGeometry::Draw2DXY(), and BesGeometry::Draw2DZR().
|
inlinevirtual |
Reimplemented in Bes2DView, and BesView.
Definition at line 179 of file BesTView.h.
Referenced by Bes2DView::Side(), and BesView::Side().
|
virtual |
Definition at line 1700 of file BesTView.cxx.
Referenced by Side().
|
virtual |
Definition at line 1718 of file BesTView.cxx.
Referenced by ShowAxis().
|
virtual |
Definition at line 1727 of file BesTView.cxx.
Referenced by ZoomMove().
|
inlinevirtual |
Reimplemented in Bes2DView, and BesView.
Definition at line 180 of file BesTView.h.
Referenced by Bes2DView::Front(), and BesView::Front().
|
virtual |
Definition at line 1712 of file BesTView.cxx.
Referenced by Top().
|
inlinevirtual |
|
virtual |
Definition at line 1770 of file BesTView.cxx.
Referenced by MoveViewCommand(), Bes2DView::UnZoom(), UnZoom(), and BesView::ZoomOut().
|
virtual |
Reimplemented in Bes2DView, and BesView.
Definition at line 1638 of file BesTView.cxx.
|
virtual |
Reimplemented in Bes2DView, and BesView.
Definition at line 1607 of file BesTView.cxx.
Referenced by Bes2DView::NDCtoWC(), BesView::NDCtoWC(), Bes2DView::WCtoNDC(), and BesView::WCtoNDC().
|
inlinevirtual |
|
virtual |
Reimplemented in BesView.
Definition at line 1939 of file BesTView.cxx.
Referenced by MoveViewCommand().
|
inlinevirtual |
Reimplemented in Bes2DView, and BesView.
Definition at line 181 of file BesTView.h.
Referenced by Bes2DView::ZoomMove(), and BesView::ZoomMove().
|
virtual |
Reimplemented in BesView.
Definition at line 1958 of file BesTView.cxx.
Referenced by MoveViewCommand().
|
virtual |
Definition at line 1778 of file BesTView.cxx.
Referenced by BesVisDisplay::DrawView(), MoveViewCommand(), Bes2DView::Reset(), BesView::SetZoomRatio(), UnzoomView(), Bes2DView::Zoom(), Zoom(), and BesView::ZoomIn().
|
protected |
Definition at line 57 of file BesTView.h.
Referenced by BesTView(), GetAutoRange(), operator=(), and SetAutoRange().
|
protected |
Definition at line 58 of file BesTView.h.
Referenced by BesTView(), ExecuteRotateView(), IsViewChanged(), operator=(), and SetViewChanged().
|
protected |
Definition at line 56 of file BesTView.h.
Referenced by BesTView(), operator=(), SetOutlineToCube(), and SetRange().
|
protected |
Definition at line 38 of file BesTView.h.
Referenced by DefinePerspectiveView(), GetDproj(), operator=(), SetDefaultWindow(), and SetDproj().
|
protected |
Definition at line 37 of file BesTView.h.
Referenced by DefinePerspectiveView(), GetDview(), operator=(), SetDefaultWindow(), SetDview(), ZoomIn(), and ZoomOut().
|
protected |
Definition at line 34 of file BesTView.h.
Referenced by BesTView(), DefinePerspectiveView(), GetLatitude(), MoveFocus(), operator=(), ResetView(), SetLatitude(), SetParallel(), SetPerspective(), and SetRange().
|
protected |
Definition at line 35 of file BesTView.h.
Referenced by BesTView(), DefinePerspectiveView(), GetLongitude(), MoveFocus(), operator=(), ResetView(), SetLongitude(), SetParallel(), SetPerspective(), and SetRange().
|
protected |
Definition at line 55 of file BesTView.h.
Referenced by BesTView(), ExecuteRotateView(), GetOutline(), operator=(), SetOutlineToCube(), and ~BesTView().
|
protected |
Definition at line 36 of file BesTView.h.
Referenced by BesTView(), DefinePerspectiveView(), GetPsi(), MoveFocus(), operator=(), ResetView(), SetParallel(), SetPerspective(), SetPsi(), and SetRange().
|
protected |
Definition at line 43 of file BesTView.h.
Referenced by AxisVertex(), BesTView(), DefinePerspectiveView(), FindScope(), GetExtent(), GetRange(), GetRmax(), MoveFocus(), operator=(), PadRange(), SetOutlineToCube(), and SetRange().
|
protected |
Definition at line 44 of file BesTView.h.
Referenced by AxisVertex(), BesTView(), DefinePerspectiveView(), FindScope(), GetExtent(), GetRange(), GetRmin(), MoveFocus(), operator=(), PadRange(), SetOutlineToCube(), and SetRange().
|
protected |
Definition at line 54 of file BesTView.h.
Referenced by BesTView(), GetDistancetoAxis(), GetSystem(), operator=(), and SetSystem().
|
protected |
Definition at line 42 of file BesTView.h.
Referenced by BesTView(), operator=(), and ResetView().
|
protected |
Definition at line 47 of file BesTView.h.
Referenced by BesTView(), GetTback(), NDCtoWC(), operator=(), and ResetView().
|
protected |
Definition at line 41 of file BesTView.h.
Referenced by AxisVertex(), BesTView(), FindNormal(), FindPhiSectors(), FindThetaSectors(), GetTN(), operator=(), and ResetView().
|
protected |
Definition at line 46 of file BesTView.h.
Referenced by BesTView(), DefinePerspectiveView(), GetTnorm(), NormalWCtoNDC(), operator=(), PadRange(), ResetView(), and WCtoNDC().
|
protected |
Definition at line 39 of file BesTView.h.
Referenced by operator=(), ResizePad(), and SetDefaultWindow().
|
protected |
Definition at line 45 of file BesTView.h.
Referenced by BesTView(), DefinePerspectiveView(), GetWindow(), GetWindowHeight(), GetWindowWidth(), MoveWindow(), operator=(), ResizePad(), and SetWindow().
|
protected |
Definition at line 40 of file BesTView.h.
Referenced by operator=(), ResizePad(), and SetDefaultWindow().
|
protected |
Definition at line 48 of file BesTView.h.
Referenced by BesTView(), GetDistancetoAxis(), operator=(), and SetAxisNDC().
|
protected |
Definition at line 49 of file BesTView.h.
Referenced by BesTView(), GetDistancetoAxis(), operator=(), and SetAxisNDC().
|
protected |
Definition at line 50 of file BesTView.h.
Referenced by BesTView(), GetDistancetoAxis(), operator=(), and SetAxisNDC().
|
protected |
Definition at line 51 of file BesTView.h.
Referenced by BesTView(), GetDistancetoAxis(), operator=(), and SetAxisNDC().
|
protected |
Definition at line 52 of file BesTView.h.
Referenced by BesTView(), GetDistancetoAxis(), operator=(), and SetAxisNDC().
|
protected |
Definition at line 53 of file BesTView.h.
Referenced by BesTView(), GetDistancetoAxis(), operator=(), and SetAxisNDC().