The 3D view class.
This package was originally written by Evgueni Tcherniaev from IHEP/Protvino.
The original Fortran implementation was adapted to HIGZ/PAW by Olivier Couet and Evgueni Tcherniaev.
This View class is a subset of the original system. It has been converted to a C++ class by Rene Brun.
TView3D creates a 3-D view in the current pad. In this 3D view Lego and Surface plots can be drawn and also 3D polyline and markers. Most of the time a TView3D is created automatically when a 3D object needs to be painted in a pad (for instance a Lego or a Surface plot).
In some case a TView3D should be explicitly. For instance to paint a 3D simple scene composed of simple objects like polylines and polymarkers. The following macro gives an example:
Several coordinate systems are available:
Public Types | |
enum | { kPerspective = BIT(6) } |
Public Types inherited from TObject | |
enum | { kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 , kBitMask = 0x00ffffff } |
enum | { kSingleKey = (1ULL << ( 0 )) , kOverwrite = (1ULL << ( 1 )) , kWriteDelete = (1ULL << ( 2 )) } |
enum | EDeprecatedStatusBits { kObjInCanvas = (1ULL << ( 3 )) } |
enum | EStatusBits { kCanDelete = (1ULL << ( 0 )) , kMustCleanup = (1ULL << ( 3 )) , kIsReferenced = (1ULL << ( 4 )) , kHasUUID = (1ULL << ( 5 )) , kCannotPick = (1ULL << ( 6 )) , kNoContextMenu = (1ULL << ( 8 )) , kInvalidObject = (1ULL << ( 13 )) } |
Public Member Functions | |
TView3D () | |
Default constructor. | |
TView3D (Int_t system, const Double_t *rmin, const Double_t *rmax) | |
TView3D constructor. | |
virtual | ~TView3D () |
TView3D default destructor. | |
virtual void | AdjustScales (TVirtualPad *pad=nullptr) |
Adjust all sides of view in respect of the biggest one. | |
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 | Centered () |
virtual void | Centered3DImages (TVirtualPad *pad=nullptr) |
Move view into the center of the scene. | |
ClassDef (TView3D, 3) | |
virtual void | DefinePerspectiveView () |
Define perspective view. | |
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 | 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 | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Execute action corresponding to one event. | |
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 void | FindPhiSectors (Int_t iopt, Int_t &kphi, Double_t *aphi, Int_t &iphi1, Int_t &iphi2) |
Find critical PHI sectors. | |
virtual void | FindScope (Double_t *scale, Double_t *center, Int_t &irep) |
Find centre of a MIN-MAX scope and scale factors. | |
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 | Front () |
virtual void | FrontView (TVirtualPad *pad=nullptr) |
Set to front view. | |
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 Double_t | GetDview () const |
virtual Double_t | GetExtent () const |
Get maximum view extent. | |
virtual Double_t | GetLatitude () |
virtual Double_t | GetLongitude () |
virtual TSeqCollection * | GetOutline () |
virtual Double_t | GetPsi () |
virtual void | GetRange (Double_t *min, Double_t *max) |
Get Range function. | |
virtual void | GetRange (Float_t *min, Float_t *max) |
Get Range function. | |
virtual Double_t * | GetRmax () |
virtual Double_t * | GetRmin () |
virtual Int_t | GetSystem () |
virtual Double_t * | GetTback () |
virtual Double_t * | GetTN () |
virtual Double_t * | GetTnorm () |
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 Double_t | GetWindowWidth () const |
virtual Bool_t | IsClippedNDC (Double_t *p) const |
Check if point is clipped in perspective view. | |
virtual Bool_t | IsPerspective () const |
virtual Bool_t | IsViewChanged () const |
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 | MoveViewCommand (Char_t chCode, Int_t count=1) |
virtual void | MoveWindow (Char_t option) |
Move view window : | |
virtual void | NDCtoWC (const Double_t *pn, Double_t *pw) |
Transfer point from normalized to world coordinates. | |
virtual void | NDCtoWC (const Float_t *pn, Float_t *pw) |
Transfer point from normalized to world coordinates. | |
virtual void | NormalWCtoNDC (const Double_t *pw, Double_t *pn) |
Transfer vector of NORMAL from word to normalized coordinates. | |
virtual void | NormalWCtoNDC (const Float_t *pw, Float_t *pn) |
Transfer vector of NORMAL from word to normalized coordinates. | |
virtual void | PadRange (Int_t rback) |
Set the correct window size for lego and surface plots. | |
virtual void | ResizePad () |
Recompute window for perspective view. | |
virtual void | RotateView (Double_t phi, Double_t theta, TVirtualPad *pad=nullptr) |
API to rotate view and adjust the pad provided it the current one. | |
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) |
Store axis coordinates in the NDC system. | |
virtual void | SetDefaultWindow () |
Set default viewing window. | |
virtual void | SetDproj (Double_t dproj) |
virtual void | SetDview (Double_t dview) |
virtual void | SetLatitude (Double_t latitude) |
virtual void | SetLongitude (Double_t longitude) |
virtual void | SetOutlineToCube () |
This is a function which creates default outline. | |
virtual void | SetParallel () |
Set the parallel option (default). | |
virtual void | SetPerspective () |
Set perspective option. | |
virtual void | SetPsi (Double_t psi) |
virtual void | SetRange (const Double_t *min, const Double_t *max) |
Set Range function. | |
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) |
Set 3-D View range. | |
virtual void | SetSystem (Int_t system) |
virtual void | SetView (Double_t longitude, Double_t latitude, Double_t psi, Int_t &irep) |
Set view parameters. | |
virtual void | SetViewChanged (Bool_t flag=kTRUE) |
virtual void | SetWindow (Double_t u0, Double_t v0, Double_t du, Double_t dv) |
Set viewing window. | |
virtual void | ShowAxis () |
virtual void | Side () |
virtual void | SideView (TVirtualPad *pad=nullptr) |
Set to side view. | |
virtual void | ToggleRulers (TVirtualPad *pad=nullptr) |
Turn on /off 3D axis. | |
virtual void | ToggleZoom (TVirtualPad *pad=nullptr) |
Turn on /off the interactive option to Zoom / Move / Change attributes of 3D axis correspond this view. | |
virtual void | Top () |
virtual void | TopView (TVirtualPad *pad=nullptr) |
Set to top view. | |
virtual void | UnZoom () |
virtual void | UnzoomView (TVirtualPad *pad=nullptr, Double_t unZoomFactor=1.25) |
unZOOM this view. | |
virtual void | WCtoNDC (const Double_t *pw, Double_t *pn) |
Transfer point from world to normalized coordinates. | |
virtual void | WCtoNDC (const Float_t *pw, Float_t *pn) |
Transfer point from world to normalized coordinates. | |
virtual void | Zoom () |
virtual void | ZoomIn () |
Zoom in. | |
virtual void | ZoomMove () |
virtual void | ZoomOut () |
Zoom out. | |
virtual void | ZoomView (TVirtualPad *pad=nullptr, Double_t zoomFactor=1.25) |
ZOOM this view. | |
Public Member Functions inherited from TView | |
TView () | |
virtual | ~TView ()=default |
TClass * | IsA () const override |
void | Streamer (TBuffer &) override |
Stream an object of class TObject. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TObject | |
TObject () | |
TObject constructor. | |
TObject (const TObject &object) | |
TObject copy ctor. | |
virtual | ~TObject () |
TObject destructor. | |
void | AbstractMethod (const char *method) const |
Use this method to implement an "abstract" method that you don't want to leave purely abstract. | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. | |
virtual void | Browse (TBrowser *b) |
Browse object. May be overridden for another default action. | |
ULong_t | CheckedHash () |
Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. | |
virtual void | Clear (Option_t *="") |
virtual TObject * | Clone (const char *newname="") const |
Make a clone of an object using the Streamer facility. | |
virtual Int_t | Compare (const TObject *obj) const |
Compare abstract method. | |
virtual void | Copy (TObject &object) const |
Copy this to obj. | |
virtual void | Delete (Option_t *option="") |
Delete this object. | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Computes distance from point (px,py) to the object. | |
virtual void | Draw (Option_t *option="") |
Default Draw method for all objects. | |
virtual void | DrawClass () const |
Draw class inheritance tree of the class to which this object belongs. | |
virtual TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1) . | |
virtual void | Dump () const |
Dump contents of object on stdout. | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. | |
virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
Execute method on this object with the given parameter string, e.g. | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
Execute method on this object with parameters stored in the TObjArray. | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. | |
virtual TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. | |
virtual const char * | GetIconName () const |
Returns mime type name of object. | |
virtual const char * | GetName () const |
Returns name of object. | |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). | |
virtual Option_t * | GetOption () const |
virtual const char * | GetTitle () const |
Returns title of object. | |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. | |
virtual ULong_t | Hash () const |
Return hash value for this object. | |
Bool_t | HasInconsistentHash () const |
Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e. | |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. | |
virtual Bool_t | InheritsFrom (const char *classname) const |
Returns kTRUE if object inherits from class "classname". | |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
Returns kTRUE if object inherits from TClass cl. | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. | |
void | InvertBit (UInt_t f) |
Bool_t | IsDestructed () const |
IsDestructed. | |
virtual Bool_t | IsEqual (const TObject *obj) const |
Default equal comparison (objects are equal if they have the same address in memory). | |
virtual Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). | |
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
virtual Bool_t | IsSortable () const |
R__ALWAYS_INLINE Bool_t | IsZombie () const |
virtual void | ls (Option_t *option="") const |
The ls function lists the contents of a class on stdout. | |
void | MayNotUse (const char *method) const |
Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). | |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. | |
void | operator delete (void *ptr) |
Operator delete. | |
void | operator delete[] (void *ptr) |
Operator delete []. | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (const TObject &rhs) |
TObject assignment operator. | |
virtual void | Paint (Option_t *option="") |
This method must be overridden if a class wants to paint itself. | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. | |
virtual void | Print (Option_t *option="") const |
This method must be overridden when a class wants to print itself. | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. | |
virtual void | RecursiveRemove (TObject *obj) |
Recursively remove this object from a list. | |
void | ResetBit (UInt_t f) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". | |
void | SetBit (UInt_t f) |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. | |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. | |
R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
virtual void | UseCurrentStyle () |
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. | |
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. | |
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. | |
Public Member Functions inherited from TAttLine | |
TAttLine () | |
AttLine default constructor. | |
TAttLine (Color_t lcolor, Style_t lstyle, Width_t lwidth) | |
AttLine normal constructor. | |
virtual | ~TAttLine () |
AttLine destructor. | |
void | Copy (TAttLine &attline) const |
Copy this line attributes to a new TAttLine. | |
Int_t | DistancetoLine (Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2) |
Compute distance from point px,py to a line. | |
virtual Color_t | GetLineColor () const |
Return the line color. | |
virtual Style_t | GetLineStyle () const |
Return the line style. | |
virtual Width_t | GetLineWidth () const |
Return the line width. | |
virtual void | Modify () |
Change current line attributes if necessary. | |
virtual void | ResetAttLine (Option_t *option="") |
Reset this line attributes to default values. | |
virtual void | SaveLineAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1) |
Save line attributes as C++ statement(s) on output stream out. | |
virtual void | SetLineAttributes () |
Invoke the DialogCanvas Line attributes. | |
virtual void | SetLineColor (Color_t lcolor) |
Set the line color. | |
virtual void | SetLineColorAlpha (Color_t lcolor, Float_t lalpha) |
Set a transparent line color. | |
virtual void | SetLineStyle (Style_t lstyle) |
Set the line style. | |
virtual void | SetLineWidth (Width_t lwidth) |
Set the line width. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static void | AdjustPad (TVirtualPad *pad=nullptr) |
Force the current pad to be updated. | |
Static Public Member Functions inherited from TView | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static TView * | CreateView (Int_t system=1, const Double_t *rmin=nullptr, const Double_t *rmax=nullptr) |
Create a concrete default 3-d view via the plug-in manager. | |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TObject | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static Longptr_t | GetDtorOnly () |
Return destructor only flag. | |
static Bool_t | GetObjectStat () |
Get status of object stat flag. | |
static void | SetDtorOnly (void *obj) |
Set destructor only flag. | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. | |
Static Public Member Functions inherited from TAttLine | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Protected Member Functions | |
TView3D (const TView3D &) | |
Set to TRUE after ExecuteRotateView. | |
TView3D & | operator= (const TView3D &) |
Assignment operator. | |
void | ResetView (Double_t longitude, Double_t latitude, Double_t psi, Int_t &irep) |
Set view direction (in spherical coordinates). | |
Protected Member Functions inherited from TObject | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
Interface to ErrorHandler (protected). | |
void | MakeZombie () |
Protected Attributes | |
Bool_t | fAutoRange |
Bool_t | fChanged |
Bool_t | fDefaultOutline |
Double_t | fDproj |
Double_t | fDview |
Double_t | fLatitude |
Double_t | fLongitude |
TSeqCollection * | fOutline |
Double_t | fPsi |
Double_t | fRmax [3] |
Double_t | fRmin [3] |
Int_t | fSystem |
Double_t | fTB [16] |
Double_t | fTback [16] |
Double_t | fTN [16] |
Double_t | fTnorm [16] |
Double_t | fUpix |
Double_t | fUVcoord [4] |
Double_t | fVpix |
Double_t | fX1 [3] |
Double_t | fX2 [3] |
Double_t | fY1 [3] |
Double_t | fY2 [3] |
Double_t | fZ1 [3] |
Double_t | fZ2 [3] |
Protected Attributes inherited from TAttLine | |
Color_t | fLineColor |
Line color. | |
Style_t | fLineStyle |
Line style. | |
Width_t | fLineWidth |
Line width. | |
Additional Inherited Members | |
Protected Types inherited from TObject | |
enum | { kOnlyPrepStep = (1ULL << ( 3 )) } |
#include <TView3D.h>
|
protected |
TView3D::TView3D | ( | ) |
Default constructor.
Definition at line 109 of file TView3D.cxx.
TView3D constructor.
Creates a 3-D view in the current pad rmin[3], rmax[3] are the limits of the object depending on the selected coordinate system
Before drawing a 3-D object in a pad, a 3-D view must be created. Note that a view is automatically created when drawing legos or surfaces.
The coordinate system is selected via system:
Definition at line 153 of file TView3D.cxx.
|
virtual |
TView3D default destructor.
Definition at line 276 of file TView3D.cxx.
|
static |
Force the current pad to be updated.
Definition at line 1539 of file TView3D.cxx.
|
virtual |
Adjust all sides of view in respect of the biggest one.
Implements TView.
Definition at line 1617 of file TView3D.cxx.
|
virtual |
Define axis vertices.
Input:
ANG - angle between X and Y axis (not used anymore)
Output:
Implements TView.
Definition at line 298 of file TView3D.cxx.
|
virtual |
Implements TView.
Definition at line 1930 of file TView3D.cxx.
|
virtual |
Move view into the center of the scene.
Implements TView.
Definition at line 1635 of file TView3D.cxx.
TView3D::ClassDef | ( | TView3D | , |
3 | |||
) |
|
virtual |
Define perspective view.
Compute transformation matrix from world coordinates to normalized coordinates (-1 to +1)
Input :
Output :
compute tr+rot to get COV in origin, view vector parallel to -Z axis, up vector parallel to Y.
T12 = Tper*R*Trl
Implements TView.
Definition at line 400 of file TView3D.cxx.
|
virtual |
Define view direction (in spherical coordinates)
Compute transformation matrix from world coordinates to normalized coordinates (-1 to +1)
Input:
Implements TView.
Definition at line 514 of file TView3D.cxx.
Draw the outline of a cube while rotating a 3-d object in the pad.
Implements TView.
Definition at line 620 of file TView3D.cxx.
Execute action corresponding to one event.
Implements TView.
Definition at line 628 of file TView3D.cxx.
Execute action corresponding to one event.
This member function is called when a object is clicked with the locator
If Left button clicked in the object area, while the button is kept down the cube representing the surrounding frame for the corresponding new latitude and longitude position is drawn.
Implements TView.
Definition at line 642 of file TView3D.cxx.
Find Z component of NORMAL in normalized coordinates.
Input:
Output:
Implements TView.
Definition at line 786 of file TView3D.cxx.
|
virtual |
Find critical PHI sectors.
Input:
Output:
Implements TView.
Definition at line 806 of file TView3D.cxx.
Find centre of a MIN-MAX scope and scale factors.
Output:
Implements TView.
Definition at line 933 of file TView3D.cxx.
|
virtual |
Find critical THETA sectors for given PHI sector.
Input:
Output:
Implements TView.
Definition at line 872 of file TView3D.cxx.
|
virtual |
Implements TView.
Definition at line 1931 of file TView3D.cxx.
|
virtual |
|
inlinevirtual |
Return distance to axis from point px,py.
Algorithm:
Implements TView.
Definition at line 971 of file TView3D.cxx.
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Check if point is clipped in perspective view.
Implements TView.
Definition at line 1056 of file TView3D.cxx.
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Move focus to a different box position and extent in nsteps.
Perform rotation with dlat,dlong,dpsi at each step.
Implements TView.
Definition at line 1683 of file TView3D.cxx.
Implements TView.
Definition at line 1739 of file TView3D.cxx.
|
virtual |
Move view window :
Implements TView.
Definition at line 1787 of file TView3D.cxx.
Transfer point from normalized to world coordinates.
Input:
Implements TView.
Definition at line 1085 of file TView3D.cxx.
Transfer point from normalized to world coordinates.
Input:
Implements TView.
Definition at line 1070 of file TView3D.cxx.
Transfer vector of NORMAL from word to normalized coordinates.
Input:
Implements TView.
Definition at line 1128 of file TView3D.cxx.
Transfer vector of NORMAL from word to normalized coordinates.
Input:
Implements TView.
Definition at line 1100 of file TView3D.cxx.
Assignment operator.
Definition at line 235 of file TView3D.cxx.
|
virtual |
Set the correct window size for lego and surface plots.
Set the correct window size for lego and surface plots. And draw the background if necessary.
Input parameters:
Implements TView.
Definition at line 1158 of file TView3D.cxx.
|
protected |
Set view direction (in spherical coordinates).
Input
Output:
Errors: error in min-max scope
Definition at line 1437 of file TView3D.cxx.
|
virtual |
Recompute window for perspective view.
Implements TView.
Definition at line 1405 of file TView3D.cxx.
|
virtual |
API to rotate view and adjust the pad provided it the current one.
Implements TView.
Definition at line 1555 of file TView3D.cxx.
|
virtual |
Store axis coordinates in the NDC system.
Implements TView.
Definition at line 1237 of file TView3D.cxx.
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
This is a function which creates default outline.
Implements TView.
Definition at line 1292 of file TView3D.cxx.
|
virtual |
|
virtual |
|
inlinevirtual |
|
virtual |
Set 3-D View range.
Input:
Implements TView.
Definition at line 1350 of file TView3D.cxx.
|
inlinevirtual |
|
virtual |
Implements TView.
Definition at line 1932 of file TView3D.cxx.
|
virtual |
Implements TView.
Definition at line 1933 of file TView3D.cxx.
|
virtual |
|
virtual |
|
virtual |
Turn on /off the interactive option to Zoom / Move / Change attributes of 3D axis correspond this view.
Implements TView.
Definition at line 1609 of file TView3D.cxx.
|
virtual |
Implements TView.
Definition at line 1934 of file TView3D.cxx.
|
virtual |
|
virtual |
Implements TView.
Definition at line 1937 of file TView3D.cxx.
|
virtual |
Transfer point from world to normalized coordinates.
Input:
Implements TView.
Definition at line 1511 of file TView3D.cxx.
Transfer point from world to normalized coordinates.
Input:
Implements TView.
Definition at line 1479 of file TView3D.cxx.
|
virtual |
Implements TView.
Definition at line 1936 of file TView3D.cxx.
|
virtual |
|
virtual |
Implements TView.
Definition at line 1935 of file TView3D.cxx.
|
virtual |
|
virtual |
|
protected |