Implements VirtualViewer3D interface and fills the base-class visualization structures from pad contents.
Definition at line 26 of file TGLScenePad.h.
Public Member Functions | |
TGLScenePad (TVirtualPad *pad) | |
cache logicals during scene rebuilds | |
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. | |
void | AddHistoPhysical (TGLLogicalShape *log, const Float_t *histColor=0) |
Scale and rotate a histo object to mimic placement in canvas. | |
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. | |
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. | |
virtual void | BeginScene () |
Start building of the scene. | |
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. | |
virtual Int_t | DistancetoPrimitive (Int_t, Int_t) |
Computes distance from point (px,py) to the object. | |
virtual void | EndScene () |
End building of the scene. | |
virtual void | ExecuteEvent (Int_t, Int_t, Int_t) |
Execute action corresponding to an event at (px,py). | |
TVirtualPad * | GetPad () const |
Bool_t | GetSmartRefresh () const |
virtual void | ObjectPaint (TObject *obj, Option_t *opt="") |
Override of virtual TVirtualViewer3D::ObjectPaint(). | |
virtual Bool_t | OpenComposite (const TBuffer3D &buffer, Bool_t *addChildren=0) |
Open new composite container. | |
virtual void | PadPaint (TVirtualPad *pad) |
Entry point for updating scene contents via VirtualViewer3D interface. | |
virtual void | PadPaintFromViewer (TGLViewer *viewer) |
Entry point for requesting update of scene's contents from gl-viewer. | |
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. | |
Public Member Functions inherited from TVirtualViewer3D | |
virtual | ~TVirtualViewer3D () |
virtual void | DrawViewer () |
virtual void | PrintObjects () |
virtual void | ResetCameras () |
virtual void | ResetCamerasAfterNextUpdate () |
virtual TObject * | SelectObject (Int_t, Int_t) |
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 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 for instance with: gROOT->SetSelectedPad(gPad) . | |
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=0) |
Execute method on this object with the given parameter string, e.g. | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
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. | |
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=0, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. | |
Public Member Functions inherited from TGLScene | |
TGLScene () | |
virtual | ~TGLScene () |
Destroy scene objects. | |
virtual void | AdoptLogical (TGLLogicalShape &shape) |
Adopt dynamically created logical 'shape' - add to internal map and take responsibility for deleting. | |
virtual void | AdoptPhysical (TGLPhysicalShape &shape) |
Adopt dynamically created physical 'shape' - add to internal map and take responsibility for deleting. | |
UInt_t | BeginSmartRefresh () |
Moves logicals that support smart-refresh to intermediate cache. | |
virtual Bool_t | BeginUpdate () |
Put scene in update mode, return true if lock acquired. | |
virtual void | CalcBoundingBox () const |
Encapsulates all physical shapes bounding box with axes aligned box. | |
virtual TSceneInfo * | CreateSceneInfo (TGLViewerBase *view) |
Create a scene-info instance appropriate for this scene class. | |
virtual Bool_t | DestroyLogical (TObject *logid, Bool_t mustFind=kTRUE) |
Destroy logical shape defined by unique 'ID'. | |
virtual Int_t | DestroyLogicals () |
Destroy all logical shapes in scene. | |
virtual Bool_t | DestroyPhysical (UInt_t phid) |
Destroy physical shape defined by unique 'ID'. | |
virtual Int_t | DestroyPhysicals () |
Destroy physical shapes. | |
void | DumpMapSizes () const |
Print sizes of logical and physical-shape maps. | |
void | EndSmartRefresh () |
Wipes logicals in refresh-cache. | |
virtual void | EndUpdate (Bool_t minorChange=kTRUE, Bool_t sceneChanged=kTRUE, Bool_t updateViewers=kTRUE) |
Exit scene update mode. | |
virtual TGLLogicalShape * | FindLogical (TObject *logid) const |
Find and return logical shape identified by unique logid. | |
TGLLogicalShape * | FindLogicalSmartRefresh (TObject *ID) const |
Find and return logical shape identified by unique 'ID' in refresh-cache. | |
virtual TGLPhysicalShape * | FindPhysical (UInt_t phid) const |
Find and return physical shape identified by unique 'ID'. | |
TGLContextIdentity * | GetGLCtxIdentity () const |
virtual UInt_t | GetMaxPhysicalID () |
Returns the maximum used physical id. | |
virtual void | LodifySceneInfo (TGLRnrCtx &rnrCtx) |
Setup LOD-dependant values in scene-info. | |
virtual void | PostDraw (TGLRnrCtx &rnrCtx) |
Called after the rendering is finished. | |
virtual void | PreDraw (TGLRnrCtx &rnrCtx) |
Initialize rendering. | |
virtual void | RebuildSceneInfo (TGLRnrCtx &rnrCtx) |
Major change in scene, need to rebuild all-element draw-vector and sort it. | |
LogicalShapeMap_t & | RefLogicalShapes () |
virtual void | RenderAllPasses (TGLRnrCtx &rnrCtx, DrawElementPtrVec_t &elVec, Bool_t check_timeout) |
Do full rendering of scene. | |
virtual void | RenderElements (TGLRnrCtx &rnrCtx, DrawElementPtrVec_t &elVec, Bool_t check_timeout, const TGLPlaneSet_t *clipPlanes=0) |
Render DrawElements in elementVec with given timeout. | |
virtual void | RenderHighlight (TGLRnrCtx &rnrCtx, DrawElementPtrVec_t &elVec) |
virtual void | RenderOpaque (TGLRnrCtx &rnrCtx) |
Render opaque elements. | |
virtual void | RenderSelOpaque (TGLRnrCtx &rnrCtx) |
Render selected opaque elements. | |
virtual void | RenderSelOpaqueForHighlight (TGLRnrCtx &rnrCtx) |
Render selected opaque elements for highlight. | |
virtual void | RenderSelTransp (TGLRnrCtx &rnrCtx) |
Render selected transparent elements. | |
virtual void | RenderSelTranspForHighlight (TGLRnrCtx &rnrCtx) |
Render selected transparent elements for highlight. | |
virtual void | RenderTransp (TGLRnrCtx &rnrCtx) |
Render transparent elements. | |
virtual Bool_t | ResolveSelectRecord (TGLSelectRecord &rec, Int_t curIdx) |
Process selection record rec. | |
UInt_t | SizeOfScene () const |
Return memory cost of scene. | |
virtual void | UpdateLogical (TObject *logid) |
Drop display-lists for the logical (assume TGLObject/direct rendering). | |
virtual void | UpdatePhysical (UInt_t phid, Double_t *trans, Color_t cidx=-1, UChar_t transp=0) |
Reposition/recolor physical shape. | |
virtual void | UpdatePhysical (UInt_t phid, Double_t *trans, UChar_t *col) |
Reposition/recolor physical shape. | |
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). | |
virtual void | UpdatePhysioLogical (TObject *logid, Double_t *trans, UChar_t *col) |
Reposition/recolor physical for given logical (assume TGLObject and a single physical). | |
virtual void | UpdateSceneInfo (TGLRnrCtx &rnrCtx) |
Fill scene-info with information needed for rendering, take into account the render-context (viewer state, camera, clipping). | |
Public Member Functions inherited from TGLSceneBase | |
TGLSceneBase () | |
virtual | ~TGLSceneBase () |
Destructor. | |
void | AddViewer (TGLViewerBase *viewer) |
Add viewer to the list. | |
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. | |
Short_t | LOD () const |
virtual void | PostRender (TGLRnrCtx &rnrCtx) |
Perform post-render clean-up. | |
virtual void | PreRender (TGLRnrCtx &rnrCtx) |
Perform pre-render initialization - fill rnrCtx with values stored during PreDraw(). | |
void | RemoveViewer (TGLViewerBase *viewer) |
Remove viewer from the list. | |
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. | |
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. | |
Public Member Functions inherited from TGLLockable | |
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. | |
Bool_t | TakeLock (ELock lock) const |
Lock the object in mode 'lock'. | |
Protected Types | |
typedef std::pair< UInt_t, RootCsg::TBaseMesh * > | CSPart_t |
Protected Types inherited from TObject | |
enum | { kOnlyPrepStep = BIT(3) } |
Protected Types inherited from TGLSceneBase | |
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. | |
RootCsg::TBaseMesh * | BuildComposite () |
Build and return composite shape mesh. | |
void | ComposePolymarker (const TList *padPrimitives) |
TGLLogicalShape * | CreateNewLogical (const TBuffer3D &buffer) const |
Create and return a new TGLLogicalShape from the supplied buffer. | |
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'. | |
Int_t | ValidateObjectBuffer (const TBuffer3D &buffer, Bool_t includeRaw) const |
Validate if the passed 'buffer' contains all sections we require to add object. | |
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 Member Functions inherited from TGLScene | |
virtual void | DestroyPhysicalInternal (PhysicalShapeMapIt_t pit) |
Virtual function to destroy a physical. | |
void | ReleaseGLCtxIdentity () |
Release all GL resources for current context identity. | |
Private Member Functions | |
TGLScenePad (const TGLScenePad &)=delete | |
TGLScenePad & | operator= (const TGLScenePad &)=delete |
Additional Inherited Members | |
Public Types inherited from TObject | |
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) } |
Public Types inherited from TGLScene | |
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 |
Public Types inherited from TGLLockable | |
enum | ELock { kUnlocked , kDrawLock , kSelectLock , kModifyLock } |
Static Public Member Functions inherited from TVirtualViewer3D | |
static TVirtualViewer3D * | Viewer3D (TVirtualPad *pad=0, Option_t *type="") |
Create a Viewer 3D of specified type. | |
Static Public Member Functions inherited from TObject | |
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 TGLScene | |
static Bool_t | IsOutside (const TGLBoundingBox &box, const TGLPlaneSet_t &planes) |
Check if box is outside of all planes. | |
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). | |
Static Public Member Functions inherited from TGLLockable | |
static const char * | LockName (ELock lock) |
Return name-string for given lock-type. | |
static Bool_t | LockValid (ELock lock) |
Test if lock is a valid type to take/release. | |
#include <TGLScenePad.h>
|
protected |
Definition at line 48 of file TGLScenePad.h.
|
privatedelete |
TGLScenePad::TGLScenePad | ( | TVirtualPad * | pad | ) |
cache logicals during scene rebuilds
Definition at line 51 of file TGLScenePad.cxx.
|
inlinevirtual |
Definition at line 60 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 89 of file TGLScenePad.h.
|
inlinevirtual |
Reimplemented from TVirtualViewer3D.
Definition at line 78 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 83 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 84 of file TGLScenePad.h.
|
inline |
Definition at line 62 of file TGLScenePad.h.
|
inline |
Definition at line 72 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.
|
privatedelete |
|
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 86 of file TGLScenePad.h.
|
inline |
Definition at line 63 of file TGLScenePad.h.
Definition at line 73 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 39 of file TGLScenePad.h.
|
mutableprotected |
Definition at line 49 of file TGLScenePad.h.
|
protected |
Paritally created composite.
Definition at line 50 of file TGLScenePad.h.
|
protected |
Definition at line 51 of file TGLScenePad.h.
|
protected |
Definition at line 36 of file TGLScenePad.h.
|
protected |
next internal physical ID (from 1 - 0 reserved)
Definition at line 38 of file TGLScenePad.h.
|
protected |
using internal physical IDs
Definition at line 37 of file TGLScenePad.h.
|
protected |
Definition at line 33 of file TGLScenePad.h.
|
protected |
Definition at line 56 of file TGLScenePad.h.