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

Full node description including matrices and other attributes.

Definition at line 71 of file RGeomData.hxx.

Public Member Functions

 RGeomNode (int _id=0)
 
bool CanDisplay () const
 True when there is shape and it can be displayed.
 
- Public Member Functions inherited from ROOT::RGeomNodeBase
 RGeomNodeBase (int _id=0)
 
const char * GetArg (int kind)
 Returns argument for regexp.
 
bool IsVisible () const
 

Public Attributes

int idshift {-1}
 ! used to jump over then scan all geom hierarchy
 
std::vector< float > matr
 matrix for the node, can have reduced number of elements
 
int nfaces {0}
 ! number of shape faces
 
float opacity {1.}
 ! opacity of the color
 
bool useflag {false}
 ! extra flag, used for selection
 
double vol {0}
 ! volume estimation
 
- Public Attributes inherited from ROOT::RGeomNodeBase
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::RGeomNode:
[legend]

Constructor & Destructor Documentation

◆ RGeomNode()

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

Definition at line 80 of file RGeomData.hxx.

Member Function Documentation

◆ CanDisplay()

bool ROOT::RGeomNode::CanDisplay ( ) const
inline

True when there is shape and it can be displayed.

Definition at line 83 of file RGeomData.hxx.

Member Data Documentation

◆ idshift

int ROOT::RGeomNode::idshift {-1}

! used to jump over then scan all geom hierarchy

Definition at line 76 of file RGeomData.hxx.

◆ matr

std::vector<float> ROOT::RGeomNode::matr

matrix for the node, can have reduced number of elements

Definition at line 73 of file RGeomData.hxx.

◆ nfaces

int ROOT::RGeomNode::nfaces {0}

! number of shape faces

Definition at line 75 of file RGeomData.hxx.

◆ opacity

float ROOT::RGeomNode::opacity {1.}

! opacity of the color

Definition at line 78 of file RGeomData.hxx.

◆ useflag

bool ROOT::RGeomNode::useflag {false}

! extra flag, used for selection

Definition at line 77 of file RGeomData.hxx.

◆ vol

double ROOT::RGeomNode::vol {0}

! volume estimation

Definition at line 74 of file RGeomData.hxx.

Libraries for ROOT::RGeomNode:

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