#include <HepRepInstance.h>
|
virtual | ~HepRepInstance () |
| Destructor. 더 자세히 ...
|
|
virtual void | overlay (HepRepInstance *instance)=0 |
|
virtual void | addInstance (HepRepInstance *instance)=0 |
|
virtual void | removeInstance (HepRepInstance *instance)=0 |
|
virtual std::vector
< HepRepInstance * > | getInstances ()=0 |
|
virtual HepRepType * | getType ()=0 |
|
virtual void | addPoint (HepRepPoint *point)=0 |
|
virtual std::vector
< HepRepPoint * > | getPoints ()=0 |
|
virtual HepRepInstance * | getSuperInstance ()=0 |
|
virtual HepRepInstance * | copy (HepRepTypeTree *typeTree, HepRepInstance *parent, HepRepSelectFilter *filter=NULL)=0 |
|
virtual HepRepInstance * | copy (HepRepTypeTree *typeTree, HepRepInstanceTree *parent, HepRepSelectFilter *filter=NULL)=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 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 |
|
HepRepInstance interface.
- 작성자
- Mark Donszelmann
HepRepInstance.h 파일의 29 번째 라인에서 정의되었습니다.
virtual HEPREP::HepRepInstance::~HepRepInstance |
( |
| ) |
|
|
inlinevirtual |
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.
- 매개변수
-
key | name of attValue |
red | color |
green | color |
blue | color |
alpha | value |
showLabel | show this as label |
cheprep::DefaultHepRepAttribute에서 구현되었습니다.
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. |
- 반환값
- copy of this instance.
cheprep::DefaultHepRepInstance에서 구현되었습니다.
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. |
- 반환값
- copy of this instance.
cheprep::DefaultHepRepInstance에서 구현되었습니다.
virtual HepRepAttValue* HEPREP::HepRepAttribute::getAttValue |
( |
std::string |
name | ) |
|
|
pure virtualinherited |
virtual HepRepAttValue* HEPREP::HepRepAttribute::getAttValueFromNode |
( |
std::string |
lowerCaseName | ) |
|
|
pure virtualinherited |
virtual std::set<HepRepAttValue *> HEPREP::HepRepAttribute::getAttValuesFromNode |
( |
| ) |
|
|
pure virtualinherited |
virtual std::vector<HepRepInstance *> HEPREP::HepRepInstance::getInstances |
( |
| ) |
|
|
pure virtual |
virtual std::vector<HepRepPoint *> HEPREP::HepRepInstance::getPoints |
( |
| ) |
|
|
pure 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().
- 참고
- getPoints()
- 매개변수
-
xyz | a double[3][n] array to be filled with points. |
- 반환값
- number of points filled in xyz, or -1 in case of error or non-implementation.
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.
- 반환값
- parent of instance, or null if top-level.
cheprep::DefaultHepRepInstance에서 구현되었습니다.
virtual HepRepType* HEPREP::HepRepInstance::getType |
( |
| ) |
|
|
pure 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.
cheprep::DefaultHepRepInstance에서 구현되었습니다.
virtual HepRepAttValue* HEPREP::HepRepAttribute::removeAttValue |
( |
std::string |
key | ) |
|
|
pure virtualinherited |
이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: