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 Bool_t MakeCurrent() const TGLPixmap& operator=(const TGLPixmap&) void UpdateRange(const GLSelection* box) public:
TGLPixmap(TVirtualPad* pad) ~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 void PrintObjects() 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 fGLDevice GLSceneObject* fSelectedObj TGLPixmap::EAction fAction Bool_t fBuildingScene TVirtualPad* 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(TVirtualPad *pad) : fCamera(), fViewVolume(), fZoom(), fActiveViewport(), fArcBall(100, 100), fBuildingScene(kFALSE), fPad(pad), fFirstScene(kTRUE)

void CreateViewer()

~TGLPixmap()

void DrawObjects()const

void UpdateRange(const GLSelection *box)

void PrintObjects()
 Print objects in a PS file. This function use gl2ps. The gl2ps output
 is embeded within the TPostScript one.

Bool_t MakeCurrent()const

TObject* SelectObject(Int_t x, Int_t y)
 Select Object

Int_t DistancetoPrimitive(Int_t x, Int_t y)
 Compute the disatance to the primitive

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.14 2006/02/07 14:18:45 couet 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.