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