Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TEveSecondarySelectable Class Reference

Semi-abstract interface for classes supporting secondary-selection.

Element class that inherits from this, should also implement the following virtual methods from TEveElement:

virtual void UnSelected();
virtual void UnHighlighted();

and clear corresponding selection-set from there.

To support tooltips for sub-elements, implement:

virtual TString GetHighlightTooltip()
Basic string class.
Definition TString.h:138

and return tooltip for the entry in the fHighlightedSet. There should always be a single entry there. See TEveDigitSet for an example.

Definition at line 22 of file TEveSecondarySelectable.h.

Public Types

typedef SelectionSet_t::const_iterator SelectionSet_ci
typedef SelectionSet_t::iterator SelectionSet_i
typedef std::set< Int_tSelectionSet_t

Public Member Functions

 TEveSecondarySelectable ()
 Constructor.
virtual ~TEveSecondarySelectable ()
Bool_t GetAlwaysSecSelect () const
virtual TClassIsA () const
void ProcessGLSelection (TGLSelectRecord &rec)
 Process secondary GL selection and populate selected set accordingly.
const SelectionSet_tRefHighlightedSet () const
const SelectionSet_tRefSelectedSet () const
void SetAlwaysSecSelect (Bool_t f)
virtual void Streamer (TBuffer &)
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)

Static Public Member Functions

static TClassClass ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()

Protected Member Functions

void ProcessGLSelectionInternal (TGLSelectRecord &rec, SelectionSet_t &sset)
 Process secondary GL selection and populate given set accordingly.

Protected Attributes

Bool_t fAlwaysSecSelect
SelectionSet_t fHighlightedSet
SelectionSet_t fSelectedSet

Private Member Functions

 TEveSecondarySelectable (const TEveSecondarySelectable &)
TEveSecondarySelectableoperator= (const TEveSecondarySelectable &)

#include <TEveSecondarySelectable.h>

Inheritance diagram for TEveSecondarySelectable:
TEveDigitSet TEveBoxSet TEveQuadSet

Member Typedef Documentation

◆ SelectionSet_ci

typedef SelectionSet_t::const_iterator TEveSecondarySelectable::SelectionSet_ci

Definition at line 31 of file TEveSecondarySelectable.h.

◆ SelectionSet_i

typedef SelectionSet_t::iterator TEveSecondarySelectable::SelectionSet_i

Definition at line 30 of file TEveSecondarySelectable.h.

◆ SelectionSet_t

Definition at line 29 of file TEveSecondarySelectable.h.

Constructor & Destructor Documentation

◆ TEveSecondarySelectable() [1/2]

TEveSecondarySelectable::TEveSecondarySelectable ( const TEveSecondarySelectable & )
private

◆ TEveSecondarySelectable() [2/2]

TEveSecondarySelectable::TEveSecondarySelectable ( )

Constructor.

Definition at line 42 of file TEveSecondarySelectable.cxx.

◆ ~TEveSecondarySelectable()

virtual TEveSecondarySelectable::~TEveSecondarySelectable ( )
inlinevirtual

Definition at line 44 of file TEveSecondarySelectable.h.

Member Function Documentation

◆ Class()

TClass * TEveSecondarySelectable::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

const char * TEveSecondarySelectable::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

constexpr Version_t TEveSecondarySelectable::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 54 of file TEveSecondarySelectable.h.

◆ DeclFileName()

const char * TEveSecondarySelectable::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 54 of file TEveSecondarySelectable.h.

◆ GetAlwaysSecSelect()

Bool_t TEveSecondarySelectable::GetAlwaysSecSelect ( ) const
inline

Definition at line 46 of file TEveSecondarySelectable.h.

◆ IsA()

virtual TClass * TEveSecondarySelectable::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Reimplemented in TEveBoxSet, TEveDigitSet, and TEveQuadSet.

Definition at line 54 of file TEveSecondarySelectable.h.

◆ operator=()

TEveSecondarySelectable & TEveSecondarySelectable::operator= ( const TEveSecondarySelectable & )
private

◆ ProcessGLSelection()

void TEveSecondarySelectable::ProcessGLSelection ( TGLSelectRecord & rec)

Process secondary GL selection and populate selected set accordingly.

Definition at line 50 of file TEveSecondarySelectable.cxx.

◆ ProcessGLSelectionInternal()

void TEveSecondarySelectable::ProcessGLSelectionInternal ( TGLSelectRecord & rec,
SelectionSet_t & sset )
protected

Process secondary GL selection and populate given set accordingly.

Definition at line 61 of file TEveSecondarySelectable.cxx.

◆ RefHighlightedSet()

const SelectionSet_t & TEveSecondarySelectable::RefHighlightedSet ( ) const
inline

Definition at line 50 of file TEveSecondarySelectable.h.

◆ RefSelectedSet()

const SelectionSet_t & TEveSecondarySelectable::RefSelectedSet ( ) const
inline

Definition at line 49 of file TEveSecondarySelectable.h.

◆ SetAlwaysSecSelect()

void TEveSecondarySelectable::SetAlwaysSecSelect ( Bool_t f)
inline

Definition at line 47 of file TEveSecondarySelectable.h.

◆ Streamer()

virtual void TEveSecondarySelectable::Streamer ( TBuffer & )
virtual

Reimplemented in TEveBoxSet, TEveDigitSet, and TEveQuadSet.

◆ StreamerNVirtual()

void TEveSecondarySelectable::StreamerNVirtual ( TBuffer & ClassDef_StreamerNVirtual_b)
inline

Definition at line 54 of file TEveSecondarySelectable.h.

Member Data Documentation

◆ fAlwaysSecSelect

Bool_t TEveSecondarySelectable::fAlwaysSecSelect
protected

Definition at line 35 of file TEveSecondarySelectable.h.

◆ fHighlightedSet

SelectionSet_t TEveSecondarySelectable::fHighlightedSet
protected

Definition at line 38 of file TEveSecondarySelectable.h.

◆ fSelectedSet

SelectionSet_t TEveSecondarySelectable::fSelectedSet
protected

Definition at line 37 of file TEveSecondarySelectable.h.


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