TGLVertex3 Class Reference

#include <TGLUtil.h>

Inheritance diagram for TGLVertex3:

TGLVector3 TGLVector3 List of all members.

Public Member Functions

 TGLVertex3 ()
 TGLVertex3 (Double_t x, Double_t y, Double_t z)
 TGLVertex3 (Double_t *v)
 TGLVertex3 (const TGLVertex3 &other)
virtual ~TGLVertex3 ()
Bool_t operator== (const TGLVertex3 &rhs) const
TGLVertex3operator= (const TGLVertex3 &rhs)
TGLVertex3operator *= (Double_t f)
TGLVertex3 operator- () const
const TGLVertex3operator-= (const TGLVector3 &val)
const TGLVertex3operator+= (const TGLVector3 &val)
void Fill (Double_t val)
void Set (Double_t x, Double_t y, Double_t z)
void Set (const Double_t *xyz)
void Set (const TGLVertex3 &other)
void Shift (TGLVector3 &shift)
void Shift (Double_t xDelta, Double_t yDelta, Double_t zDelta)
void Negate ()
void Minimum (const TGLVertex3 &other)
void Maximum (const TGLVertex3 &other)
Double_toperator[] (Int_t index)
const Double_toperator[] (Int_t index) const
Double_t X () const
Double_tX ()
Double_t Y () const
Double_tY ()
Double_t Z () const
Double_tZ ()
const Double_tCArr () const
Double_tArr ()
void Dump () const
 ClassDef (TGLVertex3, 0)
 TGLVertex3 ()
 TGLVertex3 (Double_t x, Double_t y, Double_t z)
 TGLVertex3 (Double_t *v)
 TGLVertex3 (const TGLVertex3 &other)
virtual ~TGLVertex3 ()
Bool_t operator== (const TGLVertex3 &rhs) const
TGLVertex3operator= (const TGLVertex3 &rhs)
TGLVertex3operator *= (Double_t f)
TGLVertex3 operator- () const
const TGLVertex3operator-= (const TGLVector3 &val)
const TGLVertex3operator+= (const TGLVector3 &val)
void Fill (Double_t val)
void Set (Double_t x, Double_t y, Double_t z)
void Set (const Double_t *xyz)
void Set (const TGLVertex3 &other)
void Shift (TGLVector3 &shift)
void Shift (Double_t xDelta, Double_t yDelta, Double_t zDelta)
void Negate ()
void Minimum (const TGLVertex3 &other)
void Maximum (const TGLVertex3 &other)
Double_toperator[] (Int_t index)
const Double_toperator[] (Int_t index) const
Double_t X () const
Double_tX ()
Double_t Y () const
Double_tY ()
Double_t Z () const
Double_tZ ()
const Double_tCArr () const
Double_tArr ()
void Dump () const
 ClassDef (TGLVertex3, 0)

Protected Member Functions

Bool_t ValidIndex (UInt_t index) const
Bool_t ValidIndex (UInt_t index) const

Protected Attributes

Double_t fVals [3]

Detailed Description

Definition at line 103 of file TGLUtil.h.


Constructor & Destructor Documentation

TGLVertex3::TGLVertex3 (  ) 

Definition at line 53 of file TGLUtil.cxx.

References Fill().

Referenced by operator-().

TGLVertex3::TGLVertex3 ( Double_t  x,
Double_t  y,
Double_t  z 
)

Definition at line 60 of file TGLUtil.cxx.

References Set().

TGLVertex3::TGLVertex3 ( Double_t v  ) 

Definition at line 67 of file TGLUtil.cxx.

References Set().

TGLVertex3::TGLVertex3 ( const TGLVertex3 other  ) 

Definition at line 74 of file TGLUtil.cxx.

References Set().

TGLVertex3::~TGLVertex3 (  )  [virtual]

Definition at line 81 of file TGLUtil.cxx.

TGLVertex3::TGLVertex3 (  ) 

