#include <TGLWidget.h>
Inheritance diagram for TGLWidget:
Definition at line 35 of file TGLWidget.h.
TGLWidget::~TGLWidget | ( | ) |
Definition at line 157 of file TGLWidget.cxx.
References fGLContext, fInnerData, fValidContexts, fWindowIndex, gVirtualX, u, and TObject::Warning().
Definition at line 135 of file TGLWidget.cxx.
References TGObject::GetId(), gVirtualX, kAnyButton, kAnyModifier, kButtonPressMask, kButtonReleaseMask, kEnterWindowMask, kExposureMask, kFocusChangeMask, kKeyPressMask, kKeyReleaseMask, kLeaveWindowMask, kNone, kPointerMotionMask, and kStructureNotifyMask.
TGLWidget::~TGLWidget | ( | ) |
TGLWidget::TGLWidget | ( | const TGLWidget & | ) | [private] |
TGLWidget * TGLWidget::CreateDummy | ( | ) | [static] |
Definition at line 73 of file TGLWidget.cxx.
References Create(), gClient, TGClient::GetDefaultRoot(), kFALSE, and TGLFormat::kNone.
Referenced by G__G__GL_446_0_1(), G__setup_memfuncTGLWidget(), and TGLFormat::InitAvailableSamples().
TGLWidget * TGLWidget::Create | ( | const TGWindow * | parent, | |
Bool_t | selectInput, | |||
Bool_t | shareDefault, | |||
const TGLPaintDevice * | shareDevice, | |||
UInt_t | width, | |||
UInt_t | height | |||
) | [static] |
Definition at line 83 of file TGLWidget.cxx.
Referenced by TGLPShapeObjEditor::CreateColorControls(), CreateDummy(), TGLEmbeddedViewer::CreateFrames(), TGLSAViewer::CreateGLWidget(), TGLEmbeddedViewer::CreateGLWidget(), G__G__GL_446_0_2(), G__G__GL_446_0_3(), and G__setup_memfuncTGLWidget().
TGLWidget * TGLWidget::Create | ( | const TGLFormat & | format, | |
const TGWindow * | parent, | |||
Bool_t | selectInput, | |||
Bool_t | shareDefault, | |||
const TGLPaintDevice * | shareDevice, | |||
UInt_t | width, | |||
UInt_t | height | |||
) | [static] |
Definition at line 96 of file TGLWidget.cxx.
References CreateWindow(), fFromInit, fGLContext, fGLFormat, fInnerData, fWindowIndex, TGLPaintDevice::GetContext(), gVirtualX, kFALSE, SetFormat(), TGLContext, and TGLWidget().
void TGLWidget::InitGL | ( | ) | [virtual] |
Definition at line 180 of file TGLWidget.cxx.
void TGLWidget::PaintGL | ( | ) | [virtual] |
Definition at line 186 of file TGLWidget.cxx.
Bool_t TGLWidget::MakeCurrent | ( | ) | [virtual] |
Implements TGLPaintDevice.
Definition at line 192 of file TGLWidget.cxx.
References fGLContext, and TGLContext::MakeCurrent().
Referenced by TGLPShapeObjEditor::DrawSphere(), TGLFormat::InitAvailableSamples(), and TGLViewer::MakeCurrent().
Bool_t TGLWidget::ClearCurrent | ( | ) |
Definition at line 199 of file TGLWidget.cxx.
References TGLContext::ClearCurrent(), and fGLContext.
void TGLWidget::SwapBuffers | ( | ) | [virtual] |
Implements TGLPaintDevice.
Definition at line 206 of file TGLWidget.cxx.
References fGLContext, and TGLContext::SwapBuffers().
Referenced by TGLPShapeObjEditor::DrawSphere(), and TGLViewer::SwapBuffers().
const TGLContext * TGLWidget::GetContext | ( | ) | const [virtual] |
const TGLFormat * TGLWidget::GetPixelFormat | ( | ) | const [virtual] |
Implements TGLPaintDevice.
Definition at line 220 of file TGLWidget.cxx.
References fGLFormat.
Referenced by TGLViewer::SavePictureUsingFBO().
void TGLWidget::SetFormat | ( | ) |
void TGLWidget::ExtractViewport | ( | Int_t * | vp | ) | const [virtual] |
Implements TGLPaintDevice.
Definition at line 250 of file TGLWidget.cxx.
References TGFrame::GetHeight(), and TGFrame::GetWidth().
TGEventHandler* TGLWidget::GetEventHandler | ( | ) | const [inline] |
void TGLWidget::SetEventHandler | ( | TGEventHandler * | eh | ) |
Definition at line 498 of file TGLWidget.cxx.
References fEventHandler.
Referenced by TGLEmbeddedViewer::CreateFrames(), TGLSAViewer::CreateGLWidget(), TGLEmbeddedViewer::CreateGLWidget(), TGLEmbeddedViewer::DestroyGLWidget(), TGLSAViewer::DestroyGLWidget(), and TGLViewer::SetEventHandler().
Reimplemented from TGFrame.
Definition at line 523 of file TGLWidget.cxx.
References fEventHandler, Form(), gROOT, gVirtualX, TGEventHandler::HandleButton(), kFALSE, kTRUE, and TROOT::ProcessLineFast().
Reimplemented from TGFrame.
Definition at line 536 of file TGLWidget.cxx.
References fEventHandler, Form(), gROOT, gVirtualX, TGEventHandler::HandleDoubleClick(), kFALSE, kTRUE, and TROOT::ProcessLineFast().
Reimplemented from TGFrame.
Definition at line 549 of file TGLWidget.cxx.
References fEventHandler, Form(), gROOT, gVirtualX, TGFrame::HandleConfigureNotify(), TGEventHandler::HandleConfigureNotify(), kFALSE, kTRUE, and TROOT::ProcessLineFast().
Reimplemented from TGFrame.
Definition at line 578 of file TGLWidget.cxx.
References fEventHandler, Form(), gROOT, gVirtualX, TGEventHandler::HandleKey(), kFALSE, kTRUE, and TROOT::ProcessLineFast().
Reimplemented from TGFrame.
Definition at line 591 of file TGLWidget.cxx.
References fEventHandler, Form(), gROOT, gVirtualX, TGEventHandler::HandleMotion(), kFALSE, kTRUE, and TROOT::ProcessLineFast().
Reimplemented from TGFrame.
Definition at line 565 of file TGLWidget.cxx.
References fEventHandler, Form(), gROOT, gVirtualX, TGEventHandler::HandleFocusChange(), kFALSE, kTRUE, and TROOT::ProcessLineFast().
Reimplemented from TGFrame.
Definition at line 505 of file TGLWidget.cxx.
References fEventHandler, Form(), Event_t::fType, TGObject::GetId(), gROOT, gVirtualX, TGEventHandler::HandleCrossing(), kEnterNotify, kFALSE, kTRUE, and TROOT::ProcessLineFast().
void TGLWidget::DoRedraw | ( | ) | [virtual] |
Reimplemented from TGFrame.
Definition at line 604 of file TGLWidget.cxx.
References fEventHandler, and TGEventHandler::Repaint().
Window_t TGLWidget::CreateWindow | ( | const TGWindow * | parent, | |
const TGLFormat & | format, | |||
UInt_t | width, | |||
UInt_t | height, | |||
std::pair< void *, void * > & | innerData | |||
) | [static, protected] |
Definition at line 436 of file TGLWidget.cxx.
References Display(), TObject::Error(), fill_format(), TGObject::GetId(), glXChooseVisual(), gVirtualX, and mask.
Referenced by Create().
void TGLWidget::AddContext | ( | TGLContext * | ctx | ) | [protected, virtual] |
void TGLWidget::RemoveContext | ( | TGLContext * | ctx | ) | [protected, virtual] |
std::pair< void *, void * > TGLWidget::GetInnerData | ( | ) | const [protected] |
Definition at line 227 of file TGLWidget.cxx.
References fInnerData.
Referenced by TGLContext::SetContext().
TGLWidget::ClassDef | ( | TGLWidget | , | |
0 | ||||
) | [protected] |
static TGLWidget* TGLWidget::CreateDummy | ( | ) | [static] |
static TGLWidget* TGLWidget::Create | ( | const TGWindow * | parent, | |
Bool_t | selectInput, | |||
Bool_t | shareDefault, | |||
const TGLPaintDevice * | shareDevice, | |||
UInt_t | width, | |||
UInt_t | height | |||
) | [static] |
static TGLWidget* TGLWidget::Create | ( | const TGLFormat & | format, | |
const TGWindow * | parent, | |||
Bool_t | selectInput, | |||
Bool_t | shareDefault, | |||
const TGLPaintDevice * | shareDevice, | |||
UInt_t | width, | |||
UInt_t | height | |||
) | [static] |
virtual void TGLWidget::InitGL | ( | ) | [virtual] |
virtual void TGLWidget::PaintGL | ( | ) | [virtual] |
Bool_t TGLWidget::MakeCurrent | ( | ) | [virtual] |
Implements TGLPaintDevice.
Bool_t TGLWidget::ClearCurrent | ( | ) |
void TGLWidget::SwapBuffers | ( | ) | [virtual] |
Implements TGLPaintDevice.
const TGLContext* TGLWidget::GetContext | ( | ) | const [virtual] |
Implements TGLPaintDevice.
const TGLFormat* TGLWidget::GetPixelFormat | ( | ) | const [virtual] |
Implements TGLPaintDevice.
void TGLWidget::SetFormat | ( | ) |
void TGLWidget::ExtractViewport | ( | Int_t * | vp | ) | const [virtual] |
Implements TGLPaintDevice.
TGEventHandler* TGLWidget::GetEventHandler | ( | ) | const [inline] |
void TGLWidget::SetEventHandler | ( | TGEventHandler * | eh | ) |
void TGLWidget::DoRedraw | ( | ) | [virtual] |
Reimplemented from TGFrame.
static Window_t TGLWidget::CreateWindow | ( | const TGWindow * | parent, | |
const TGLFormat & | format, | |||
UInt_t | width, | |||
UInt_t | height, | |||
std::pair< void *, void * > & | innerData | |||
) | [static, protected] |
void TGLWidget::AddContext | ( | TGLContext * | ctx | ) | [protected, virtual] |
Implements TGLPaintDevice.
void TGLWidget::RemoveContext | ( | TGLContext * | ctx | ) | [protected, virtual] |
Implements TGLPaintDevice.
std::pair<void *, void *> TGLWidget::GetInnerData | ( | ) | const [protected] |
TGLWidget::ClassDef | ( | TGLWidget | , | |
0 | ||||
) | [protected] |
TGLContext [friend] |
Reimplemented from TGLPaintDevice.
Definition at line 37 of file TGLWidget.h.
Referenced by Create().
TGLContext* TGLWidget::fGLContext [private] |
Definition at line 40 of file TGLWidget.h.
Referenced by ClearCurrent(), Create(), GetContext(), MakeCurrent(), SwapBuffers(), and ~TGLWidget().
std::pair<void *, void *> TGLWidget::fInnerData [private] |
Definition at line 42 of file TGLWidget.h.
Referenced by Create(), GetInnerData(), and ~TGLWidget().
Int_t TGLWidget::fWindowIndex [private] |
TGLFormat TGLWidget::fGLFormat [private] |
Bool_t TGLWidget::fFromInit [private] |
std::set<TGLContext *> TGLWidget::fValidContexts [private] |
Definition at line 49 of file TGLWidget.h.
Referenced by AddContext(), RemoveContext(), and ~TGLWidget().
TGEventHandler* TGLWidget::fEventHandler [private] |
Definition at line 51 of file TGLWidget.h.
Referenced by DoRedraw(), GetEventHandler(), HandleButton(), HandleConfigureNotify(), HandleCrossing(), HandleDoubleClick(), HandleFocusChange(), HandleKey(), HandleMotion(), and SetEventHandler().
TGLContext* TGLWidget::fGLContext [private] |
Definition at line 40 of file TGLWidget.h.
std::pair<void *, void *> TGLWidget::fInnerData [private] |
Definition at line 42 of file TGLWidget.h.
std::set<TGLContext *> TGLWidget::fValidContexts [private] |
Definition at line 49 of file TGLWidget.h.
TGEventHandler* TGLWidget::fEventHandler [private] |
Definition at line 51 of file TGLWidget.h.