library: libRGL
#include "TX11GL.h"

TX11GLManager


class description - header file - source file
viewCVS header - viewCVS source

class TX11GLManager: public TGLManager

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TX11GLManager()
~TX11GLManager()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual Bool_tAttachOffScreenDevice(Int_t ctxInd, Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual Int_tCreateGLContext(Int_t winInd)
virtual voidTObject::Delete(Option_t* option = "")
virtual voidDeleteGLContext(Int_t devInd)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
virtual voidDrawViewer(TVirtualViewer3D* vv)
virtual voidTObject::Dump() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidExtractViewport(Int_t devInd, Int_t* vp)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual voidFlush(Int_t ctxInd)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual char*GetPlotInfo(TVirtualGLPainter* plot, Int_t px, Int_t py)
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Int_tGetVirtualXInd(Int_t devInd)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual Bool_tHighColorFormat(Int_t)
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual Int_tInitGLWindow(Window_t winID)
virtual voidTObject::Inspect() const
static TGLManager*&TGLManager::Instance()
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
virtual Bool_tMakeCurrent(Int_t devInd)
virtual voidMarkForDirectCopy(Int_t devInd, Bool_t)
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidPaintSingleObject(TVirtualGLPainter*)
virtual voidPanObject(TVirtualGLPainter* o, Int_t x, Int_t y)
virtual Bool_tPlotSelected(TVirtualGLPainter* plot, Int_t px, Int_t py)
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual voidPrintViewer(TVirtualViewer3D* vv)
virtual Int_tTObject::Read(const char* name)
virtual voidReadGLBuffer(Int_t devInd)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual Bool_tResizeOffScreenDevice(Int_t devInd, Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
virtual Bool_tSelectManip(TVirtualGLManip* manip, const TGLCamera* camera, const TGLRect* rect, const TGLBoundingBox* sceneBox)
virtual voidSelectOffScreenDevice(Int_t devInd)
virtual Bool_tSelectViewer(TVirtualViewer3D* viewer, const TGLRect* selRect)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
TX11GLManager(const TX11GLManager&)
Bool_tCreateGLPixmap(TX11GLManager::TGLContext_t&)
TX11GLManager&operator=(const TX11GLManager&)

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
private:
TX11GLManager::TX11GLImpl*fPimpl

Class Description

                                                                      
 TX11GL                                                               
                                                                      
 The TX11GL is X11 implementation of TVirtualGLImp class.             
                                                                      

TX11GLManager()
 Constructor.
~TX11GLManager()
 Destructor.
Int_t InitGLWindow(Window_t winID)
 Try to find correct visual.
Int_t CreateGLContext(Int_t winInd)
 Context creation requires Display * and XVisualInfo 
 (was saved for such winInd).
Bool_t MakeCurrent(Int_t ctxInd)
 Make GL context current.
void Flush(Int_t ctxInd)
 Swaps buffers or copy pixmap.
Bool_t CreateGLPixmap(TGLContext_t &ctx)
 Create GL pixmap.
Bool_t AttachOffScreenDevice(Int_t ctxInd, Int_t x, Int_t y, UInt_t w, UInt_t h)
 Attach off screen device.
Bool_t ResizeOffScreenDevice(Int_t ctxInd, Int_t x, Int_t y, UInt_t w, UInt_t h)
 Resize off screen devive.
void SelectOffScreenDevice(Int_t ctxInd)
 Selects off-screen device to make it accessible by gVirtualX.
void MarkForDirectCopy(Int_t ctxInd, Bool_t dir)
 Selection-rotation support for TPad/TCanvas.
void ReadGLBuffer(Int_t ctxInd)
 GL buffer is read info buffer, after that lines are reordered
 into XImage, XImage copied into pixmap.
void DeleteGLContext(Int_t ctxInd)
 Deletes GLX context and frees pixmap and image (if any).
Int_t GetVirtualXInd(Int_t ctxInd)
 Returns an index suitable for gVirtualX.
void ExtractViewport(Int_t ctxInd, Int_t *viewport)
 Returns the current dimensions of a GL pixmap.
void PaintSingleObject(TVirtualGLPainter *p)
 Paint a single object.
void PrintViewer(TVirtualViewer3D *vv)
 Print viewer.
void DrawViewer(TVirtualViewer3D *viewer)
 Draw viewer.
Bool_t SelectViewer(TVirtualViewer3D *viewer, const TGLRect *rect)
 Select Viewer.
Bool_t SelectManip(TVirtualGLManip *manip, const TGLCamera * camera, const TGLRect * rect, const TGLBoundingBox * sceneBox)
 Select manipulator.
void PanObject(TVirtualGLPainter *o, Int_t x, Int_t y)
 Pan objects.
Bool_t PlotSelected(TVirtualGLPainter *plot, Int_t px, Int_t py)
Analog of TObject::DistancetoPrimitive
char * GetPlotInfo(TVirtualGLPainter *plot, Int_t px, Int_t py)
Analog of TObject::GetObjectInfo
TX11GLManager()
Bool_t HighColorFormat(Int_t /*ctxInd*/)
{return kFALSE;}

Author: Timur Pocheptsov (TX11GLManager) / Valeriy Onuchin (TX11GL)
Last update: root/gx11:$Name: $:$Id: TX11GL.cxx,v 1.23 2006/12/01 08:53:25 brun Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.