![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/visualization/HepRep/include/HEPREP/HepRepAttribute.h>
Inheritance diagram for HEPREP::HepRepAttribute:Public Member Functions | |
| virtual | ~HepRepAttribute () |
| Destructor. | |
| virtual void | addAttValue (HepRepAttValue *attValue)=0 |
| virtual void | addAttValue (std::string key, char *value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
| virtual void | addAttValue (std::string key, std::string value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
| virtual void | addAttValue (std::string key, int64 value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
| virtual void | addAttValue (std::string key, int value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
| virtual void | addAttValue (std::string key, double value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
| virtual void | addAttValue (std::string key, bool value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
| virtual void | addAttValue (std::string key, std::vector< double > value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
| virtual void | addAttValue (std::string key, double red, double green, double blue, double alpha=1.0, int showLabel=HepRepConstants::SHOW_NONE)=0 |
| virtual HepRepAttValue * | removeAttValue (std::string key)=0 |
| virtual HepRepAttValue * | getAttValue (std::string name)=0 |
| virtual std::set < HepRepAttValue * > | getAttValuesFromNode ()=0 |
| virtual HepRepAttValue * | getAttValueFromNode (std::string lowerCaseName)=0 |
HepRepAttribute interface.
Definition at line 29 of file HepRepAttribute.h.
View newest version in sPHENIX GitHub at line 29 of file HepRepAttribute.h
|
inlinevirtual |
Destructor.
Definition at line 33 of file HepRepAttribute.h.
View newest version in sPHENIX GitHub at line 33 of file HepRepAttribute.h
|
pure virtual |
Adds an attValue.
| attValue | to be added. |
Implemented in cheprep::DefaultHepRepAttribute.
Referenced by G4HepRepSceneHandler::addAttributes(), G4HepRepSceneHandler::AddSolid(), G4HepRepSceneHandler::addTopLevelAttributes(), G4HepRepSceneHandler::getCalHitFaceType(), G4HepRepSceneHandler::getCalHitType(), G4HepRepSceneHandler::getEventType(), G4HepRepSceneHandler::getGeometryRootType(), G4HepRepSceneHandler::getHitType(), G4HepRepSceneHandler::getTrajectoryType(), and G4HepRepSceneHandler::setAttribute().
Here is the caller graph for this function:
|
pure virtual |
Adds a char* attValue as a String. This call should be mapped to addAttValue(std::string, std::string, int); and necessary because C++ converts char* into bool and would thus call addAttValue(std::string, bool, int) for a call such as addAttValue("drawAs", "Cylinder", 0);
| key | name of attValue |
| value | value of attValue |
| showLabel | show this as label |
Implemented in cheprep::DefaultHepRepAttribute.
|
pure virtual |
Adds an attValue.
| key | name of attValue |
| value | value of attValue |
| showLabel | show this as label |
Implemented in cheprep::DefaultHepRepAttribute.
|
pure virtual |
Adds an attValue.
| key | name of attValue |
| value | value of attValue |
| showLabel | show this as label |
Implemented in cheprep::DefaultHepRepAttribute.
|
pure virtual |
Adds an attValue.
| key | name of attValue |
| value | value of attValue |
| showLabel | show this as label |
Implemented in cheprep::DefaultHepRepAttribute.
|
pure virtual |
Adds an attValue.
| key | name of attValue |
| value | value of attValue |
| showLabel | show this as label |
Implemented in cheprep::DefaultHepRepAttribute.
|
pure virtual |
Adds an attValue.
| key | name of attValue |
| value | value of attValue |
| showLabel | show this as label |
Implemented in cheprep::DefaultHepRepAttribute.
|
pure virtual |
Adds a Color attValue.
| key | name of attValue |
| value | value of attValue |
| showLabel | show this as label |
Implemented in cheprep::DefaultHepRepAttribute.
|
pure virtual |
Adds a Color attValue.
| key | name of attValue |
| red | color |
| green | color |
| blue | color |
| alpha | value |
| showLabel | show this as label |
Implemented in cheprep::DefaultHepRepAttribute.
|
pure 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. |
Implemented in cheprep::DefaultHepRepInstance, cheprep::DefaultHepRepAttribute, cheprep::DefaultHepRepType, cheprep::DefaultHepRepDefinition, and cheprep::DefaultHepRepPoint.
Referenced by cheprep::DefaultHepRepPoint::getAttValue(), cheprep::DefaultHepRepInstance::getAttValue(), and G4HepRepSceneHandler::setAttribute().
Here is the caller graph for this function:
|
pure virtual |
Returns a named attribute value from this node.
| lowerCaseName | name in all lowercase. |
Implemented in cheprep::DefaultHepRepAttribute.
Referenced by cheprep::DefaultHepRepType::getAttValue(), G4HepRepSceneHandler::setAttribute(), and cheprep::XMLHepRepWriter::write().
Here is the caller graph for this function:
|
pure virtual |
Returns a collection of all attribute values from this node.
Implemented in cheprep::DefaultHepRepAttribute.
Referenced by cheprep::XMLHepRepWriter::write().
Here is the caller graph for this function:
|
pure virtual |
Remove the attvalue named by key.
| key | name of the attValue to be removed. |
Implemented in cheprep::DefaultHepRepAttribute.