Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ROOT::RGeoItem Class Reference

Representation of single item in the geometry browser.

Definition at line 88 of file RGeomData.hxx.

Public Member Functions

 RGeoItem ()=default
 Default constructor.
 RGeoItem (const std::string &_name, int _nchilds, int _nodeid, const std::string &_color, const std::string &_material="", int _vis=0, int _pvis=0)
 ~RGeoItem () override=default
virtual bool Compare (const RItem *b, const std::string &) const
const std::string & GetIcon () const
const std::string & GetMTime () const
const std::string & GetName () const
const std::string & GetSize () const
const std::string & GetTitle () const
virtual bool IsFolder () const
virtual bool IsHidden () const
void SetChecked (bool on=true)
void SetExpanded (bool on=true)
void SetIcon (const std::string &_icon)
void SetLogicalVisibility (int logicalVis)
void SetMTime (const std::string &_mtime)
void SetName (const std::string &_name)
void SetPhysicalVisibility (int physicalVis)
void SetSize (const std::string &_size)
void SetSize (Long64_t _size)
void SetTitle (const std::string &_title)
void SetTop (bool on=true)

Protected Attributes

bool checked {false}
 is checked, not yet used
std::string color
 color
bool expanded {false}
 is expanded
std::string fsize
 item size
std::string icon
 icon associated with item
int id {0}
 node id
std::string material
 material
std::string mtime
 modification time
std::string name
 item name
int nchilds {0}
 number of childs
int pvis {0}
 visibility of physical node
std::string title
 item title
bool top {false}
 indicates if node selected as top
int vis {0}
 visibility of logical node

#include <ROOT/RGeomData.hxx>

Inheritance diagram for ROOT::RGeoItem:
ROOT::Browsable::RItem

Constructor & Destructor Documentation

◆ RGeoItem() [1/2]

ROOT::RGeoItem::RGeoItem ( )
default

Default constructor.

◆ RGeoItem() [2/2]

ROOT::RGeoItem::RGeoItem ( const std::string & _name,
int _nchilds,
int _nodeid,
const std::string & _color,
const std::string & _material = "",
int _vis = 0,
int _pvis = 0 )
inline

Definition at line 104 of file RGeomData.hxx.

◆ ~RGeoItem()

ROOT::RGeoItem::~RGeoItem ( )
overridedefault

Member Function Documentation

◆ Compare()

virtual bool ROOT::Browsable::RItem::Compare ( const RItem * b,
const std::string &  ) const
inlinevirtualinherited

Reimplemented in ROOT::Browsable::RNTupleItem, and ROOT::Browsable::RSysFileItem.

Definition at line 73 of file RItem.hxx.

◆ GetIcon()

const std::string & ROOT::Browsable::RItem::GetIcon ( ) const
inlineinherited

Definition at line 41 of file RItem.hxx.

◆ GetMTime()

const std::string & ROOT::Browsable::RItem::GetMTime ( ) const
inlineinherited

Definition at line 44 of file RItem.hxx.

◆ GetName()

const std::string & ROOT::Browsable::RItem::GetName ( ) const
inlineinherited

Definition at line 40 of file RItem.hxx.

◆ GetSize()

const std::string & ROOT::Browsable::RItem::GetSize ( ) const
inlineinherited

Definition at line 43 of file RItem.hxx.

◆ GetTitle()

const std::string & ROOT::Browsable::RItem::GetTitle ( ) const
inlineinherited

Definition at line 42 of file RItem.hxx.

◆ IsFolder()

virtual bool ROOT::Browsable::RItem::IsFolder ( ) const
inlinevirtualinherited

Reimplemented in ROOT::Browsable::RSysFileItem.

Definition at line 46 of file RItem.hxx.

◆ IsHidden()

virtual bool ROOT::Browsable::RItem::IsHidden ( ) const
inlinevirtualinherited

Reimplemented in ROOT::Browsable::RSysFileItem.

