ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/visualization/HepRep/include/cheprep/DefaultHepRepInstance.h>
Private Attributes | |
HEPREP::HepRepInstance * | parent |
HEPREP::HepRepType * | type |
std::vector < HEPREP::HepRepPoint * > | points |
std::vector < HEPREP::HepRepInstance * > | instances |
Definition at line 26 of file DefaultHepRepInstance.h.
View newest version in sPHENIX GitHub at line 26 of file DefaultHepRepInstance.h
cheprep::DefaultHepRepInstance::DefaultHepRepInstance | ( | HEPREP::HepRepInstance * | parent, |
HEPREP::HepRepType * | type | ||
) |
Definition at line 15 of file DefaultHepRepInstance.cc.
View newest version in sPHENIX GitHub at line 15 of file DefaultHepRepInstance.cc
References HEPREP::HepRepInstance::addInstance(), parent, and type.
cheprep::DefaultHepRepInstance::DefaultHepRepInstance | ( | HEPREP::HepRepInstanceTree * | parent, |
HEPREP::HepRepType * | type | ||
) |
Definition at line 22 of file DefaultHepRepInstance.cc.
View newest version in sPHENIX GitHub at line 22 of file DefaultHepRepInstance.cc
References HEPREP::HepRepInstanceTree::addInstance(), and type.
cheprep::DefaultHepRepInstance::~DefaultHepRepInstance | ( | ) |
Definition at line 29 of file DefaultHepRepInstance.cc.
View newest version in sPHENIX GitHub at line 29 of file DefaultHepRepInstance.cc
|
virtual |
Adds an sub-instance to this instance.
instance | sub-instance. |
Implements HEPREP::HepRepInstance.
Definition at line 70 of file DefaultHepRepInstance.cc.
View newest version in sPHENIX GitHub at line 70 of file DefaultHepRepInstance.cc
References instances.
|
virtual |
Adds a point to this instance.
point | to be added. |
Implements HEPREP::HepRepInstance.
Definition at line 58 of file DefaultHepRepInstance.cc.
View newest version in sPHENIX GitHub at line 58 of file DefaultHepRepInstance.cc
References points.
|
virtual |
Returns a deep copy of this instance.
typeTree | needed to find the associated type. |
parent | to which the copy is added. |
filter | run on all instances before copying. |
Implements HEPREP::HepRepInstance.
Definition at line 44 of file DefaultHepRepInstance.cc.
View newest version in sPHENIX GitHub at line 44 of file DefaultHepRepInstance.cc
|
virtual |
Returns a deep copy of this instance.
typeTree | needed to find the associated type. |
parent | to which the copy is added. |
filter | run on all instances before copying. |
Implements HEPREP::HepRepInstance.
Definition at line 49 of file DefaultHepRepInstance.cc.
View newest version in sPHENIX GitHub at line 49 of file DefaultHepRepInstance.cc
|
virtual |
Returns the attValue specified by name. This attValue is normally searched on the node itself and then on its type, moving up the typetree.
name | of attribute value. |
Implements cheprep::DefaultHepRepAttribute.
Definition at line 82 of file DefaultHepRepInstance.cc.
View newest version in sPHENIX GitHub at line 82 of file DefaultHepRepInstance.cc
References HEPREP::HepRepAttribute::getAttValue(), cheprep::DefaultHepRepAttribute::getAttValueFromNode(), and type.
|
virtual |
Returns a collection of all sub-instances this instance keeps.
Implements HEPREP::HepRepInstance.
Definition at line 78 of file DefaultHepRepInstance.cc.
View newest version in sPHENIX GitHub at line 78 of file DefaultHepRepInstance.cc
References instances.
|
inline |
Definition at line 52 of file DefaultHepRepInstance.h.
View newest version in sPHENIX GitHub at line 52 of file DefaultHepRepInstance.h
References parent.
|
virtual |
Returns a collection of all points this instance keeps.
Implements HEPREP::HepRepInstance.
Definition at line 62 of file DefaultHepRepInstance.cc.
View newest version in sPHENIX GitHub at line 62 of file DefaultHepRepInstance.cc
References points.
|
virtual |
Fills a double[3][n] array with the coordinates of all points, if none of the points have any attributes defined on them. The actual number of points filled is returned. In case the number of points is larger than n, or if any points have attributes, -1 is returned. One could then call getPoint().
xyz | a double[3][n] array to be filled with points. |
ONLY in JAVA Returns true if this instance has a frame. Speedy access for iterator.
ONLY in JAVA Returns String layername. Speedy access for iterator.
ONLY in JAVA Returns the parent of this instance.
Implements HEPREP::HepRepInstance.
Definition at line 66 of file DefaultHepRepInstance.cc.
View newest version in sPHENIX GitHub at line 66 of file DefaultHepRepInstance.cc
References parent.
|
virtual |
Returns the associated type for this instance.
Implements HEPREP::HepRepInstance.
Definition at line 54 of file DefaultHepRepInstance.cc.
View newest version in sPHENIX GitHub at line 54 of file DefaultHepRepInstance.cc
References type.
|
virtual |
Overlays the instance on the current instance.
Attributes of the instance override or are added to the current instance. Sub-instances of the instance are added only if the current instance has no sub-instances. Points of the instance are added only if the current instance has no points.
Implements HEPREP::HepRepInstance.
Definition at line 40 of file DefaultHepRepInstance.cc.
View newest version in sPHENIX GitHub at line 40 of file DefaultHepRepInstance.cc
|
virtual |
Removes a sub-instance from this instance.
instance | sub-instance. |
Implements HEPREP::HepRepInstance.
Definition at line 74 of file DefaultHepRepInstance.cc.
View newest version in sPHENIX GitHub at line 74 of file DefaultHepRepInstance.cc
|
private |
Definition at line 32 of file DefaultHepRepInstance.h.
View newest version in sPHENIX GitHub at line 32 of file DefaultHepRepInstance.h
Referenced by addInstance(), getInstances(), and ~DefaultHepRepInstance().
|
private |
Definition at line 29 of file DefaultHepRepInstance.h.
View newest version in sPHENIX GitHub at line 29 of file DefaultHepRepInstance.h
Referenced by DefaultHepRepInstance(), getParent(), getSuperInstance(), and ~DefaultHepRepInstance().
|
private |
Definition at line 31 of file DefaultHepRepInstance.h.
View newest version in sPHENIX GitHub at line 31 of file DefaultHepRepInstance.h
Referenced by addPoint(), getPoints(), and ~DefaultHepRepInstance().
|
private |
Definition at line 30 of file DefaultHepRepInstance.h.
View newest version in sPHENIX GitHub at line 30 of file DefaultHepRepInstance.h
Referenced by DefaultHepRepInstance(), getAttValue(), getType(), and ~DefaultHepRepInstance().