147 void Front()
override;
156 void Side()
override;
164 void Zoom()
override;
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char x1
Option_t Option_t TPoint TPoint const char y2
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t MoveWindow
Option_t Option_t TPoint TPoint const char y1
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
Sequenceable collection abstract base class.
ClassDefOverride(TView3D, 3)
TView3D()
Default constructor.
void NDCtoWC(const Float_t *pn, Float_t *pw) override
Transfer point from normalized to world coordinates.
void ToggleRulers(TVirtualPad *pad=nullptr) override
Turn on /off 3D axis.
void SetLatitude(Double_t latitude) override
void FindPhiSectors(Int_t iopt, Int_t &kphi, Double_t *aphi, Int_t &iphi1, Int_t &iphi2) override
Find critical PHI sectors.
void ZoomIn() override
Zoom in.
Double_t * GetTN() override
Int_t GetSystem() override
Double_t GetWindowHeight() const override
void ZoomOut() override
Zoom out.
void FindNormal(Double_t x, Double_t y, Double_t z, Double_t &zn) override
Find Z component of NORMAL in normalized coordinates.
TView3D & operator=(const TView3D &)
Assignment operator.
void ExecuteRotateView(Int_t event, Int_t px, Int_t py) override
Execute action corresponding to one event.
void SetPerspective() override
Set perspective option.
Double_t GetDview() const override
Double_t * GetTnorm() override
Double_t GetPsi() override
void SetParallel() override
Set the parallel option (default).
Double_t * GetRmax() override
void DrawOutlineCube(TList *outline, Double_t *rmin, Double_t *rmax) override
Draw the outline of a cube while rotating a 3-d object in the pad.
Int_t GetDistancetoAxis(Int_t axis, Int_t px, Int_t py, Double_t &ratio) override
Return distance to axis from point px,py.
Double_t * GetTback() override
void ResetView(Double_t longitude, Double_t latitude, Double_t psi, Int_t &irep)
Set view direction (in spherical coordinates).
void FrontView(TVirtualPad *pad=nullptr) override
Set to front view.
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) override
Move focus to a different box position and extent in nsteps.
Bool_t IsPerspective() const override
void SetRange(const Double_t *min, const Double_t *max) override
Set Range function.
void Centered3DImages(TVirtualPad *pad=nullptr) override
Move view into the center of the scene.
void NormalWCtoNDC(const Float_t *pw, Float_t *pn) override
Transfer vector of NORMAL from word to normalized coordinates.
void FindScope(Double_t *scale, Double_t *center, Int_t &irep) override
Find centre of a MIN-MAX scope and scale factors.
void GetWindow(Double_t &u0, Double_t &v0, Double_t &du, Double_t &dv) const override
Get current window extent.
void SetView(Double_t longitude, Double_t latitude, Double_t psi, Int_t &irep) override
Set view parameters.
void SetWindow(Double_t u0, Double_t v0, Double_t du, Double_t dv) override
Set viewing window.
void SetAutoRange(Bool_t autorange=kTRUE) override
Double_t * GetRmin() override
void GetRange(Float_t *min, Float_t *max) override
Get Range function.
Bool_t GetAutoRange() override
void SetPsi(Double_t psi) override
void DefinePerspectiveView() override
Define perspective view.
Double_t GetLongitude() override
void MoveViewCommand(Char_t chCode, Int_t count=1) override
void ToggleZoom(TVirtualPad *pad=nullptr) override
Turn on /off the interactive option to Zoom / Move / Change attributes of 3D axis correspond this vie...
~TView3D() override
TView3D default destructor.
Double_t GetExtent() const override
Get maximum view extent.
void AdjustScales(TVirtualPad *pad=nullptr) override
Adjust all sides of view in respect of the biggest one.
void ZoomView(TVirtualPad *pad=nullptr, Double_t zoomFactor=1.25) override
ZOOM this view.
void UnzoomView(TVirtualPad *pad=nullptr, Double_t unZoomFactor=1.25) override
unZOOM this view.
void SetDview(Double_t dview) override
static void AdjustPad(TVirtualPad *pad=nullptr)
Force the current pad to be updated.
void WCtoNDC(const Float_t *pw, Float_t *pn) override
Transfer point from world to normalized coordinates.
Bool_t IsClippedNDC(Double_t *p) const override
Check if point is clipped in perspective view.
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) override
Store axis coordinates in the NDC system.
void PadRange(Int_t rback) override
Set the correct window size for lego and surface plots.
Bool_t IsViewChanged() const override
Double_t GetLatitude() override
Double_t GetDproj() const override
void SetLongitude(Double_t longitude) override
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Execute action corresponding to one event.
void FindThetaSectors(Int_t iopt, Double_t phi, Int_t &kth, Double_t *ath, Int_t &ith1, Int_t &ith2) override
Find critical THETA sectors for given PHI sector.
void TopView(TVirtualPad *pad=nullptr) override
Set to top view.
void SetOutlineToCube() override
This is a function which creates default outline.
TSeqCollection * GetOutline() override
void SetViewChanged(Bool_t flag=kTRUE) override
Double_t GetWindowWidth() const override
void SetSystem(Int_t system) override
TSeqCollection * fOutline
void RotateView(Double_t phi, Double_t theta, TVirtualPad *pad=nullptr) override
API to rotate view and adjust the pad provided it the current one.
void SetDproj(Double_t dproj) override
void ResizePad() override
Recompute window for perspective view.
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) override
Define view direction (in spherical coordinates)
void SideView(TVirtualPad *pad=nullptr) override
Set to side view.
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) override
Define axis vertices.
void SetDefaultWindow() override
Set default viewing window.
TVirtualPad is an abstract base class for the Pad and Canvas classes.