#include <HepRep.h>
Public 멤버 함수 | |
virtual | ~HepRep () |
Destructor. 더 자세히 ... | |
virtual void | addLayer (std::string layer)=0 |
virtual std::vector< std::string > | getLayerOrder ()=0 |
virtual void | addTypeTree (HepRepTypeTree *typeTree)=0 |
virtual void | removeTypeTree (HepRepTypeTree *typeTree)=0 |
virtual std::vector < HepRepTypeTree * > | getTypeTreeList ()=0 |
virtual HepRepTypeTree * | getTypeTree (std::string name, std::string version)=0 |
virtual void | addInstanceTree (HepRepInstanceTree *instanceTree)=0 |
virtual void | overlayInstanceTree (HepRepInstanceTree *instanceTree)=0 |
virtual void | removeInstanceTree (HepRepInstanceTree *instanceTree)=0 |
virtual std::vector < HepRepInstanceTree * > | getInstanceTreeList ()=0 |
virtual HepRepInstanceTree * | getInstanceTreeTop (std::string name, std::string version)=0 |
virtual HepRepInstanceTree * | getInstances (std::string name, std::string version, std::vector< std::string > typeNames)=0 |
virtual HepRepInstanceTree * | getInstancesAfterAction (std::string name, std::string version, std::vector< std::string > typeNames, std::vector< HepRepAction * > actions, bool getPoints, bool getDrawAtts, bool getNonDrawAtts, std::vector< std::string > invertAtts)=0 |
virtual std::string | checkForException ()=0 |
virtual HepRep * | copy (HepRepSelectFilter *filter=NULL)=0 |
The HepRep interface.
Any of these methods may throw a UnsupportedOperationException in Java.
This interface is NOT final yet.
|
pure virtual |
Searches for a named type in any of the typetrees. The first occurrence found is returned.
name | name of type. |
instanceTree | to be added. |
cheprep::DefaultHepRep에서 구현되었습니다.
다음에 의해서 참조됨 : G4HepRepSceneHandler::getEventInstanceTree(), G4HepRepSceneHandler::getGeometryInstanceTree().
|
pure virtual |
Add a layer to the list of layers in this heprep. The layer is added to the back of the list.
layer | name of layer to be added to the back of the list. |
cheprep::DefaultHepRep에서 구현되었습니다.
다음에 의해서 참조됨 : G4HepRepSceneHandler::writeLayers().
|
pure virtual |
Add a typetree to this heprep.
typeTree | to be added. |
cheprep::DefaultHepRep에서 구현되었습니다.
다음에 의해서 참조됨 : G4HepRepSceneHandler::getEventTypeTree(), G4HepRepSceneHandler::getGeometryTypeTree().
|
pure virtual |
Returns last exception thrown and clears it. Useful for implementations without exception handling.
cheprep::DefaultHepRep에서 구현되었습니다.
|
pure virtual |
Returns a deep copy of the heprep, with all its attached trees, where instances are filtered using a HepRepSelectFilter.
filter | to be used for filtering instances. |
cheprep::DefaultHepRep에서 구현되었습니다.
|
pure virtual |
Returns a named and versioned instancetree for a list of typenames.
This tree needs to be added to the heprep afterwards.
name | name of the instancetree. |
version | version of the instancetree. |
typeNames | a list of typenames for which we need instancetrees. |
cheprep::DefaultHepRep에서 구현되었습니다.
|
pure virtual |
Returns a named and versioned instancetree for a list of typenames after executing some action and for specific filters.
This tree needs to be added to the heprep afterwards.
The inversion effect of invertAtts depends on the values of GetDrawAtts and GetNonDrawAtts as follows:
name | name of the instancetree. |
version | version of the instancetree. |
typeNames | a list of typenames for which we need instancetrees. |
actions | execute this list of actions before returning. |
getPoints | include the HepRepPoints in the instance tree. |
getDrawAtts | include the Draw attributes in the instance tree. |
getNonDrawAtts | include the Non-Draw attributes in the instance tree. |
invertAtts | list of attributes to be included or not depending on getDrawAtts and getNonDrawAtts. |
cheprep::DefaultHepRep에서 구현되었습니다.
|
pure virtual |
Returns a collection of instancetrees.
cheprep::DefaultHepRep에서 구현되었습니다.
다음에 의해서 참조됨 : cheprep::XMLHepRepWriter::write().
|
pure virtual |
Returns a named and versioned instancetree. FIXME: doc is incorrect here, should only return TOP of the tree. Filling in should be done by getInstances calls.
This tree needs to be added to the heprep afterwards.
name | name of the instancetree. |
version | version of the instancetree. |
cheprep::DefaultHepRep에서 구현되었습니다.
|
pure virtual |
Returns the list of layers.
cheprep::DefaultHepRep에서 구현되었습니다.
다음에 의해서 참조됨 : cheprep::XMLHepRepWriter::write().
|
pure virtual |
Returns a named and versioned typetree.
name | name of the typetree. |
version | version of the typetree. |
cheprep::DefaultHepRep에서 구현되었습니다.
|
pure virtual |
Returns the collection of all typetrees of this heprep.
cheprep::DefaultHepRep에서 구현되었습니다.
다음에 의해서 참조됨 : cheprep::XMLHepRepWriter::write().
|
pure virtual |
Overlays an instancetree to this heprep, overriding attributes and adding children.
instanceTree | to be overlaid. |
cheprep::DefaultHepRep에서 구현되었습니다.
|
pure virtual |
Remove an instanectree from this heprep.
instanceTree | to be removed. |
cheprep::DefaultHepRep에서 구현되었습니다.
|
pure virtual |