ROOT  6.06/09
Reference Guide
Public Member Functions | Protected Attributes | List of all members
TGLOvlSelectRecord Class Reference

Selection record for overlay objects.

Definition at line 139 of file TGLSelectRecord.h.

Public Member Functions

 TGLOvlSelectRecord ()
 Default constructor. More...
 
 TGLOvlSelectRecord (UInt_t *data)
 Constructor from raw GL-select record. More...
 
 TGLOvlSelectRecord (const TGLOvlSelectRecord &rec)
 Copy constructor. More...
 
virtual ~TGLOvlSelectRecord ()
 Destructor. More...
 
TGLOvlSelectRecordoperator= (const TGLOvlSelectRecord &rec)
 Copy operator. More...
 
virtual void Set (UInt_t *data)
 Setup the record from raw buffer. More...
 
virtual void Reset ()
 Reinitialise all data to null values. More...
 
TGLOverlayElementGetOvlElement () const
 
void SetOvlElement (TGLOverlayElement *e)
 
- Public Member Functions inherited from TGLSelectRecordBase
 TGLSelectRecordBase ()
 Default constructor. More...
 
 TGLSelectRecordBase (UInt_t *data)
 Constructor from raw GL-select record. More...
 
 TGLSelectRecordBase (const TGLSelectRecordBase &rec)
 Copy constructor. More...
 
virtual ~TGLSelectRecordBase ()
 Destructor. More...
 
TGLSelectRecordBaseoperator= (const TGLSelectRecordBase &rec)
 Copy operator. More...
 
void SetRawOnly (UInt_t *data)
 Setup the record from raw buffer. More...
 
Int_t GetN () const
 
UInt_tGetItems () const
 
UInt_t GetItem (Int_t i) const
 
Float_t GetMinZ () const
 
Float_t GetMaxZ () const
 
UInt_t GetCurrItem () const
 
Int_t GetNLeft () const
 
void NextPos ()
 
void PrevPos ()
 
void ResetPos ()
 

Protected Attributes

TGLOverlayElementfOvlElement
 
- Protected Attributes inherited from TGLSelectRecordBase
Int_t fN
 
UInt_tfItems
 
Float_t fMinZ
 
Float_t fMaxZ
 
Int_t fPos
 

Additional Inherited Members

- Protected Member Functions inherited from TGLSelectRecordBase
void CopyItems (UInt_t *items)
 Copy data from names. fN must already be set. More...
 

#include <TGLSelectRecord.h>

+ Inheritance diagram for TGLOvlSelectRecord:
+ Collaboration diagram for TGLOvlSelectRecord:

Constructor & Destructor Documentation

TGLOvlSelectRecord::TGLOvlSelectRecord ( )

Default constructor.

Definition at line 298 of file TGLSelectRecord.cxx.

TGLOvlSelectRecord::TGLOvlSelectRecord ( UInt_t data)

Constructor from raw GL-select record.

Definition at line 307 of file TGLSelectRecord.cxx.

TGLOvlSelectRecord::TGLOvlSelectRecord ( const TGLOvlSelectRecord rec)

Copy constructor.

Definition at line 316 of file TGLSelectRecord.cxx.

TGLOvlSelectRecord::~TGLOvlSelectRecord ( )
virtual

Destructor.

Definition at line 325 of file TGLSelectRecord.cxx.

Member Function Documentation

TGLOverlayElement* TGLOvlSelectRecord::GetOvlElement ( ) const
inline

Definition at line 156 of file TGLSelectRecord.h.

Referenced by TGLViewer::DoOverlaySelect().

TGLOvlSelectRecord & TGLOvlSelectRecord::operator= ( const TGLOvlSelectRecord rec)

Copy operator.

Definition at line 332 of file TGLSelectRecord.cxx.

void TGLOvlSelectRecord::Reset ( void  )
virtual

Reinitialise all data to null values.

Reimplemented from TGLSelectRecordBase.

Definition at line 355 of file TGLSelectRecord.cxx.

Referenced by TGLViewer::DoOverlaySelect().

void TGLOvlSelectRecord::Set ( UInt_t data)
virtual

Setup the record from raw buffer.

Non-core members are reset.

Reimplemented from TGLSelectRecordBase.

Definition at line 346 of file TGLSelectRecord.cxx.

void TGLOvlSelectRecord::SetOvlElement ( TGLOverlayElement e)
inline

Definition at line 157 of file TGLSelectRecord.h.

Referenced by TGLViewerBase::FindClosestOverlayRecord().

Member Data Documentation

TGLOverlayElement* TGLOvlSelectRecord::fOvlElement
protected

Definition at line 143 of file TGLSelectRecord.h.

Referenced by GetOvlElement(), operator=(), Reset(), and Set().


The documentation for this class was generated from the following files: