3D space, fixed length, line class, with direction / length 'vector', passing through point 'vertex'.
Just wraps a TGLVector3 / TGLVertex3 pair.
Public Member Functions | |
| TGLLine3 (const TGLVertex3 &start, const TGLVector3 &vector) | |
| Construct 3D line running from 'start', magnitude 'vect'. | |
| TGLLine3 (const TGLVertex3 &start, const TGLVertex3 &end) | |
| Vector of line from fVertex. | |
| ~TGLLine3 ()=default | |
| void | Draw () const |
| Draw line in current basic GL color. | |
| const TGLVertex3 | End () const |
| TClass * | IsA () const |
| void | Set (const TGLVertex3 &start, const TGLVector3 &vector) |
| Set 3D line running from start, magnitude 'vect'. | |
| void | Set (const TGLVertex3 &start, const TGLVertex3 &end) |
| Set 3D line running from 'start' to 'end'. | |
| const TGLVertex3 & | Start () const |
| void | Streamer (TBuffer &) |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| const TGLVector3 & | Vector () const |
Static Public Member Functions | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
Private Attributes | |
| TGLVector3 | fVector |
| Start vertex of line. | |
| TGLVertex3 | fVertex |
#include <TGLUtil.h>
| TGLLine3::TGLLine3 | ( | const TGLVertex3 & | start, |
| const TGLVertex3 & | end ) |
Vector of line from fVertex.
Construct 3D line running from 'start' to 'end'.
Definition at line 176 of file TGLUtil.cxx.
| TGLLine3::TGLLine3 | ( | const TGLVertex3 & | start, |
| const TGLVector3 & | vector ) |
Construct 3D line running from 'start', magnitude 'vect'.
Definition at line 184 of file TGLUtil.cxx.
|
default |
| void TGLLine3::Draw | ( | ) | const |
Draw line in current basic GL color.
Assume we are in the correct reference frame
Definition at line 211 of file TGLUtil.cxx.
|
inline |
|
inline |
| void TGLLine3::Set | ( | const TGLVertex3 & | start, |
| const TGLVector3 & | vector ) |
Set 3D line running from start, magnitude 'vect'.
Definition at line 201 of file TGLUtil.cxx.
| void TGLLine3::Set | ( | const TGLVertex3 & | start, |
| const TGLVertex3 & | end ) |
Set 3D line running from 'start' to 'end'.
Definition at line 192 of file TGLUtil.cxx.
|
inline |
| void TGLLine3::Streamer | ( | TBuffer & | ) |
|
inline |
|
inline |
|
private |
|
private |