TGLVertex3::TGLVertex3 ( Double_t  x,
Double_t  y,
Double_t  z 
)

TGLVertex3::TGLVertex3 ( Double_t v  ) 

TGLVertex3::TGLVertex3 ( const TGLVertex3 other  ) 

virtual TGLVertex3::~TGLVertex3 (  )  [virtual]


Member Function Documentation

Bool_t TGLVertex3::ValidIndex ( UInt_t  index  )  const [inline, protected]

Definition at line 107 of file TGLUtil.h.

Bool_t TGLVertex3::operator== ( const TGLVertex3 rhs  )  const [inline]

Definition at line 169 of file TGLUtil.h.

References fVals.

TGLVertex3 & TGLVertex3::operator= ( const TGLVertex3 rhs  )  [inline]

Definition at line 175 of file TGLUtil.h.

References Set().

TGLVertex3 & TGLVertex3::operator *= ( Double_t  f  )  [inline]

Definition at line 193 of file TGLUtil.h.

References fVals.

TGLVertex3 TGLVertex3::operator- (  )  const [inline]

Definition at line 187 of file TGLUtil.h.

References fVals, and TGLVertex3().

const TGLVertex3 & TGLVertex3::operator-= ( const TGLVector3 val  )  [inline]

Definition at line 290 of file TGLUtil.h.

References fVals.

const TGLVertex3 & TGLVertex3::operator+= ( const TGLVector3 val  )  [inline]

Definition at line 298 of file TGLUtil.h.

References fVals.

void TGLVertex3::Fill ( Double_t  val  )  [inline]

Definition at line 224 of file TGLUtil.h.

References Set().

Referenced by TGLVertex3().

void TGLVertex3::Set ( Double_t  x,
Double_t  y,
Double_t  z 
) [inline]

Definition at line 230 of file TGLUtil.h.

References fVals.

Referenced by TEveProjectionAxesGL::DirectDraw(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TGLAxisPainterBox::DrawAxis3D(), Fill(), TGLRotateManip::HandleButton(), operator=(), TGLViewer::PostSceneBuildSetup(), TEveCaloLegoOverlay::RenderPaletteScales(), TEveCaloLegoOverlay::RenderPlaneInterface(), TGLAxisPainterBox::SetAxis3DTitlePos(), TGLCamera::SetCenterVec(), TGLCamera::SetCenterVecWarp(), TGLCamera::SetFixDefCenterVec(), TGLPlotBox::SetPlotBox(), TGLMatrix::TGLMatrix(), TGLVertex3(), and TGLBoundingBox::UpdateCache().

void TGLVertex3::Set ( const Double_t xyz  )  [inline]

Definition at line 238 of file TGLUtil.h.

References fVals.

void TGLVertex3::Set ( const TGLVertex3 other  )  [inline]

Definition at line 246 of file TGLUtil.h.

References fVals.

void TGLVertex3::Shift ( TGLVector3 shift  ) 

Definition at line 87 of file TGLUtil.cxx.

References fVals.

Referenced by TGLCamera::ViewportDeltaToWorld().

void TGLVertex3::Shift ( Double_t  xDelta,
Double_t  yDelta,
Double_t  zDelta 
)

Definition at line 96 of file TGLUtil.cxx.

References fVals.

void TGLVertex3::Negate (  )  [inline]

Definition at line 161 of file TGLUtil.h.

References fVals.

Referenced by TEveProjectionAxesGL::DirectDraw(), TGLCameraOverlay::RenderAxis(), TubeMesh::TubeMesh(), and TubeSegMesh::TubeSegMesh().

void TGLVertex3::Minimum ( const TGLVertex3 other  ) 

Definition at line 105 of file TGLUtil.cxx.

References fVals, and TMath::Min().

void TGLVertex3::Maximum ( const TGLVertex3 other  ) 

Definition at line 113 of file TGLUtil.cxx.

References fVals, and TMath::Max().

Double_t & TGLVertex3::operator[] ( Int_t  index  )  [inline]

Definition at line 202 of file TGLUtil.h.

References fVals.

const Double_t & TGLVertex3::operator[] ( Int_t  index  )  const [inline]

Definition at line 213 of file TGLUtil.h.

References fVals.

Double_t TGLVertex3::X (  )  const [inline]

Definition at line 139 of file TGLUtil.h.

References fVals.

Referenced by TGLBoxCut::AdjustBox(), TEveCaloLegoGL::DrawAxis3D(), TGLPlotBox::DrawBackPlane(), TGLLegoPainter::DrawLegoCartesian(), TGLSurfacePainter::DrawProjections(), TGLPlotPainter::DrawSections(), TGLUtil::DrawSimpleAxes(), TGLUtil::DrawSphere(), TGLTF3Painter::HasSections(), TGLSurfacePainter::HasSections(), TGLIsoPainter::HasSections(), TGLBoxPainter::HasSections(), TGLIsoPainter::InitGeometry(), TGLBoxPainter::InitGeometry(), TGLParametricPlot::InitGeometry(), TGLTF3Painter::InitGeometry(), TGLSurfacePainter::InitGeometryCartesian(), TGLLegoPainter::InitGeometryCartesian(), TGLSurfacePainter::InitGeometryCylindrical(), TGLSurfacePainter::InitGeometryPolar(), TGLSurfacePainter::InitGeometrySpherical(), Intersection(), TGLBoxCut::MoveBox(), TGLPlotPainter::MoveSection(), TGLAxisPainter::PaintAxis(), TGLBoxPainter::ProcessEvent(), TGLTF3Painter::ProcessEvent(), TGLIsoPainter::ProcessEvent(), TGLLegoPainter::ProcessEvent(), TGLSurfacePainter::ProcessEvent(), TGLCameraOverlay::RenderAxis(), TGLOrthoCamera::Reset(), TGLBoxCut::ResetBoxGeometry(), TGLAxisPainter::RnrLabels(), TGLMatrix::Rotate(), TGLMatrix::Set(), TGLBoundingBox::SetAligned(), TGLClipSet::SetClipState(), TGLPerspectiveCamera::Setup(), TGLOrthoCamera::Setup(), TGLMatrix::TGLMatrix(), TGLBoundingBox::UpdateCache(), and TGLSurfacePainter::WindowPointTo3DPoint().

Double_t& TGLVertex3::X (  )  [inline]

Definition at line 140 of file TGLUtil.h.

References fVals.

Double_t TGLVertex3::Y (  )  const [inline]

Definition at line 141 of file TGLUtil.h.

References fVals.

Referenced by TGLBoxCut::AdjustBox(), TEveCaloLegoGL::DrawAxis3D(), TGLPlotBox::DrawBackPlane(), TGLLegoPainter::DrawLegoCartesian(), TGLBoxPainter::DrawPlot(), TGLTH3CompositionPainter::DrawPlot(), TGLSurfacePainter::DrawProjections(), TGLPlotPainter::DrawSections(), TGLUtil::DrawSimpleAxes(), TGLUtil::DrawSphere(), TGLTF3Painter::HasSections(), TGLSurfacePainter::HasSections(), TGLIsoPainter::HasSections(), TGLBoxPainter::HasSections(), TGLIsoPainter::InitGeometry(), TGLBoxPainter::InitGeometry(), TGLTF3Painter::InitGeometry(), TGLParametricPlot::InitGeometry(), TGLSurfacePainter::InitGeometryCartesian(), TGLLegoPainter::InitGeometryCartesian(), TGLSurfacePainter::InitGeometryCylindrical(), TGLSurfacePainter::InitGeometryPolar(), TGLSurfacePainter::InitGeometrySpherical(), Intersection(), TGLBoxCut::MoveBox(), TGLPlotPainter::MoveSection(), TGLAxisPainter::PaintAxis(), TGLBoxPainter::ProcessEvent(), TGLIsoPainter::ProcessEvent(), TGLTF3Painter::ProcessEvent(), TGLLegoPainter::ProcessEvent(), TGLSurfacePainter::ProcessEvent(), TGLCameraOverlay::RenderAxis(), TGLOrthoCamera::Reset(), TGLBoxCut::ResetBoxGeometry(), TGLAxisPainter::RnrLabels(), TGLMatrix::Rotate(), TGLMatrix::Set(), TGLBoundingBox::SetAligned(), TGLClipSet::SetClipState(), TGLPerspectiveCamera::Setup(), TGLOrthoCamera::Setup(), TGLMatrix::TGLMatrix(), TGLBoundingBox::UpdateCache(), TGLSurfacePainter::WindowPointTo3DPoint(), and TGLCamera::WindowToViewport().

Double_t& TGLVertex3::Y (  )  [inline]

Definition at line 142 of file TGLUtil.h.

References fVals.

Double_t TGLVertex3::Z (  )  const [inline]

Definition at line 143 of file TGLUtil.h.

References fVals.

Referenced by TGLBoxCut::AdjustBox(), TGLH2PolyPainter::ClampZ(), TGLLegoPainter::ClampZ(), TGLSurfacePainter::ClampZ(), TEveCaloLegoGL::DirectDraw(), TEveCaloLegoGL::DrawAxis3D(), TGLSurfacePainter::DrawContoursProjection(), TGLSurfacePainter::DrawProjections(), TGLPlotPainter::DrawSections(), TGLUtil::DrawSphere(), TGLPlotBox::FindFrontPoint(), TGLTF3Painter::HasSections(), TGLSurfacePainter::HasSections(), TGLIsoPainter::HasSections(), TGLBoxPainter::HasSections(), TGLIsoPainter::InitGeometry(), TGLH2PolyPainter::InitGeometry(), TGLBoxPainter::InitGeometry(), TGLParametricPlot::InitGeometry(), TGLTF3Painter::InitGeometry(), TGLSurfacePainter::InitGeometryCartesian(), TGLLegoPainter::InitGeometryCartesian(), TGLSurfacePainter::InitGeometryCylindrical(), TGLSurfacePainter::InitGeometryPolar(), TGLLegoPainter::InitGeometryPolar(), TGLSurfacePainter::InitGeometrySpherical(), Intersection(), TGLBoxCut::MoveBox(), TGLPlotPainter::MoveSection(), TGLAxisPainter::PaintAxis(), TGLBoxPainter::ProcessEvent(), TGLTF3Painter::ProcessEvent(), TGLIsoPainter::ProcessEvent(), TGLSurfacePainter::ProcessEvent(), TGLCameraOverlay::RenderAxis(), TGLOrthoCamera::Reset(), TGLBoxCut::ResetBoxGeometry(), TGLAxisPainter::RnrLabels(), TGLMatrix::Rotate(), TGLMatrix::Set(), TGLBoundingBox::SetAligned(), TGLClipSet::SetClipState(), TGLPerspectiveCamera::Setup(), TGLOrthoCamera::Setup(), TGLMatrix::TGLMatrix(), TGLBoundingBox::UpdateCache(), and TGLSurfacePainter::WindowPointTo3DPoint().

Double_t& TGLVertex3::Z (  )  [inline]

Definition at line 144 of file TGLUtil.h.

References fVals.

const Double_t* TGLVertex3::CArr (  )  const [inline]

Definition at line 146 of file TGLUtil.h.

References fVals.

Referenced by TGLLine3::Draw(), Rgl::DrawFaceTextured(), TGLUtil::DrawNumber(), Rgl::DrawQuadFilled(), Rgl::DrawQuadOutline(), TGLUtil::DrawSimpleAxes(), Rgl::DrawSmoothFace(), TEveLegoEventHandler::Rotate(), TGLPShapeObjEditor::SetModel(), and TGLSurfacePainter::WindowPointTo3DPoint().

Double_t* TGLVertex3::Arr (  )  [inline]

Definition at line 147 of file TGLUtil.h.

References fVals.

Referenced by TGLCamera::GetCenterVec(), TGLCamera::GetFixDefCenterVec(), TGLCameraOverlay::RenderAxis(), and TGLAxisPainter::RnrLines().

void TGLVertex3::Dump (  )  const

Definition at line 121 of file TGLUtil.cxx.

References fVals.

Referenced by TGLBoundingBox::Dump().

TGLVertex3::ClassDef ( TGLVertex3  ,
 
)

Bool_t TGLVertex3::ValidIndex ( UInt_t  index  )  const [inline, protected]

Definition at line 107 of file TGLUtil.h.

Bool_t TGLVertex3::operator== ( const TGLVertex3 rhs  )  const

TGLVertex3& TGLVertex3::operator= ( const TGLVertex3 rhs  ) 

TGLVertex3& TGLVertex3::operator *= ( Double_t  f  ) 

TGLVertex3 TGLVertex3::operator- (  )  const

const TGLVertex3& TGLVertex3::operator-= ( const TGLVector3 val  ) 

const TGLVertex3& TGLVertex3::operator+= ( const TGLVector3 val  ) 

void TGLVertex3::Fill ( Double_t  val  ) 

void TGLVertex3::Set ( Double_t  x,
Double_t  y,
Double_t  z 
)

void TGLVertex3::Set ( const Double_t xyz  ) 

void TGLVertex3::Set ( const TGLVertex3 other  ) 

void TGLVertex3::Shift ( TGLVector3 shift  ) 

void TGLVertex3::Shift ( Double_t  xDelta,
Double_t  yDelta,
Double_t  zDelta 
)

void TGLVertex3::Negate (  ) 

void TGLVertex3::Minimum ( const TGLVertex3 other  ) 

void TGLVertex3::Maximum ( const TGLVertex3 other  ) 

Double_t& TGLVertex3::operator[] ( Int_t  index  ) 

const Double_t& TGLVertex3::operator[] ( Int_t  index  )  const

Double_t TGLVertex3::X (  )  const [inline]

Definition at line 139 of file TGLUtil.h.

References fVals.

Double_t& TGLVertex3::X (  )  [inline]

Definition at line 140 of file TGLUtil.h.

References fVals.

Double_t TGLVertex3::Y (  )  const [inline]

Definition at line 141 of file TGLUtil.h.

References fVals.

Double_t& TGLVertex3::Y (  )  [inline]

Definition at line 142 of file TGLUtil.h.

References fVals.

Double_t TGLVertex3::Z (  )  const [inline]

Definition at line 143 of file TGLUtil.h.

References fVals.

Double_t& TGLVertex3::Z (  )  [inline]

Definition at line 144 of file TGLUtil.h.

References fVals.

const Double_t* TGLVertex3::CArr (  )  const [inline]

Definition at line 146 of file TGLUtil.h.

References fVals.

Double_t* TGLVertex3::Arr (  )  [inline]

Definition at line 147 of file TGLUtil.h.

References fVals.

void TGLVertex3::Dump (  )  const

TGLVertex3::ClassDef ( TGLVertex3  ,
 
)


Member Data Documentation

Double_t TGLVertex3::fVals [protected]

Definition at line 108 of file TGLUtil.h.

Referenced by Arr(), CArr(), Dump(), TGLVector3::Mag(), Maximum(), Minimum(), Negate(), TGLVector3::Normalise(), operator *=(), operator+=(), TGLVector3::operator-(), operator-(), operator-=(), TGLVector3::operator/=(), TGLVector3::operator=(), operator==(), operator[](), Set(), Shift(), X(), Y(), and Z().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:40:16 2011 for ROOT_528-00b_version by  doxygen 1.5.1