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

Base description of geometry node, required only to build hierarchy.

Definition at line 44 of file RGeomData.hxx.

Public Member Functions

 RGeomNodeBase (int _id=0)
 
const char * GetArg (int kind)
 Returns argument for regexp.
 
bool IsVisible () const
 

Public Attributes

std::vector< intchlds
 list of childs id
 
std::string color
 rgb code in hex format
 
int id {0}
 node id, index in array
 
std::string material
 name of the material
 
std::string name
 node name
 
bool nochlds {false}
 how far in hierarchy depth should be scanned
 
int sortid {0}
 ! place in sorted array, to check cuts, or id of original node when used search structures
 
int vis {0}
 visibility flag, 0 - off, 1 - only when level==0, 99 - always
 

#include <ROOT/RGeomData.hxx>

Inheritance diagram for ROOT::RGeomNodeBase:
[legend]

Constructor & Destructor Documentation

◆ RGeomNodeBase()

ROOT::RGeomNodeBase::RGeomNodeBase ( int  _id = 0)
inline

Definition at line 56 of file RGeomData.hxx.

Member Function Documentation

◆ GetArg()

const char * ROOT::RGeomNodeBase::GetArg ( int  kind)
inline

Returns argument for regexp.

Definition at line 61 of file RGeomData.hxx.

◆ IsVisible()

bool ROOT::RGeomNodeBase::IsVisible ( ) const
inline

Definition at line 58 of file RGeomData.hxx.

Member Data Documentation

◆ chlds

std::vector<int> ROOT::RGeomNodeBase::chlds

list of childs id

Definition at line 48 of file RGeomData.hxx.

◆ color

std::string ROOT::RGeomNodeBase::color

rgb code in hex format

Definition at line 52 of file RGeomData.hxx.

◆ id

int ROOT::RGeomNodeBase::id {0}

node id, index in array

Definition at line 46 of file RGeomData.hxx.

◆ material

std::string ROOT::RGeomNodeBase::material

name of the material

Definition at line 53 of file RGeomData.hxx.

◆ name

std::string ROOT::RGeomNodeBase::name

node name

Definition at line 47 of file RGeomData.hxx.

◆ nochlds

bool ROOT::RGeomNodeBase::nochlds {false}

how far in hierarchy depth should be scanned

Definition at line 50 of file RGeomData.hxx.

◆ sortid

int ROOT::RGeomNodeBase::sortid {0}

! place in sorted array, to check cuts, or id of original node when used search structures

Definition at line 54 of file RGeomData.hxx.

◆ vis

int ROOT::RGeomNodeBase::vis {0}

visibility flag, 0 - off, 1 - only when level==0, 99 - always

Definition at line 49 of file RGeomData.hxx.

Libraries for ROOT::RGeomNodeBase:

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