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