![]() |
ROOT 6.14/05 Reference Guide |
Implements VirtualViewer3D interface and fills the base-class visualization structures from pad contents.
Definition at line 25 of file TGLScenePad.h.
Public Member Functions | |
TGLScenePad (TVirtualPad *pad) | |
cache logicals during scene rebuilds More... | |
virtual | ~TGLScenePad () |
virtual void | AddCompositeOp (UInt_t operation) |
Add composite operation used to combine objects added via AddObject TVirtualViewer3D interface overload - see base/src/TVirtualViewer3D.cxx for description of viewer architecture. More... | |
void | AddHistoPhysical (TGLLogicalShape *log, const Float_t *histColor=0) |
Scale and rotate a histo object to mimic placement in canvas. More... | |
virtual Int_t | AddObject (const TBuffer3D &buffer, Bool_t *addChildren=0) |
Add an object to the viewer, using internal physical IDs TVirtualViewer3D interface overload - see base/src/TVirtualViewer3D.cxx for description of viewer architecture. More... | |
virtual Int_t | AddObject (UInt_t physicalID, const TBuffer3D &buffer, Bool_t *addChildren=0) |
Add an object to the scene, using an external physical ID TVirtualViewer3D interface overload - see base/src/TVirtualViewer3D.cxx for description of viewer architecture. More... | |
virtual void | BeginScene () |
Start building of the scene. More... | |
virtual Bool_t | BuildingScene () const |
virtual Bool_t | CanLoopOnPrimitives () const |
virtual void | CloseComposite () |
Close composite container TVirtualViewer3D interface overload - see base/src/TVirtualViewer3D.cxx for description of viewer architecture. More... | |
virtual Int_t | DistancetoPrimitive (Int_t, Int_t) |
Computes distance from point (px,py) to the object. More... | |
virtual void | EndScene () |
End building of the scene. More... | |
virtual void | ExecuteEvent (Int_t, Int_t, Int_t) |
Execute action corresponding to an event at (px,py). More... | |
TVirtualPad * | GetPad () const |
Bool_t | GetSmartRefresh () const |
virtual void | ObjectPaint (TObject *obj, Option_t *opt="") |
Override of virtual TVirtualViewer3D::ObjectPaint(). More... | |
virtual Bool_t | OpenComposite (const TBuffer3D &buffer, Bool_t *addChildren=0) |
Open new composite container. More... | |
virtual void | PadPaint (TVirtualPad *pad) |
Entry point for updating scene contents via VirtualViewer3D interface. More... | |
virtual void | PadPaintFromViewer (TGLViewer *viewer) |
Entry point for requesting update of scene's contents from gl-viewer. More... | |
virtual Bool_t | PreferLocalFrame () const |
void | SetPad (TVirtualPad *p) |
void | SetSmartRefresh (Bool_t smart_ref) |
void | SubPadPaint (TVirtualPad *pad) |
Iterate over pad-primitives and import them. More... | |
![]() | |
virtual | ~TVirtualViewer3D () |
virtual void | DrawViewer () |
virtual void | PrintObjects () |
virtual void | ResetCameras () |
virtual void | ResetCamerasAfterNextUpdate () |
virtual TObject * | SelectObject (Int_t, Int_t) |
![]() | |
TObject () | |
TObject constructor. More... | |
TObject (const TObject &object) | |
TObject copy ctor. More... | |
virtual | ~TObject () |
TObject destructor. More... | |
void | AbstractMethod (const char *method) const |
Use this method to implement an "abstract" method that you don't want to leave purely abstract. More... | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. More... | |
virtual void | Browse (TBrowser *b) |
Browse object. May be overridden for another default action. More... | |
ULong_t | CheckedHash () |
Checked and record whether for this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. More... | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. More... | |
virtual void | Clear (Option_t *="") |
virtual TObject * | Clone (const char *newname="") const |
Make a clone of an object using the Streamer facility. More... | |
virtual Int_t | Compare (const TObject *obj) const |
Compare abstract method. More... | |
virtual void | Copy (TObject &object) const |
Copy this to obj. More... | |
virtual void | Delete (Option_t *option="") |
Delete this object. More... | |
virtual void | Draw (Option_t *option="") |
Default Draw method for all objects. More... | |
virtual void | DrawClass () const |
Draw class inheritance tree of the class to which this object belongs. More... | |
virtual TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current selected pad for instance with: gROOT->SetSelectedPad(gPad) . More... | |
virtual void | Dump () const |
Dump contents of object on stdout. More... | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. More... | |
virtual void | Execute (const char *method, const char *params, Int_t *error=0) |
Execute method on this object with the given parameter string, e.g. More... | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
Execute method on this object with parameters stored in the TObjArray. More... | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. More... | |
virtual TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. More... | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. More... | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. More... | |
virtual const char * | GetIconName () const |
Returns mime type name of object. More... | |
virtual const char * | GetName () const |
Returns name of object. More... | |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). More... | |
virtual Option_t * | GetOption () const |
virtual const char * | GetTitle () const |
Returns title of object. More... | |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. More... | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. More... | |
virtual ULong_t | Hash () const |
Return hash value for this object. More... | |
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. More... | |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. More... | |
virtual Bool_t | InheritsFrom (const char *classname) const |
Returns kTRUE if object inherits from class "classname". More... | |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
Returns kTRUE if object inherits from TClass cl. More... | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. More... | |
void | InvertBit (UInt_t f) |
virtual Bool_t | IsEqual (const TObject *obj) const |
Default equal comparison (objects are equal if they have the same address in memory). More... | |
virtual Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More... | |
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. More... | |
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). More... | |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. More... | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. More... | |
void | operator delete (void *ptr) |
Operator delete. More... | |
void | operator delete[] (void *ptr) |
Operator delete []. More... | |
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. More... | |
virtual void | Paint (Option_t *option="") |
This method must be overridden if a class wants to paint itself. More... | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. More... | |
virtual void | Print (Option_t *option="") const |
This method must be overridden when a class wants to print itself. More... | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. More... | |
virtual void | RecursiveRemove (TObject *obj) |
Recursively remove this object from a list. More... | |
void | ResetBit (UInt_t f) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. More... | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". More... | |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. More... | |
void | SetBit (UInt_t f) |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. More... | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. More... | |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. More... | |
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. More... | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. More... | |
![]() | |
TGLScene () | |
virtual | ~TGLScene () |
Destroy scene objects. More... | |
virtual void | AdoptLogical (TGLLogicalShape &shape) |
Adopt dynamically created logical 'shape' - add to internal map and take responsibility for deleting. More... | |
virtual void | AdoptPhysical (TGLPhysicalShape &shape) |
Adopt dynamically created physical 'shape' - add to internal map and take responsibility for deleting. More... | |
UInt_t | BeginSmartRefresh () |
Moves logicals that support smart-refresh to intermediate cache. More... | |
virtual Bool_t | BeginUpdate () |
Put scene in update mode, return true if lock acquired. More... | |
virtual void | CalcBoundingBox () const |
Encapsulates all physical shapes bounding box with axes aligned box. More... | |
virtual TSceneInfo * | CreateSceneInfo (TGLViewerBase *view) |
Create a scene-info instance appropriate for this scene class. More... | |
virtual Bool_t | DestroyLogical (TObject *logid, Bool_t mustFind=kTRUE) |
Destroy logical shape defined by unique 'ID'. More... | |
virtual Int_t | DestroyLogicals () |
Destroy all logical shapes in scene. More... | |
virtual Bool_t | DestroyPhysical (UInt_t phid) |
Destroy physical shape defined by unique 'ID'. More... | |
virtual Int_t | DestroyPhysicals () |
Destroy physical shapes. More... | |
void | DumpMapSizes () const |
Print sizes of logical and physical-shape maps. More... | |
void | EndSmartRefresh () |
Wipes logicals in refresh-cache. More... | |
virtual void | EndUpdate (Bool_t minorChange=kTRUE, Bool_t sceneChanged=kTRUE, Bool_t updateViewers=kTRUE) |
Exit scene update mode. More... | |
virtual TGLLogicalShape * | FindLogical (TObject *logid) const |
Find and return logical shape identified by unique logid. More... | |
TGLLogicalShape * | FindLogicalSmartRefresh (TObject *ID) const |
Find and return logical shape identified by unique 'ID' in refresh-cache. More... | |
virtual TGLPhysicalShape * | FindPhysical (UInt_t phid) const |
Find and return physical shape identified by unique 'ID'. More... | |
TGLContextIdentity * | GetGLCtxIdentity () const |
virtual UInt_t | GetMaxPhysicalID () |
Returns the maximum used physical id. More... | |
virtual void | LodifySceneInfo (TGLRnrCtx &rnrCtx) |
Setup LOD-dependant values in scene-info. More... | |
virtual void | PostDraw (TGLRnrCtx &rnrCtx) |
Called after the rendering is finished. More... | |
virtual void | PreDraw (TGLRnrCtx &rnrCtx) |
Initialize rendering. More... | |
virtual void | RebuildSceneInfo (TGLRnrCtx &rnrCtx) |
Major change in scene, need to rebuild all-element draw-vector and sort it. More... | |
LogicalShapeMap_t & | RefLogicalShapes () |
virtual void | RenderAllPasses (TGLRnrCtx &rnrCtx, DrawElementPtrVec_t &elVec, Bool_t check_timeout) |
Do full rendering of scene. More... | |
virtual void | RenderElements (TGLRnrCtx &rnrCtx, DrawElementPtrVec_t &elVec, Bool_t check_timeout, const TGLPlaneSet_t *clipPlanes=0) |
Render DrawElements in elementVec with given timeout. More... | |
virtual void | RenderHighlight (TGLRnrCtx &rnrCtx, DrawElementPtrVec_t &elVec) |
virtual void | RenderOpaque (TGLRnrCtx &rnrCtx) |
Render opaque elements. More... | |
virtual void | RenderSelOpaque (TGLRnrCtx &rnrCtx) |
Render selected opaque elements. More... | |
virtual void | RenderSelOpaqueForHighlight (TGLRnrCtx &rnrCtx) |
Render selected opaque elements for highlight. More... | |
virtual void | RenderSelTransp (TGLRnrCtx &rnrCtx) |
Render selected transparent elements. More... | |
virtual void | RenderSelTranspForHighlight (TGLRnrCtx &rnrCtx) |
Render selected transparent elements for highlight. More... | |
virtual void | RenderTransp (TGLRnrCtx &rnrCtx) |
Render transparent elements. More... | |
virtual Bool_t | ResolveSelectRecord (TGLSelectRecord &rec, Int_t curIdx) |
Process selection record rec. More... | |
UInt_t | SizeOfScene () const |
Return memory cost of scene. More... | |
virtual void | UpdateLogical (TObject *logid) |
Drop display-lists for the logical (assume TGLObject/direct rendering). More... | |
virtual void | UpdatePhysical (UInt_t phid, Double_t *trans, UChar_t *col) |
Reposition/recolor physical shape. More... | |
virtual void | UpdatePhysical (UInt_t phid, Double_t *trans, Color_t cidx=-1, UChar_t transp=0) |
Reposition/recolor physical shape. More... | |
virtual void | UpdatePhysioLogical (TObject *logid, Double_t *trans, UChar_t *col) |
Reposition/recolor physical for given logical (assume TGLObject and a single physical). More... | |
virtual void | UpdatePhysioLogical (TObject *logid, Double_t *trans, Color_t cidx, UChar_t transp) |
Reposition/recolor physical for given logical (assume TGLObject and a single physical). More... | |
virtual void | UpdateSceneInfo (TGLRnrCtx &rnrCtx) |
Fill scene-info with information needed for rendering, take into account the render-context (viewer state, camera, clipping). More... | |
![]() | |
TGLSceneBase () | |
virtual | ~TGLSceneBase () |
Destructor. More... | |
void | AddViewer (TGLViewerBase *viewer) |
Add viewer to the list. More... | |
const TGLBoundingBox & | BoundingBox () const |
TGLClip * | Clip () const |
Bool_t | GetAutoDestruct () const |
UInt_t | GetMinorStamp () const |
virtual const char * | GetName () const |
Bool_t | GetSelectable () const |
UInt_t | GetTimeStamp () const |
virtual const char * | GetTitle () const |
void | IncMinorStamp () |
void | IncTimeStamp () |
void | InvalidateBoundingBox () |
virtual const char * | LockIdStr () const |
Name printed on locking info messages. More... | |
Short_t | LOD () const |
virtual void | PostRender (TGLRnrCtx &rnrCtx) |
Perform post-render clean-up. More... | |
virtual void | PreRender (TGLRnrCtx &rnrCtx) |
Perform pre-render initialization - fill rnrCtx with values stored during PreDraw(). More... | |
void | RemoveViewer (TGLViewerBase *viewer) |
Remove viewer from the list. More... | |
virtual void | Render (TGLRnrCtx &rnrCtx) |
This function does rendering of all stages, the shapes are rendered in the following order: opaque, transparent, selected-opaque, selected-transparent. More... | |
void | SetAutoDestruct (Bool_t a) |
void | SetClip (TGLClip *p) |
void | SetLOD (Short_t lod) |
virtual void | SetName (const char *name) |
virtual void | SetNameTitle (const char *name, const char *title) |
void | SetSelectable (Bool_t a) |
void | SetStyle (Short_t st) |
virtual void | SetTitle (const char *title) |
Short_t | Style () const |
void | TagViewersChanged () |
Tag all viewers as changed. More... | |
![]() | |
TGLLockable () | |
virtual | ~TGLLockable () |
ELock | CurrentLock () const |
Bool_t | IsDrawOrSelectLock () const |
Bool_t | IsLocked () const |
Bool_t | ReleaseLock (ELock lock) const |
Release current lock, make sure it the same as the 'lock' argument. More... | |
Bool_t | TakeLock (ELock lock) const |
Lock the object in mode 'lock'. More... | |
Protected Types | |
typedef std::pair< UInt_t, RootCsg::TBaseMesh * > | CSPart_t |
![]() | |
typedef std::list< TGLViewerBase * >::iterator | ViewerList_i |
typedef std::list< TGLViewerBase * > | ViewerList_t |
Protected Member Functions | |
TGLLogicalShape * | AttemptDirectRenderer (TObject *id) |
Try to construct an appropriate logical-shape sub-class based on id'class, following convention that SomeClassGL is a suitable renderer for class SomeClass. More... | |
RootCsg::TBaseMesh * | BuildComposite () |
Build and return composite shape mesh. More... | |
void | ComposePolymarker (const TList *padPrimitives) |
TGLLogicalShape * | CreateNewLogical (const TBuffer3D &buffer) const |
Create and return a new TGLLogicalShape from the supplied buffer. More... | |
TGLPhysicalShape * | CreateNewPhysical (UInt_t physicalID, const TBuffer3D &buffer, const TGLLogicalShape &logical) const |
Create and return a new TGLPhysicalShape with id 'ID', using 'buffer' placement information (translation etc), and bound to suppled 'logical'. More... | |
Int_t | ValidateObjectBuffer (const TBuffer3D &buffer, Bool_t includeRaw) const |
Validate if the passed 'buffer' contains all sections we require to add object. More... | |
![]() | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
Interface to ErrorHandler (protected). More... | |
void | MakeZombie () |
![]() | |
virtual void | DestroyPhysicalInternal (PhysicalShapeMapIt_t pit) |
Virtual function to destroy a physical. More... | |
void | ReleaseGLCtxIdentity () |
Release all GL resources for current context identity. More... | |
Private Member Functions | |
TGLScenePad (const TGLScenePad &) | |
TGLScenePad & | operator= (const TGLScenePad &) |
Additional Inherited Members | |
![]() | |
enum | { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kInconsistent = 0x08000000, kBitMask = 0x00ffffff } |
enum | { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) } |
enum | EDeprecatedStatusBits { kObjInCanvas = BIT(3) } |
enum | EStatusBits { kCanDelete = BIT(0), kMustCleanup = BIT(3), kIsReferenced = BIT(4), kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13) } |
![]() | |
typedef std::vector< DrawElement_t * >::iterator | DrawElementPtrVec_i |
typedef std::vector< DrawElement_t * > | DrawElementPtrVec_t |
typedef std::vector< DrawElement_t >::iterator | DrawElementVec_i |
typedef std::vector< DrawElement_t > | DrawElementVec_t |
typedef std::map< TObject *, TGLLogicalShape * > | LogicalShapeMap_t |
typedef LogicalShapeMap_t::const_iterator | LogicalShapeMapCIt_t |
typedef LogicalShapeMap_t::iterator | LogicalShapeMapIt_t |
typedef LogicalShapeMap_t::value_type | LogicalShapeMapValueType_t |
typedef std::map< UInt_t, TGLPhysicalShape * > | PhysicalShapeMap_t |
typedef PhysicalShapeMap_t::const_iterator | PhysicalShapeMapCIt_t |
typedef PhysicalShapeMap_t::iterator | PhysicalShapeMapIt_t |
typedef PhysicalShapeMap_t::value_type | PhysicalShapeMapValueType_t |
typedef ShapeVec_t::iterator | ShapeVec_i |
typedef std::vector< const TGLPhysicalShape * > | ShapeVec_t |
![]() | |
enum | ELock { kUnlocked, kDrawLock, kSelectLock, kModifyLock } |
![]() | |
static TVirtualViewer3D * | Viewer3D (TVirtualPad *pad=0, Option_t *type="") |
Create a Viewer 3D of specified type. More... | |
![]() | |
static Long_t | GetDtorOnly () |
Return destructor only flag. More... | |
static Bool_t | GetObjectStat () |
Get status of object stat flag. More... | |
static void | SetDtorOnly (void *obj) |
Set destructor only flag. More... | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. More... | |
![]() | |
static Bool_t | IsOutside (const TGLBoundingBox &box, const TGLPlaneSet_t &planes) |
Check if box is outside of all planes. More... | |
static void | RGBAFromColorIdx (Float_t rgba[4], Color_t ci, Char_t transp=0) |
Fill rgba color from ROOT color-index ci and transparency (0->100). More... | |
![]() | |
static const char * | LockName (ELock lock) |
Return name-string for given lock-type. More... | |
static Bool_t | LockValid (ELock lock) |
Test if lock is a valid type to take/release. More... | |
#include <TGLScenePad.h>
|
protected |
Definition at line 47 of file TGLScenePad.h.
|
private |
TGLScenePad::TGLScenePad | ( | TVirtualPad * | pad | ) |
cache logicals during scene rebuilds
Definition at line 51 of file TGLScenePad.cxx.
|
inlinevirtual |
Definition at line 59 of file TGLScenePad.h.
Add composite operation used to combine objects added via AddObject TVirtualViewer3D interface overload - see base/src/TVirtualViewer3D.cxx for description of viewer architecture.
Implements TVirtualViewer3D.
Definition at line 528 of file TGLScenePad.cxx.
void TGLScenePad::AddHistoPhysical | ( | TGLLogicalShape * | log, |
const Float_t * | histColor = 0 |
||
) |
Scale and rotate a histo object to mimic placement in canvas.
Definition at line 75 of file TGLScenePad.cxx.
Add an object to the viewer, using internal physical IDs TVirtualViewer3D interface overload - see base/src/TVirtualViewer3D.cxx for description of viewer architecture.
Implements TVirtualViewer3D.
Definition at line 329 of file TGLScenePad.cxx.
|
virtual |
Add an object to the scene, using an external physical ID TVirtualViewer3D interface overload - see base/src/TVirtualViewer3D.cxx for description of viewer architecture.
Implements TVirtualViewer3D.
Definition at line 342 of file TGLScenePad.cxx.
|
protected |
Try to construct an appropriate logical-shape sub-class based on id'class, following convention that SomeClassGL is a suitable renderer for class SomeClass.
Definition at line 773 of file TGLScenePad.cxx.
|
virtual |
Start building of the scene.
Old contents is dropped, unless smart-refresh is in active. Then the object supporting it are kept in a cache and possibly reused.
TVirtualViewer3D interface overload - see base/src/TVirtualViewer3D.cxx for description of viewer architecture.
Implements TVirtualViewer3D.
Definition at line 259 of file TGLScenePad.cxx.
|
protected |
Build and return composite shape mesh.
Definition at line 744 of file TGLScenePad.cxx.
|
inlinevirtual |
Implements TVirtualViewer3D.
Definition at line 88 of file TGLScenePad.h.
|
inlinevirtual |
Reimplemented from TVirtualViewer3D.
Definition at line 77 of file TGLScenePad.h.
|
virtual |
Close composite container TVirtualViewer3D interface overload - see base/src/TVirtualViewer3D.cxx for description of viewer architecture.
Implements TVirtualViewer3D.
Definition at line 507 of file TGLScenePad.cxx.
Definition at line 704 of file TGLScenePad.cxx.
|
protected |
Create and return a new TGLLogicalShape from the supplied buffer.
Definition at line 611 of file TGLScenePad.cxx.
|
protected |
Create and return a new TGLPhysicalShape with id 'ID', using 'buffer' placement information (translation etc), and bound to suppled 'logical'.
Definition at line 688 of file TGLScenePad.cxx.
Computes distance from point (px,py) to the object.
This member function must be implemented for each graphics primitive. This default function returns a big number (999999).
Reimplemented from TObject.
Definition at line 82 of file TGLScenePad.h.
|
virtual |
End building of the scene.
TVirtualViewer3D interface overload - see base/src/TVirtualViewer3D.cxx for description of viewer architecture
Implements TVirtualViewer3D.
Definition at line 310 of file TGLScenePad.cxx.
Execute action corresponding to an event at (px,py).
This method must be overridden if an object can react to graphics events.
Reimplemented from TObject.
Definition at line 83 of file TGLScenePad.h.
|
inline |
Definition at line 61 of file TGLScenePad.h.
|
inline |
Definition at line 71 of file TGLScenePad.h.
Override of virtual TVirtualViewer3D::ObjectPaint().
Special handling of 2D/3D histograms to activate Timur's histo-painters.
Reimplemented from TVirtualViewer3D.
Definition at line 189 of file TGLScenePad.cxx.
Open new composite container.
TVirtualViewer3D interface overload - see base/src/TVirtualViewer3D.cxx for description of viewer architecture.
Implements TVirtualViewer3D.
Definition at line 482 of file TGLScenePad.cxx.
|
private |
|
virtual |
Entry point for updating scene contents via VirtualViewer3D interface.
For now this is handled by TGLViewer as it remains the 'Viewer3D' of given pad.
Reimplemented from TVirtualViewer3D.
Definition at line 233 of file TGLScenePad.cxx.
Entry point for requesting update of scene's contents from gl-viewer.
Definition at line 217 of file TGLScenePad.cxx.
|
inlinevirtual |
Implements TVirtualViewer3D.
Definition at line 85 of file TGLScenePad.h.
|
inline |
Definition at line 62 of file TGLScenePad.h.
Definition at line 72 of file TGLScenePad.h.
void TGLScenePad::SubPadPaint | ( | TVirtualPad * | pad | ) |
Iterate over pad-primitives and import them.
Definition at line 162 of file TGLScenePad.cxx.
|
protected |
Validate if the passed 'buffer' contains all sections we require to add object.
Returns Int_t combination of TBuffer::ESection flags still required - or TBuffer3D::kNone if buffer is valid. If 'includeRaw' is kTRUE check for kRaw/kRawSizes - skip otherwise. See base/src/TVirtualViewer3D.cxx for description of viewer architecture
Definition at line 543 of file TGLScenePad.cxx.
|
protected |
last physical ID that was processed in AddObject()
Definition at line 38 of file TGLScenePad.h.
|
mutableprotected |
Definition at line 48 of file TGLScenePad.h.
|
protected |
Paritally created composite.
Definition at line 49 of file TGLScenePad.h.
|
protected |
Definition at line 50 of file TGLScenePad.h.
|
protected |
Definition at line 35 of file TGLScenePad.h.
|
protected |
next internal physical ID (from 1 - 0 reserved)
Definition at line 37 of file TGLScenePad.h.
|
protected |
using internal physical IDs
Definition at line 36 of file TGLScenePad.h.
|
protected |
Definition at line 32 of file TGLScenePad.h.
|
protected |
Definition at line 55 of file TGLScenePad.h.