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

Full node description including matrices and other attributes.

Definition at line 68 of file RGeomData.hxx.

Public Member Functions

 RGeomNode (int _id=0)
bool CanDisplay () const
 True when there is shape and it can be displayed.
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
int idshift {-1}
 ! used to jump over then scan all geom hierarchy
std::string material
 name of the material
std::vector< float > matr
 matrix for the node, can have reduced number of elements
std::string name
 node name
int nfaces {0}
 ! number of shape faces
bool nochlds {false}
 how far in hierarchy depth should be scanned
float opacity {1.}
 ! opacity of the color
int sortid {0}
 ! place in sorted array, to check cuts, or id of original node when used search structures
bool useflag {false}
 ! extra flag, used for selection
int vis {0}
 visibility flag, 0 - off, 1 - only when level==0, 99 - always
double vol {0}
 ! volume estimation

#include <ROOT/RGeomData.hxx>

Inheritance diagram for ROOT::RGeomNode:
ROOT::RGeomNodeBase

Constructor & Destructor Documentation

◆ RGeomNode()

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

Definition at line 77 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 80 of file RGeomData.hxx.

◆ GetArg()

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

Returns argument for regexp.

Definition at line 58 of file RGeomData.hxx.

◆ IsVisible()

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

Definition at line 55 of file RGeomData.hxx.

Member Data Documentation

◆ chlds

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

list of childs id

Definition at line 45 of file RGeomData.hxx.

◆ color

std::string ROOT::RGeomNodeBase::color
inherited

rgb code in hex format

Definition at line 49 of file RGeomData.hxx.

◆ id

int ROOT::RGeomNodeBase::id {0}
inherited

node id, index in array

Definition at line 43 of file RGeomData.hxx.

◆ idshift

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

! used to jump over then scan all geom hierarchy

Definition at line 73 of file RGeomData.hxx.

◆ material

std::string ROOT::RGeomNodeBase::material
inherited

name of the material

Definition at line 50 of file RGeomData.hxx.

◆ matr

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

matrix for the node, can have reduced number of elements

Definition at line 70 of file RGeomData.hxx.

◆ name

std::string ROOT::RGeomNodeBase::name
inherited

node name

Definition at line 44 of file RGeomData.hxx.

◆ nfaces

int ROOT::RGeomNode::nfaces {0}

! number of shape faces

Definition at line 72 of file RGeomData.hxx.

◆ nochlds

bool ROOT::RGeomNodeBase::nochlds {false}
inherited

how far in hierarchy depth should be scanned

Definition at line 47 of file RGeomData.hxx.

◆ opacity

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

! opacity of the color

Definition at line 75 of file RGeomData.hxx.

◆ sortid

int ROOT::RGeomNodeBase::sortid {0}
inherited

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

Definition at line 51 of file RGeomData.hxx.

◆ useflag

bool ROOT::RGeomNode::useflag {false}

! extra flag, used for selection

Definition at line 74 of file RGeomData.hxx.

◆ vis

int ROOT::RGeomNodeBase::vis {0}
inherited

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

Definition at line 46 of file RGeomData.hxx.

◆ vol

double ROOT::RGeomNode::vol {0}

! volume estimation

Definition at line 71 of file RGeomData.hxx.


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