| 
 | FreeHEP API Version current | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
HepRepInstance interface.
| Field Summary | 
| Fields inherited from interface hep.graphics.heprep.HepRepConstants | 
| SHOW_DESC, SHOW_EXTRA, SHOW_NAME, SHOW_NONE, SHOW_VALUE, TYPE_BOOLEAN, TYPE_COLOR, TYPE_DOUBLE, TYPE_INT, TYPE_LONG, TYPE_STRING, TYPE_UNKNOWN | 
| Method Summary | |
|  void | addInstance(HepRepInstance instance)Adds an sub-instance to this instance. | 
|  void | addPoint(HepRepPoint point)Adds a point to this instance. | 
|  HepRepInstance | copy(HepRepTypeTree typeTree,
     HepRepInstance parent)Returns a deep copy of this instance. | 
|  HepRepInstance | copy(HepRepTypeTree typeTree,
     HepRepInstance parent,
     HepRepSelectFilter filter)Returns a deep copy of this instance. | 
|  HepRepInstance | copy(HepRepTypeTree typeTree,
     HepRepInstanceTree parent)Returns a deep copy of this instance. | 
|  HepRepInstance | copy(HepRepTypeTree typeTree,
     HepRepInstanceTree parent,
     HepRepSelectFilter filter)Returns a deep copy of this instance. | 
|  List | getInstances()Returns a collection of all sub-instances this instance keeps. | 
|  String | getLayer()Returns String layername. | 
|  List | getPoints()Returns a collection of all points this instance keeps. | 
|  int | getPoints(double[][] xyz)Fills a double[3][n] array with the coordinates of all points, if none of the points have any attributes defined on them. | 
|  HepRepInstance | getSuperInstance()Returns the parent of this instance. | 
|  HepRepType | getType()Returns the associated type for this instance. | 
|  Object | getUserObject()Returns a user object previously set on this instance. | 
|  boolean | hasFrame()Returns true if this instance has a frame. | 
|  void | overlay(HepRepInstance instance)Overlays the instance on the current instance. | 
|  void | removeInstance(HepRepInstance instance)Removes a sub-instance from this instance. | 
|  void | setUserObject(Object object)Sets a User Object on this instance. | 
| Methods inherited from interface hep.graphics.heprep.HepRepAttribute | 
| addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue | 
| Method Detail | 
public void overlay(HepRepInstance instance)
public void addInstance(HepRepInstance instance)
instance - sub-instance.public void removeInstance(HepRepInstance instance)
instance - sub-instance.public List getInstances()
public HepRepType getType()
public void addPoint(HepRepPoint point)
point - to be added.public List getPoints()
public int getPoints(double[][] xyz)
getPoints()public boolean hasFrame()
public String getLayer()
public HepRepInstance getSuperInstance()
public HepRepInstance copy(HepRepTypeTree typeTree,
                           HepRepInstance parent)
                    throws CloneNotSupportedException
typeTree - needed to find the associated type.parent - to which the copy is added.
CloneNotSupportedException - if copying is not possible.
public HepRepInstance copy(HepRepTypeTree typeTree,
                           HepRepInstance parent,
                           HepRepSelectFilter filter)
                    throws CloneNotSupportedException
typeTree - needed to find the associated type.parent - to which the copy is added.filter - run on all instances before copying.
CloneNotSupportedException - if copying is not possible.
public HepRepInstance copy(HepRepTypeTree typeTree,
                           HepRepInstanceTree parent)
                    throws CloneNotSupportedException
typeTree - needed to find the associated type.parent - to which the copy is added.
CloneNotSupportedException - if copying is not possible.
public HepRepInstance copy(HepRepTypeTree typeTree,
                           HepRepInstanceTree parent,
                           HepRepSelectFilter filter)
                    throws CloneNotSupportedException
typeTree - needed to find the associated type.parent - to which the copy is added.filter - run on all instances before copying.
CloneNotSupportedException - if copying is not possible.public void setUserObject(Object object)
object - User Object.public Object getUserObject()
| 
 | FreeHEP API Version current | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||