ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TGLSelectRecordBase Class Reference

Definition at line 27 of file TGLSelectRecord.h.

Public Member Functions

 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...
 
virtual void Set (UInt_t *data)
 Setup the record from raw buffer. More...
 
virtual void Reset ()
 Reinitialise all data to null values. 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 Member Functions

void CopyItems (UInt_t *items)
 Copy data from names. fN must already be set. More...
 

Protected Attributes

Int_t fN
 
UInt_tfItems
 
Float_t fMinZ
 
Float_t fMaxZ
 
Int_t fPos
 

#include <TGLSelectRecord.h>

Inheritance diagram for TGLSelectRecordBase:
[legend]

Constructor & Destructor Documentation

TGLSelectRecordBase::TGLSelectRecordBase ( )

Default constructor.

Definition at line 29 of file TGLSelectRecord.cxx.

TGLSelectRecordBase::TGLSelectRecordBase ( UInt_t data)

Constructor from raw GL-select record.

Definition at line 41 of file TGLSelectRecord.cxx.

TGLSelectRecordBase::TGLSelectRecordBase ( const TGLSelectRecordBase rec)

Copy constructor.

Definition at line 54 of file TGLSelectRecord.cxx.

TGLSelectRecordBase::~TGLSelectRecordBase ( )
virtual

Destructor.

Definition at line 67 of file TGLSelectRecord.cxx.

Member Function Documentation

void TGLSelectRecordBase::CopyItems ( UInt_t items)
protected

Copy data from names. fN must already be set.

Definition at line 91 of file TGLSelectRecord.cxx.

Referenced by operator=(), Set(), SetRawOnly(), and TGLSelectRecordBase().

UInt_t TGLSelectRecordBase::GetCurrItem ( ) const
inline

Definition at line 60 of file TGLSelectRecord.h.

Referenced by TGLManipSet::Handle().

UInt_t TGLSelectRecordBase::GetItem ( Int_t  i) const
inline
UInt_t* TGLSelectRecordBase::GetItems ( ) const
inline

Definition at line 55 of file TGLSelectRecord.h.

Float_t TGLSelectRecordBase::GetMaxZ ( ) const
inline
Float_t TGLSelectRecordBase::GetMinZ ( ) const
inline
Int_t TGLSelectRecordBase::GetN ( ) const
inline
Int_t TGLSelectRecordBase::GetNLeft ( ) const
inline

Definition at line 61 of file TGLSelectRecord.h.

void TGLSelectRecordBase::NextPos ( )
inline

Definition at line 62 of file TGLSelectRecord.h.

Referenced by TGLViewerBase::FindClosestOverlayRecord().

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

Copy operator.

Definition at line 75 of file TGLSelectRecord.cxx.

Referenced by TGLSelectRecord::operator=(), and TGLOvlSelectRecord::operator=().

void TGLSelectRecordBase::PrevPos ( )
inline

Definition at line 63 of file TGLSelectRecord.h.

void TGLSelectRecordBase::Reset ( void  )
virtual

Reinitialise all data to null values.

Reimplemented in TGLOvlSelectRecord, and TGLSelectRecord.

Definition at line 128 of file TGLSelectRecord.cxx.

Referenced by TGLSelectRecord::Reset(), and TGLOvlSelectRecord::Reset().

void TGLSelectRecordBase::ResetPos ( )
inline

Definition at line 64 of file TGLSelectRecord.h.

void TGLSelectRecordBase::Set ( UInt_t data)
virtual

Setup the record from raw buffer.

Reimplemented in TGLOvlSelectRecord, and TGLSelectRecord.

Definition at line 116 of file TGLSelectRecord.cxx.

Referenced by TGLSelectBuffer::SelectRecord(), TGLSelectRecord::Set(), and TGLOvlSelectRecord::Set().

void TGLSelectRecordBase::SetRawOnly ( UInt_t data)

Setup the record from raw buffer.

Definition at line 105 of file TGLSelectRecord.cxx.

Referenced by TGLViewer::DoSecondarySelect().

Member Data Documentation

UInt_t* TGLSelectRecordBase::fItems
protected
Float_t TGLSelectRecordBase::fMaxZ
protected

Definition at line 34 of file TGLSelectRecord.h.

Referenced by GetMaxZ(), operator=(), TGLSelectRecord::Print(), Reset(), Set(), and SetRawOnly().

Float_t TGLSelectRecordBase::fMinZ
protected

Definition at line 33 of file TGLSelectRecord.h.

Referenced by GetMinZ(), operator=(), TGLSelectRecord::Print(), Reset(), Set(), and SetRawOnly().

Int_t TGLSelectRecordBase::fN
protected
Int_t TGLSelectRecordBase::fPos
protected

Definition at line 37 of file TGLSelectRecord.h.

Referenced by GetCurrItem(), GetNLeft(), NextPos(), operator=(), PrevPos(), Reset(), ResetPos(), and Set().


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