library: libRGL
#include "TGLPlotPainter.h"

TGLBoxCut


class description - header file - source file
viewCVS header - viewCVS source

class TGLBoxCut

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
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:
Double_tfXLength
Double_tfYLength
Double_tfZLength
TGLVertex3fCenter
pair<double,double>fXRange
pair<double,double>fYRange
pair<double,double>fZRange
const TGLPlotBox *constfPlotBox
Bool_tfActive
Double_tfFactor
TPointfMousePos

Class Description

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)
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)
Check, if box defined by xmin/xmax etc. is in cut.
TGLBoxCut(const TGLPlotBox *plotBox)
Class has ClassDef macro == virtual functions, so we need 
explicitly declared/defined dtor to supress warnings from g++
Bool_t IsActive()
{return fActive;}
void SetFactor(Double_t f)
{fFactor = f;}

Author: Timur Pocheptsov 14/06/2006
Last update: root/gl:$Name: $:$Id: TGLPlotPainter.cxx,v 1.11 2006/11/24 15:57:45 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.