class TTablePadView3D


TTablePadView3D

TTablePadView3D is a generic 3D viewer.
For a concrete viewer see TGLViewer.


Function Members (Methods)

public:
TTablePadView3D()
TTablePadView3D(TVirtualPad* pad)
TTablePadView3D(const TTablePadView3D&)
virtual~TTablePadView3D()
virtual voidExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidGetAngles(Double_t* main_angles, Double_t* extra_angles) const
virtual voidGetAnglesFactors(Double_t* factors) const
TVirtualPad*GetPad() const
virtual voidGetRange(Double_t* min, Double_t* max) const
virtual Float_tGetScale()
virtual voidGetShift(Double_t* main_shift, Double_t* extra_shift) const
TTablePadView3D&operator=(const TTablePadView3D&)
virtual voidPaint(Option_t* option = "")
virtual voidPaintBeginModel(Option_t* opt = "")
virtual voidPaintEnd(Option_t* opt = "")
virtual voidPaintPoints3D(const TPoints3DABC* points, Option_t* opt = "")
virtual voidPaintPolyLine(TPolyLine3D* line, Option_t* opt = "")
virtual voidPaintPolyMarker(TPolyMarker3D* marker, Option_t* opt = "")
virtual voidPaintScene(Option_t* opt = "")
virtual voidPopMatrix()
virtual voidPushMatrix()
virtual voidSetAngles(Double_t* main_angles, Double_t* extra_angles)
virtual voidSetAnglesFactors(Double_t* factors)
virtual voidSetAttNode(TNode* node, Option_t* opt = "")
virtual voidSetLineAttr(Color_t color, Int_t width, Option_t* opt = "")
voidSetPad(TVirtualPad* pad = 0)
virtual voidSetRange(Double_t* min, Double_t* max)
virtual voidSetScale(Float_t scale)
virtual voidSetShift(Double_t* main_shift, Double_t* extra_shift)
virtual voidSize(Int_t width, Int_t height)
virtual voidUpdateNodeMatrix(TNode* node, Option_t* opt = "")
virtual voidUpdatePosition(Double_t x, Double_t y, Double_t z, TRotMatrix* matrix, Option_t* opt = "")
virtual voidUpdateView()

Data Members

protected:
Double_tfAnglFactor[3]Latitude, Longitude, Psi
Double_tfAngles[3]Latitude, Longitude, Psi
Double_tfExtraAngles[3]Latitude, Longitude, Psi
Double_tfExtraTranslate[3]The vector to move object with a mouse
TVirtualPad*fParentPointer to the original TPad object
Float_tfScaleThe scale factor to control the border of the clip box
Double_tfTranslate[3]The vector to move object into the center of the scene
Double_tfViewBoxMax[3]Maximum of clip box
Double_tfViewBoxMin[3]Minimum of clip box

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

~TTablePadView3D()
 Delete 3D viewer.
void GetRange(Double_t* min, Double_t* max) const
get view range
void SetRange(Double_t* min, Double_t* max)
set view range
void GetShift(Double_t* main_shift, Double_t* extra_shift) const
get shift parameters
void SetShift(Double_t* main_shift, Double_t* extra_shift)
set shift parameters
void GetAngles(Double_t* main_angles, Double_t* extra_angles) const
get view angles
void SetAngles(Double_t* main_angles, Double_t* extra_angles)
set view angles
void GetAnglesFactors(Double_t* factors) const
get view angles factors
void SetAnglesFactors(Double_t* factors)
set view angles factors
void SetScale(Float_t scale)
set view scale
void ExecuteEvent(Int_t event, Int_t px, Int_t py)
{ }
void Paint(Option_t* option = "")
{ }
void Size(Int_t width, Int_t height)
{ }
void PaintBeginModel(Option_t* opt = "")
{ }
void PaintEnd(Option_t* opt = "")
{ }
void PaintScene(Option_t* opt = "")
{ }
void PaintPolyMarker(TPolyMarker3D* marker, Option_t* opt = "")
{ }
void PaintPolyLine(TPolyLine3D* line, Option_t* opt = "")
{ }
void PaintPoints3D(const TPoints3DABC* points, Option_t* opt = "")
{ }
void SetAttNode(TNode* node, Option_t* opt = "")
{ }
void SetLineAttr(Color_t color, Int_t width, Option_t* opt = "")
{ }
void UpdateNodeMatrix(TNode* node, Option_t* opt = "")
{ }
void UpdatePosition(Double_t x, Double_t y, Double_t z, TRotMatrix* matrix, Option_t* opt = "")
{ }
TTablePadView3D()
{ fParent = 0;}
TTablePadView3D(TVirtualPad *pad)
{ SetPad(pad); }
TVirtualPad * GetPad()
{ return fParent; }
void PushMatrix()
{ }
void PopMatrix()
{ }
void SetPad(TVirtualPad* pad = 0)
{ fParent = pad; }
void UpdateView()
{ }
Float_t GetScale()
{return fScale;}

Author: Valery Fine(fine@vxcern.cern.ch) 30/05/97
Last change: root/table:$Id: TTablePadView3D.h 20882 2007-11-19 11:31:26Z rdm $
Last generated: 2008-06-25 08:54
Copyright (C) 1995-2000, 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.