|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hep.graphics.heprep.HepRepFactory hep.graphics.heprep.ref.DefaultHepRepFactory
Field Summary | |
static String |
cvsId
|
Fields inherited from class hep.graphics.heprep.HepRepFactory |
defaultFactoryName, factoryName, propertyFile |
Constructor Summary | |
DefaultHepRepFactory()
|
Method Summary | |
HepRep |
createHepRep()
Creates a HepRep. |
HepRepAction |
createHepRepAction(String name,
String expression)
Creates a HepRepAction. |
HepRepInstance |
createHepRepInstance(HepRepInstance parent,
HepRepType type)
Creates a HepRepInstance. |
HepRepInstance |
createHepRepInstance(HepRepInstanceTree parent,
HepRepType type)
Creates a HepRepInstance. |
HepRepInstanceTree |
createHepRepInstanceTree(String name,
String version,
HepRepTreeID typeTree)
Creates a HepRepInstanceTree. |
HepRepPoint |
createHepRepPoint(HepRepInstance instance,
double x,
double y,
double z)
Creates a HepRepPoint. |
HepRepReader |
createHepRepReader(InputStream in)
Creates a HepRepReader from a stream. |
HepRepReader |
createHepRepReader(String inputFileName)
Creates a HepRepReader from a file name. |
HepRepTreeID |
createHepRepTreeID(String name,
String version,
String qualifier)
Creates a HepRepTreeID. |
HepRepType |
createHepRepType(HepRepType parent,
String name)
Creates a HepRepType. |
HepRepType |
createHepRepType(HepRepTypeTree parent,
String name)
Creates a HepRepType. |
HepRepTypeTree |
createHepRepTypeTree(HepRepTreeID treeID)
Creates a HepRepTypeTree. |
HepRepWriter |
createHepRepWriter(OutputStream out,
boolean randomAccess,
boolean compress)
Creates a HepRepWriter. |
Methods inherited from class hep.graphics.heprep.HepRepFactory |
create, createHepRepTreeID |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String cvsId
Constructor Detail |
public DefaultHepRepFactory()
Method Detail |
public HepRepReader createHepRepReader(InputStream in) throws IOException
HepRepFactory
createHepRepReader
in class HepRepFactory
in
- input stream.
IOException
public HepRepReader createHepRepReader(String inputFileName) throws IOException
HepRepFactory
createHepRepReader
in class HepRepFactory
inputFileName
- file name.
IOException
public HepRepWriter createHepRepWriter(OutputStream out, boolean randomAccess, boolean compress) throws IOException
HepRepFactory
createHepRepWriter
in class HepRepFactory
out
- output stream.randomAccess
- create a writer in a format that will allow random access (may be ignored).compress
- create a writer that uses compression (may be ignored).
IOException
public HepRepPoint createHepRepPoint(HepRepInstance instance, double x, double y, double z)
HepRepFactory
createHepRepPoint
in class HepRepFactory
instance
- to add the point to.x
- x coordinate of point.y
- y coordinate of point.z
- z coordinate of point.public HepRepInstance createHepRepInstance(HepRepInstance parent, HepRepType type)
HepRepFactory
createHepRepInstance
in class HepRepFactory
public HepRepInstance createHepRepInstance(HepRepInstanceTree parent, HepRepType type)
HepRepFactory
createHepRepInstance
in class HepRepFactory
public HepRepTreeID createHepRepTreeID(String name, String version, String qualifier)
HepRepFactory
createHepRepTreeID
in class HepRepFactory
name
- of the treeID.version
- of the treeID.qualifier
- of the treeID.public HepRepAction createHepRepAction(String name, String expression)
HepRepFactory
createHepRepAction
in class HepRepFactory
name
- of the action.expression
- of the action.public HepRepInstanceTree createHepRepInstanceTree(String name, String version, HepRepTreeID typeTree)
HepRepFactory
The tree needs to be added to the HepRep.
createHepRepInstanceTree
in class HepRepFactory
name
- of the instancetree.version
- of the instancetree.typeTree
- associated typetree.public HepRepType createHepRepType(HepRepType parent, String name)
HepRepFactory
createHepRepType
in class HepRepFactory
parent
- to add this type to.name
- of the type to create.public HepRepType createHepRepType(HepRepTypeTree parent, String name)
HepRepFactory
createHepRepType
in class HepRepFactory
parent
- to add this type to.name
- of the type to create.public HepRepTypeTree createHepRepTypeTree(HepRepTreeID treeID)
HepRepFactory
The tree needs to be added to the HepRep.
createHepRepTypeTree
in class HepRepFactory
treeID
- to name the tree being created.public HepRep createHepRep()
HepRepFactory
createHepRep
in class HepRepFactory
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |