Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
Public 멤버 함수 | 모든 멤버 목록
HEPREP::HepRep 클래스 참조abstract

#include <HepRep.h>

HEPREP::HepRep에 대한 상속 다이어그램 :
cheprep::DefaultHepRep

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 HepRepTypeTreegetTypeTree (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 HepRepInstanceTreegetInstanceTreeTop (std::string name, std::string version)=0
 
virtual HepRepInstanceTreegetInstances (std::string name, std::string version, std::vector< std::string > typeNames)=0
 
virtual HepRepInstanceTreegetInstancesAfterAction (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 HepRepcopy (HepRepSelectFilter *filter=NULL)=0
 

상세한 설명

The HepRep interface.

Any of these methods may throw a UnsupportedOperationException in Java.

This interface is NOT final yet.

작성자
Mark Donszelmann

HepRep.h 파일의 52 번째 라인에서 정의되었습니다.

생성자 & 소멸자 문서화

virtual HEPREP::HepRep::~HepRep ( )
inlinevirtual

Destructor.

HepRep.h 파일의 56 번째 라인에서 정의되었습니다.

멤버 함수 문서화

virtual void HEPREP::HepRep::addInstanceTree ( HepRepInstanceTree instanceTree)
pure virtual

Searches for a named type in any of the typetrees. The first occurrence found is returned.

매개변수
namename of type.
반환값
named HepRepType. Adds an instancetree to this heprep.
매개변수
instanceTreeto be added.

cheprep::DefaultHepRep에서 구현되었습니다.

다음에 의해서 참조됨 : G4HepRepSceneHandler::getEventInstanceTree(), G4HepRepSceneHandler::getGeometryInstanceTree().

virtual void HEPREP::HepRep::addLayer ( std::string  layer)
pure virtual

Add a layer to the list of layers in this heprep. The layer is added to the back of the list.

매개변수
layername of layer to be added to the back of the list.

cheprep::DefaultHepRep에서 구현되었습니다.

다음에 의해서 참조됨 : G4HepRepSceneHandler::writeLayers().

virtual void HEPREP::HepRep::addTypeTree ( HepRepTypeTree typeTree)
pure virtual

Add a typetree to this heprep.

매개변수
typeTreeto be added.

cheprep::DefaultHepRep에서 구현되었습니다.

다음에 의해서 참조됨 : G4HepRepSceneHandler::getEventTypeTree(), G4HepRepSceneHandler::getGeometryTypeTree().

virtual std::string HEPREP::HepRep::checkForException ( )
pure virtual

Returns last exception thrown and clears it. Useful for implementations without exception handling.

반환값
last exception and clears it.

cheprep::DefaultHepRep에서 구현되었습니다.

virtual HepRep* HEPREP::HepRep::copy ( HepRepSelectFilter filter = NULL)
pure virtual

Returns a deep copy of the heprep, with all its attached trees, where instances are filtered using a HepRepSelectFilter.

매개변수
filterto be used for filtering instances.
반환값
copy of heprep.

cheprep::DefaultHepRep에서 구현되었습니다.

virtual HepRepInstanceTree* HEPREP::HepRep::getInstances ( std::string  name,
std::string  version,
std::vector< std::string >  typeNames 
)
pure virtual

Returns a named and versioned instancetree for a list of typenames.

This tree needs to be added to the heprep afterwards.

매개변수
namename of the instancetree.
versionversion of the instancetree.
typeNamesa list of typenames for which we need instancetrees.
반환값
HepRepIntanceTree

cheprep::DefaultHepRep에서 구현되었습니다.

virtual HepRepInstanceTree* HEPREP::HepRep::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 
)
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:

  • GetDrawAtts GetNonDrawAtts effect of InvertAtts
  • FALSE FALSE all Attributes specified will be downloaded
  • TRUE FALSE Draw Attributes specified will be omitted, NonDraw Attributes specified will be included
  • FALSE TRUE Draw Attributes specified will be included, NonDraw Attributes specified will be omitted
  • TRUE TRUE all Attributes specified will be omitted
매개변수
namename of the instancetree.
versionversion of the instancetree.
typeNamesa list of typenames for which we need instancetrees.
actionsexecute this list of actions before returning.
getPointsinclude the HepRepPoints in the instance tree.
getDrawAttsinclude the Draw attributes in the instance tree.
getNonDrawAttsinclude the Non-Draw attributes in the instance tree.
invertAttslist of attributes to be included or not depending on getDrawAtts and getNonDrawAtts.
반환값
HepRepIntanceTree

cheprep::DefaultHepRep에서 구현되었습니다.

virtual std::vector<HepRepInstanceTree *> HEPREP::HepRep::getInstanceTreeList ( )
pure virtual

Returns a collection of instancetrees.

반환값
collection of HepRepInstanceTrees.

cheprep::DefaultHepRep에서 구현되었습니다.

다음에 의해서 참조됨 : cheprep::XMLHepRepWriter::write().

virtual HepRepInstanceTree* HEPREP::HepRep::getInstanceTreeTop ( std::string  name,
std::string  version 
)
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.

매개변수
namename of the instancetree.
versionversion of the instancetree.
반환값
HepRepIntanceTree

cheprep::DefaultHepRep에서 구현되었습니다.

virtual std::vector<std::string> HEPREP::HepRep::getLayerOrder ( )
pure virtual

Returns the list of layers.

반환값
the known layer names, in the order back-to-front.

cheprep::DefaultHepRep에서 구현되었습니다.

다음에 의해서 참조됨 : cheprep::XMLHepRepWriter::write().

virtual HepRepTypeTree* HEPREP::HepRep::getTypeTree ( std::string  name,
std::string  version 
)
pure virtual

Returns a named and versioned typetree.

매개변수
namename of the typetree.
versionversion of the typetree.
반환값
named and versioned HepRepTypeTree.

cheprep::DefaultHepRep에서 구현되었습니다.

virtual std::vector<HepRepTypeTree *> HEPREP::HepRep::getTypeTreeList ( )
pure virtual

Returns the collection of all typetrees of this heprep.

반환값
collection of HepRepTypeTrees.

cheprep::DefaultHepRep에서 구현되었습니다.

다음에 의해서 참조됨 : cheprep::XMLHepRepWriter::write().

virtual void HEPREP::HepRep::overlayInstanceTree ( HepRepInstanceTree instanceTree)
pure virtual

Overlays an instancetree to this heprep, overriding attributes and adding children.

매개변수
instanceTreeto be overlaid.

cheprep::DefaultHepRep에서 구현되었습니다.

virtual void HEPREP::HepRep::removeInstanceTree ( HepRepInstanceTree instanceTree)
pure virtual

Remove an instanectree from this heprep.

매개변수
instanceTreeto be removed.

cheprep::DefaultHepRep에서 구현되었습니다.

virtual void HEPREP::HepRep::removeTypeTree ( HepRepTypeTree typeTree)
pure virtual

Remove a typetree from this heprep.

매개변수
typeTreeto be removed.

cheprep::DefaultHepRep에서 구현되었습니다.


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: