library: libRGL
#include "TGLPixmap.h"

TGLPixmap


class description - source file - inheritance tree (.pdf)

class TGLPixmap : public TVirtualViewer3D

Inheritance Chart:
TObject
<-
TVirtualViewer3D
<-
TGLPixmap
    private:
TGLPixmap(const TGLPixmap&) void CalculateViewports() void CalculateViewvolumes() void CreateCameras() void CreateViewer() void DrawObjects() const void MakeCurrent() const TGLPixmap& operator=(const TGLPixmap&) void SwapBuffers() const void UpdateRange(const GLSelection* box) public:
TGLPixmap(TPad* pad, Int_t devInd, Int_t x, Int_t y, UInt_t w, UInt_t h) ~TGLPixmap() virtual void AddCompositeOp(UInt_t operation) virtual Int_t AddObject(const TBuffer3D& buffer, Bool_t* addChild) virtual Int_t AddObject(UInt_t, const TBuffer3D&, Bool_t*) virtual void BeginScene() virtual Bool_t BuildingScene() const static TClass* Class() virtual void CloseComposite() virtual Int_t DistancetoPrimitive(Int_t px, Int_t py) virtual void DrawViewer() virtual void EndScene() virtual void ExecuteEvent(Int_t type, Int_t px, Int_t py) virtual TClass* IsA() const virtual Bool_t OpenComposite(const TBuffer3D& buffer, Bool_t* addChildren = 0) virtual Bool_t PreferLocalFrame() const virtual TObject* SelectObject(Int_t x, Int_t y) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void ZoomIn() void ZoomOut()

Data Members

    private:
GLCamera* fCamera Double_t fViewVolume[4] Double_t fZoom[4] Int_t fActiveViewport[4] Int_t fLightMask TGLRender* fRender pair<double,double> fRangeX pair<double,double> fRangeY pair<double,double> fRangeZ pair<double,double> fLastPosRot Double_t fXc Double_t fYc Double_t fZc Double_t fRad Bool_t fPressed TArcBall* fArcBall UInt_t fNbShapes TPoint fLastPos Int_t x_ Int_t y_ UInt_t w_ UInt_t h_ Int_t devInd_ GLSceneObject* fSelectedObj TGLPixmap::EAction fAction Bool_t fBuildingScene TPad* fPad Bool_t fFirstScene public:
static const TGLPixmap::EAction kNoAction static const TGLPixmap::EAction kRotating static const TGLPixmap::EAction kPicking static const TGLPixmap::EAction kZooming

Class Description


TGLPixmap(TPad * pad, Int_t devInd, Int_t x, Int_t y, UInt_t w, UInt_t h) : fCamera(), fViewVolume(), fZoom(), fActiveViewport(), fBuildingScene(kFALSE), fPad(pad), fFirstScene(kTRUE)

void CreateViewer()

~TGLPixmap()

void MakeCurrent()const

void SwapBuffers()const

void DrawObjects()const

void UpdateRange(const GLSelection *box)

TObject* SelectObject(Int_t x, Int_t y)

Int_t DistancetoPrimitive(Int_t x, Int_t y)

void CalculateViewports()

void CalculateViewvolumes()

void CreateCameras()

Bool_t PreferLocalFrame() const
 Not at present - but in the future....

void BeginScene()
 Clear any existing scene contents

void EndScene()

Int_t AddObject(const TBuffer3D &buffer, Bool_t *addChildren)

Bool_t OpenComposite(const TBuffer3D &, Bool_t *)

void CloseComposite()

void AddCompositeOp(UInt_t)

void ExecuteEvent(Int_t event, Int_t px, Int_t py)

void DrawViewer()

void ZoomIn()

void ZoomOut()



Inline Functions


             Bool_t BuildingScene() const
              Int_t AddObject(UInt_t, const TBuffer3D&, Bool_t*)
          TGLPixmap TGLPixmap(const TGLPixmap&)
         TGLPixmap& operator=(const TGLPixmap&)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Author: Timur Pocheptsov 18/08/2005
Last update: root/gl:$Name: $:$Id: TGLPixmap.cxx,v 1.6 2005/09/07 11:43:36 rdm Exp $
Copyright (C) 1995-2005, 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.