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

Representation of single item in the geometry browser.

Definition at line 91 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
 
void SetTop (bool on=true)
 
- Public Member Functions inherited from ROOT::Browsable::RItem
 RItem ()=default
 
 RItem (const std::string &_name, int _nchilds=0, const std::string &_icon="")
 
virtual ~RItem ()=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 SetMTime (const std::string &_mtime)
 
void SetName (const std::string &_name)
 
void SetSize (const std::string &_size)
 
void SetSize (Long64_t _size)
 
void SetTitle (const std::string &_title)
 

Protected Attributes

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

#include <ROOT/RGeomData.hxx>

Inheritance diagram for ROOT::RGeoItem:
[legend]

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 107 of file RGeomData.hxx.

◆ ~RGeoItem()

ROOT::RGeoItem::~RGeoItem ( )
overridedefault

Member Function Documentation

◆ SetTop()

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

Definition at line 115 of file RGeomData.hxx.

Member Data Documentation

◆ color

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

color

Definition at line 96 of file RGeomData.hxx.

◆ id

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

node id

Definition at line 95 of file RGeomData.hxx.

◆ material

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

material

Definition at line 97 of file RGeomData.hxx.

◆ pvis

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

visibility of physical node

Definition at line 99 of file RGeomData.hxx.

◆ top

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

indicates if node selected as top

Definition at line 100 of file RGeomData.hxx.

◆ vis

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

visibility of logical node

Definition at line 98 of file RGeomData.hxx.

Libraries for ROOT::RGeoItem:

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