TGLLine3 Class Reference

#include <TGLUtil.h>

List of all members.

Public Member Functions

 TGLLine3 (const TGLVertex3 &start, const TGLVertex3 &end)
 Vector of line from fVertex.
 TGLLine3 (const TGLVertex3 &start, const TGLVector3 &vector)
virtual ~TGLLine3 ()
void Set (const TGLVertex3 &start, const TGLVertex3 &end)
void Set (const TGLVertex3 &start, const TGLVector3 &vector)
const TGLVertex3 & Start () const
const TGLVertex3 End () const
const TGLVector3 & Vector () const
void Draw () const
 ClassDef (TGLLine3, 0)
 TGLLine3 (const TGLVertex3 &start, const TGLVertex3 &end)
 Vector of line from fVertex.
 TGLLine3 (const TGLVertex3 &start, const TGLVector3 &vector)
virtual ~TGLLine3 ()
void Set (const TGLVertex3 &start, const TGLVertex3 &end)
void Set (const TGLVertex3 &start, const TGLVector3 &vector)
const TGLVertex3 & Start () const
const TGLVertex3 End () const
const TGLVector3 & Vector () const
void Draw () const
 ClassDef (TGLLine3, 0)

Private Attributes

TGLVertex3 fVertex
TGLVector3 fVector
 Start vertex of line.


Detailed Description

Definition at line 408 of file TGLUtil.h.


Constructor & Destructor Documentation

TGLLine3::TGLLine3 ( const TGLVertex3 &  start,
const TGLVertex3 &  end 
)

Vector of line from fVertex.

Definition at line 188 of file TGLUtil.cxx.

TGLLine3::TGLLine3 ( const TGLVertex3 &  start,
const TGLVector3 &  vector 
)

Definition at line 195 of file TGLUtil.cxx.

TGLLine3::~TGLLine3 (  )  [virtual]

Definition at line 202 of file TGLUtil.cxx.

TGLLine3::TGLLine3 ( const TGLVertex3 &  start,
const TGLVertex3 &  end 
)

Vector of line from fVertex.

TGLLine3::TGLLine3 ( const TGLVertex3 &  start,
const TGLVector3 &  vector 
)

virtual TGLLine3::~TGLLine3 (  )  [virtual]


Member Function Documentation

void TGLLine3::Set ( const TGLVertex3 &  start,
const TGLVertex3 &  end 
)

Definition at line 208 of file TGLUtil.cxx.

References fVector, fVertex, and start.

void TGLLine3::Set ( const TGLVertex3 &  start,
const TGLVector3 &  vector 
)

Definition at line 217 of file TGLUtil.cxx.

References fVector, fVertex, and start.

const TGLVertex3& TGLLine3::Start (  )  const [inline]

Definition at line 426 of file TGLUtil.h.

References fVertex.

Referenced by TGLRotateManip::CalculateAngleDelta(), and TGLRotateManip::Draw().

const TGLVertex3 TGLLine3::End (  )  const [inline]

Definition at line 427 of file TGLUtil.h.

References fVector, and fVertex.

Referenced by Draw().

const TGLVector3& TGLLine3::Vector (  )  const [inline]

Definition at line 428 of file TGLUtil.h.

References fVector.

Referenced by TGLRotateManip::CalculateAngleDelta(), and TGLRotateManip::Draw().

void TGLLine3::Draw (  )  const

Definition at line 225 of file TGLUtil.cxx.

References TGLVertex3::CArr(), End(), fVertex, GL_LINE_LOOP, glBegin(), glEnd(), and glVertex3dv().

TGLLine3::ClassDef ( TGLLine3  ,
0   
)

void TGLLine3::Set ( const TGLVertex3 &  start,
const TGLVertex3 &  end 
)

void TGLLine3::Set ( const TGLVertex3 &  start,
const TGLVector3 &  vector 
)

const TGLVertex3& TGLLine3::Start (  )  const [inline]

Definition at line 426 of file TGLUtil.h.

References fVertex.

const TGLVertex3 TGLLine3::End (  )  const [inline]

Definition at line 427 of file TGLUtil.h.

References fVector, and fVertex.

const TGLVector3& TGLLine3::Vector (  )  const [inline]

Definition at line 428 of file TGLUtil.h.

References fVector.

void TGLLine3::Draw (  )  const

TGLLine3::ClassDef ( TGLLine3  ,
0   
)


Member Data Documentation

TGLVertex3 TGLLine3::fVertex [private]

Definition at line 412 of file TGLUtil.h.

Referenced by Draw(), End(), Set(), and Start().

TGLVector3 TGLLine3::fVector [private]

Start vertex of line.

Definition at line 413 of file TGLUtil.h.

Referenced by End(), Set(), and Vector().


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