Definition at line 47 of file RItem.hxx.

◆ SetChecked()

void ROOT::Browsable::RItem::SetChecked ( bool on = true)
inlineinherited

Definition at line 49 of file RItem.hxx.

◆ SetExpanded()

void ROOT::Browsable::RItem::SetExpanded ( bool on = true)
inlineinherited

Definition at line 50 of file RItem.hxx.

◆ SetIcon()

void ROOT::Browsable::RItem::SetIcon ( const std::string & _icon)
inlineinherited

Definition at line 54 of file RItem.hxx.

◆ SetLogicalVisibility()

void ROOT::RGeoItem::SetLogicalVisibility ( int logicalVis)
inline

Definition at line 112 of file RGeomData.hxx.

◆ SetMTime()

void ROOT::Browsable::RItem::SetMTime ( const std::string & _mtime)
inlineinherited

Definition at line 56 of file RItem.hxx.

◆ SetName()

void ROOT::Browsable::RItem::SetName ( const std::string & _name)
inlineinherited

Definition at line 52 of file RItem.hxx.

◆ SetPhysicalVisibility()

void ROOT::RGeoItem::SetPhysicalVisibility ( int physicalVis)
inline

Definition at line 113 of file RGeomData.hxx.

◆ SetSize() [1/2]

void ROOT::Browsable::RItem::SetSize ( const std::string & _size)
inlineinherited

Definition at line 55 of file RItem.hxx.

◆ SetSize() [2/2]

void ROOT::Browsable::RItem::SetSize ( Long64_t _size)
inlineinherited

Definition at line 58 of file RItem.hxx.

◆ SetTitle()

void ROOT::Browsable::RItem::SetTitle ( const std::string & _title)
inlineinherited

Definition at line 53 of file RItem.hxx.

◆ SetTop()

void ROOT::RGeoItem::SetTop ( bool on = true)
inline

Definition at line 114 of file RGeomData.hxx.

Member Data Documentation

◆ checked

bool ROOT::Browsable::RItem::checked {false}
protectedinherited

is checked, not yet used

Definition at line 31 of file RItem.hxx.

◆ color

std::string ROOT::RGeoItem::color
protected

color

Definition at line 93 of file RGeomData.hxx.

◆ expanded

bool ROOT::Browsable::RItem::expanded {false}
protectedinherited

is expanded

Definition at line 32 of file RItem.hxx.

◆ fsize

std::string ROOT::Browsable::RItem::fsize
protectedinherited

item size

Definition at line 29 of file RItem.hxx.

◆ icon

std::string ROOT::Browsable::RItem::icon
protectedinherited

icon associated with item

Definition at line 27 of file RItem.hxx.

◆ id

int ROOT::RGeoItem::id {0}
protected

node id

Definition at line 92 of file RGeomData.hxx.

◆ material

std::string ROOT::RGeoItem::material
protected

material

Definition at line 94 of file RGeomData.hxx.

◆ mtime

std::string ROOT::Browsable::RItem::mtime
protectedinherited

modification time

Definition at line 30 of file RItem.hxx.

◆ name

std::string ROOT::Browsable::RItem::name
protectedinherited

item name

Definition at line 25 of file RItem.hxx.

◆ nchilds

int ROOT::Browsable::RItem::nchilds {0}
protectedinherited

number of childs

Definition at line 26 of file RItem.hxx.

◆ pvis

int ROOT::RGeoItem::pvis {0}
protected

visibility of physical node

Definition at line 96 of file RGeomData.hxx.

◆ title

std::string ROOT::Browsable::RItem::title
protectedinherited

item title

Definition at line 28 of file RItem.hxx.

◆ top

bool ROOT::RGeoItem::top {false}
protected

indicates if node selected as top

Definition at line 97 of file RGeomData.hxx.

◆ vis

int ROOT::RGeoItem::vis {0}
protected

visibility of logical node

Definition at line 95 of file RGeomData.hxx.


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