class TGLBoxCut


 Used by plot-painters to determine the area of the plot that
 is cut away.

Function Members (Methods)

public:
TGLBoxCut(const TGLPlotBox* plotBox)
TGLBoxCut(const TGLBoxCut&)
virtual~TGLBoxCut()
static TClass*Class()
voidDrawBox(Bool_t selectionPass, Int_t selected) const
virtual TClass*IsA() const
Bool_tIsActive() const
Bool_tIsInCut(Double_t xMin, Double_t xMax, Double_t yMin, Double_t yMax, Double_t zMin, Double_t zMax) const
voidMoveBox(Int_t px, Int_t py, Int_t axisID)
voidSetFactor(Double_t f)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
voidStartMovement(Int_t px, Int_t py)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTurnOnOff()
private:
voidAdjustBox()

Data Members

private:
Bool_tfActive
TGLVertex3fCenter
Double_tfFactor
TPointfMousePos
const TGLPlotBox *constfPlotBox
Double_tfXLength
pair<double,double>fXRange
Double_tfYLength
pair<double,double>fYRange
Double_tfZLength
pair<double,double>fZRange

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLBoxCut(const TGLPlotBox *box)
Constructor.
~TGLBoxCut()
Destructor.
void TurnOnOff()
Turn the box cut on/off.
If it's on, it will be placed in front point of a plot.
void DrawBox(Bool_t selectionPass, Int_t selected) const
Draw cut as a semi-transparent box.
void StartMovement(Int_t px, Int_t py)
Start cut's movement
void MoveBox(Int_t px, Int_t py, Int_t axisID)
Move box cut along selected direction.
void AdjustBox()
Box cut is limited by plot's sizes.
Bool_t IsInCut(Double_t xMin, Double_t xMax, Double_t yMin, Double_t yMax, Double_t zMin, Double_t zMax) const
Check, if box defined by xmin/xmax etc. is in cut.
TGLBoxCut(const TGLPlotBox *plotBox)
Bool_t IsActive()
{return fActive;}
void SetFactor(Double_t f)
{fFactor = f;}

Author: Timur Pocheptsov 14/06/2006
Last change: root/gl:$Id: TGLPlotPainter.h 24186 2008-06-09 11:34:54Z matevz $
Last generated: 2008-06-25 08:40
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *

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.