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

#include <HepRepPoint.h>

HEPREP::HepRepPoint에 대한 상속 다이어그램 :
HEPREP::HepRepAttribute cheprep::DefaultHepRepPoint

Public 멤버 함수

virtual ~HepRepPoint ()
 Destructor. 더 자세히 ...
 
virtual double getX ()=0
 
virtual double getY ()=0
 
virtual double getZ ()=0
 
virtual double getRho ()=0
 
virtual double getPhi ()=0
 
virtual double getTheta ()=0
 
virtual double getR ()=0
 
virtual double getEta ()=0
 
virtual double getX (double xVertex, double yVertex, double zVertex)=0
 
virtual double getY (double xVertex, double yVertex, double zVertex)=0
 
virtual double getZ (double xVertex, double yVertex, double zVertex)=0
 
virtual double getRho (double xVertex, double yVertex, double zVertex)=0
 
virtual double getPhi (double xVertex, double yVertex, double zVertex)=0
 
virtual double getTheta (double xVertex, double yVertex, double zVertex)=0
 
virtual double getR (double xVertex, double yVertex, double zVertex)=0
 
virtual double getEta (double xVertex, double yVertex, double zVertex)=0
 
virtual std::vector< double > * getXYZ (std::vector< double > *xyz)=0
 
virtual HepRepInstancegetInstance ()=0
 
virtual HepRepPointcopy (HepRepInstance *parent)=0
 
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 HepRepAttValueremoveAttValue (std::string key)=0
 
virtual HepRepAttValuegetAttValue (std::string name)=0
 
virtual std::set
< HepRepAttValue * > 
getAttValuesFromNode ()=0
 
virtual HepRepAttValuegetAttValueFromNode (std::string lowerCaseName)=0
 

상세한 설명

HepRepPoint interface. The HepRepMath class can be used to deal with the conversions.

작성자
Mark Donszelmann

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

생성자 & 소멸자 문서화

virtual HEPREP::HepRepPoint::~HepRepPoint ( )
inlinevirtual

Destructor.

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

멤버 함수 문서화

virtual void HEPREP::HepRepAttribute::addAttValue ( HepRepAttValue attValue)
pure virtualinherited
virtual void HEPREP::HepRepAttribute::addAttValue ( std::string  key,
char *  value,
int  showLabel = HepRepConstants::SHOW_NONE 
)
pure virtualinherited

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);

매개변수
keyname of attValue
valuevalue of attValue
showLabelshow this as label

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

virtual void HEPREP::HepRepAttribute::addAttValue ( std::string  key,
std::string  value,
int  showLabel = HepRepConstants::SHOW_NONE 
)
pure virtualinherited

Adds an attValue.

매개변수
keyname of attValue
valuevalue of attValue
showLabelshow this as label

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

virtual void HEPREP::HepRepAttribute::addAttValue ( std::string  key,
int64  value,
int  showLabel = HepRepConstants::SHOW_NONE 
)
pure virtualinherited

Adds an attValue.

매개변수
keyname of attValue
valuevalue of attValue
showLabelshow this as label

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

virtual void HEPREP::HepRepAttribute::addAttValue ( std::string  key,
int  value,
int  showLabel = HepRepConstants::SHOW_NONE 
)
pure virtualinherited

Adds an attValue.

매개변수
keyname of attValue
valuevalue of attValue
showLabelshow this as label

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

virtual void HEPREP::HepRepAttribute::addAttValue ( std::string  key,
double  value,
int  showLabel = HepRepConstants::SHOW_NONE 
)
pure virtualinherited

Adds an attValue.

매개변수
keyname of attValue
valuevalue of attValue
showLabelshow this as label

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

virtual void HEPREP::HepRepAttribute::addAttValue ( std::string  key,
bool  value,
int  showLabel = HepRepConstants::SHOW_NONE 
)
pure virtualinherited

Adds an attValue.

매개변수
keyname of attValue
valuevalue of attValue
showLabelshow this as label

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

virtual void HEPREP::HepRepAttribute::addAttValue ( std::string  key,
std::vector< double >  value,
int  showLabel = HepRepConstants::SHOW_NONE 
)
pure virtualinherited

Adds a Color attValue.

매개변수
keyname of attValue
valuevalue of attValue
showLabelshow this as label

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

virtual void HEPREP::HepRepAttribute::addAttValue ( std::string  key,
double  red,
double  green,
double  blue,
double  alpha = 1.0,
int  showLabel = HepRepConstants::SHOW_NONE 
)
pure virtualinherited

Adds a Color attValue.

매개변수
keyname of attValue
redcolor
greencolor
bluecolor
alphavalue
showLabelshow this as label

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

virtual HepRepPoint* HEPREP::HepRepPoint::copy ( HepRepInstance parent)
pure virtual

Returns a deep copy of this point.

매개변수
parentto add the copy to.
반환값
copy of this point.

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

virtual HepRepAttValue* HEPREP::HepRepAttribute::getAttValue ( std::string  name)
pure virtualinherited

Returns the attValue specified by name. This attValue is normally searched on the node itself and then on its type, moving up the typetree.

매개변수
nameof attribute value.
반환값
attribute value.

cheprep::DefaultHepRepInstance, cheprep::DefaultHepRepAttribute, cheprep::DefaultHepRepType, cheprep::DefaultHepRepDefinition, cheprep::DefaultHepRepPoint에서 구현되었습니다.

다음에 의해서 참조됨 : cheprep::DefaultHepRepPoint::getAttValue(), cheprep::DefaultHepRepInstance::getAttValue(), G4HepRepSceneHandler::setAttribute().

virtual HepRepAttValue* HEPREP::HepRepAttribute::getAttValueFromNode ( std::string  lowerCaseName)
pure virtualinherited

Returns a named attribute value from this node.

매개변수
lowerCaseNamename in all lowercase.
반환값
corresponding HepRepAttValue.

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

다음에 의해서 참조됨 : cheprep::DefaultHepRepType::getAttValue(), G4HepRepSceneHandler::setAttribute(), cheprep::XMLHepRepWriter::write().

virtual std::set<HepRepAttValue *> HEPREP::HepRepAttribute::getAttValuesFromNode ( )
pure virtualinherited

Returns a collection of all attribute values from this node.

반환값
collection of HepRepAttValues.

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

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

virtual double HEPREP::HepRepPoint::getEta ( )
pure virtual

Returns coordinate with respect to vertex at (0, 0, 0).

반환값
eta = -0.5*clog((1.-ct)/(1.+ct)), where ct = .cos(getTheta(dx, dy, dz));

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

virtual double HEPREP::HepRepPoint::getEta ( double  xVertex,
double  yVertex,
double  zVertex 
)
pure virtual

Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).

반환값
eta = -0.5*clog((1.-ct)/(1.+ct)), where ct = .cos(getTheta(dx, dy, dz));

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

virtual HepRepInstance* HEPREP::HepRepPoint::getInstance ( )
pure virtual

Returns associated instance (parent).

반환값
HepRepInstance.

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

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

virtual double HEPREP::HepRepPoint::getPhi ( )
pure virtual

Returns coordinate with respect to vertex at (0, 0, 0).

반환값
phi = std::atan2(dy, dx);

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

virtual double HEPREP::HepRepPoint::getPhi ( double  xVertex,
double  yVertex,
double  zVertex 
)
pure virtual

Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).

반환값
phi = std::atan2(dy, dx);

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

virtual double HEPREP::HepRepPoint::getR ( )
pure virtual

Returns coordinate with respect to vertex at (0, 0, 0).

반환값
r = std::sqrt(dx2+dy2+dz2);

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

virtual double HEPREP::HepRepPoint::getR ( double  xVertex,
double  yVertex,
double  zVertex 
)
pure virtual

Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).

반환값
r = std::sqrt(dx2+dy2+dz2);

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

virtual double HEPREP::HepRepPoint::getRho ( )
pure virtual

Returns coordinate with respect to vertex at (0, 0, 0).

반환값
rho = std::sqrt(dx2+dy2);

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

virtual double HEPREP::HepRepPoint::getRho ( double  xVertex,
double  yVertex,
double  zVertex 
)
pure virtual

Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).

반환값
rho = std::sqrt(dx2+dy2);

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

virtual double HEPREP::HepRepPoint::getTheta ( )
pure virtual

Returns coordinate with respect to vertex at (0, 0, 0).

반환값
theta = std::atan2(rho, dx);

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

virtual double HEPREP::HepRepPoint::getTheta ( double  xVertex,
double  yVertex,
double  zVertex 
)
pure virtual

Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).

반환값
theta = std::atan2(rho, dx);

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

virtual double HEPREP::HepRepPoint::getX ( )
pure virtual

Returns coordinate with respect to vertex at (0, 0, 0).

반환값
dx-coordinate

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

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

virtual double HEPREP::HepRepPoint::getX ( double  xVertex,
double  yVertex,
double  zVertex 
)
pure virtual

Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).

반환값
dx-coordinate

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

virtual std::vector<double>* HEPREP::HepRepPoint::getXYZ ( std::vector< double > *  xyz)
pure virtual

Returns coordinate with respect to vertex at (0, 0, 0).

매개변수
xyzlist of three coordinates which are filled and returned. If null, a new list of three coordinates is allocated.
반환값
list of 3 coordinates.

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

virtual double HEPREP::HepRepPoint::getY ( )
pure virtual

Returns coordinate with respect to vertex at (0, 0, 0).

반환값
dy-coordinate

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

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

virtual double HEPREP::HepRepPoint::getY ( double  xVertex,
double  yVertex,
double  zVertex 
)
pure virtual

Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).

반환값
dy-coordinate

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

virtual double HEPREP::HepRepPoint::getZ ( )
pure virtual

Returns coordinate with respect to vertex at (0, 0, 0).

반환값
dz-coordinate

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

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

virtual double HEPREP::HepRepPoint::getZ ( double  xVertex,
double  yVertex,
double  zVertex 
)
pure virtual

Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).

반환값
dz-coordinate

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

virtual HepRepAttValue* HEPREP::HepRepAttribute::removeAttValue ( std::string  key)
pure virtualinherited

Remove the attvalue named by key.

매개변수
keyname of the attValue to be removed.
반환값
removed HepRepAttValue, or null if not removed.

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


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