library: libRGL
#include "TGLPlotPainter.h"

TGLPlotFrame


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

class TGLPlotFrame

Inheritance Chart:
TGLPlotFrame
<-
TGLLegoPainter

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
static TClass*Class()
virtual TClass*IsA() const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
TGLPlotFrame(Bool_t logX, Bool_t logY, Bool_t logZ)
virtual~TGLPlotFrame()
static voidAdjustShift(const TPoint& start, const TPoint& finish, TGLVector3& shiftVec, const Int_t* viewport)
voidCalculateGLCameraParams(const TGLPlotFrame::Range_t& x, const TGLPlotFrame::Range_t& y, const TGLPlotFrame::Range_t& z)
voidFindFrontPoint()
voidSetCamera()
voidSetTransformation()

Data Members

protected:
TGLVertex3fFrame[8]
static const Int_tfFramePlanes
static const Double_tfFrameNormals
static const Int_tfBackPairs
Bool_tfLogX
Bool_tfLogY
Bool_tfLogZ
Double_tfScaleX
Double_tfScaleY
Double_tfScaleZ
Int_tfFrontPoint
TGLVertex3f2DAxes[8]
TArcBallfArcBall
Int_tfViewport[4]
TPointfMousePosition
TGLVector3fPan
Double_tfZoom
Double_tfFrustum[4]
Double_tfShift
Double_tfCenter[3]
Double_tfFactor

Class Description

TGLPlotFrame(Bool_t logX, Bool_t logY, Bool_t logZ)
~TGLPlotFrame()
void AdjustShift(const TPoint &p1, const TPoint &p2, TGLVector3 &shiftVec, const Int_t *viewport)
Extract gl matrices.
void CalculateGLCameraParams(const Range_t &x, const Range_t &y, const Range_t &z)
Finds the maximum dimension and adjust scale coefficients
void FindFrontPoint()
Convert 3d points into window coordinate system
and find the nearest.
void SetTransformation()
Applies rotations and translations before drawing
void SetCamera()
Viewport and projection.

Author: Timur Pocheptsov 14/06/2006
Last update: root/gl:$Name: $:$Id: TGLPlotPainter.cxx,v 1.3 2006/06/19 09:10:25 couet 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.