|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthep.graphics.heprep.util.HepRepUtil
Field Summary | |
static String |
cvsId
|
Method Summary | |
static void |
copyAttributes(HepRepAttribute src,
HepRepAttribute dst)
copy all attributes (defs and values) from node src to node dst |
static boolean |
debug()
Print statements in equal methods |
static long |
decodeHex(String s)
Decodes a non-negative Hex number into a long |
static double |
decodeNumber(String s)
Decodes a String into a Double. |
static long |
decodeSpecial(String s)
Decodes a non-negative Special number into a long |
static String |
encodeSpecial(long d)
|
static Set |
getAllLayerNames(HepRepInstanceTree instanceTree,
boolean checkVisible,
boolean checkPickable)
Returns a Set of all layernames which are used. |
static HepRepConverter |
getHepRepConverter(org.openide.util.Lookup registry,
Class cls)
Deprecated. use getHepRepProvider(). |
static HepRepProvider |
getHepRepProvider(org.openide.util.Lookup registry,
Object object)
Finds the first HepRepProvider which converts object. |
static HepRepIterator |
getInstances(List instanceTrees,
List layers,
Set types,
boolean iterateFrames)
Returns an iterator which walks the full list of instances within a list of HepRepInstanceTrees |
static HepRepType |
getType(Collection types,
String name)
Look for hierarchical type name in Collection (Set) of types, checking its subtypes. |
static String |
getUnit(HepRepAttDef attDef)
Returns the Unit from the extra info. |
static Iterator |
iterator(Iterator first,
Iterator second)
iterates two iterations in order |
static void |
main(String[] args)
|
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
Method Detail |
public static boolean debug()
public static double decodeNumber(String s)
0ds: where number is the DoubleToLongBits encoding in special format 0d0x : where number is the DoubleToLongBits encoding in hex 0d# : where number is the DoubleToLongBits encoding in hex 0d : where number is the DoubleToLongBits encoding in decimal 0x : where number is the Hex encoding of a Long : where number contains (.Ee) and is parsed into a Double : where number contains no (.Ee) and is parsed into a Long
public static long decodeHex(String s) throws NumberFormatException
NumberFormatException
public static long decodeSpecial(String s) throws NumberFormatException
NumberFormatException
public static String encodeSpecial(long d)
public static void main(String[] args)
public static void copyAttributes(HepRepAttribute src, HepRepAttribute dst) throws CloneNotSupportedException
CloneNotSupportedException
public static HepRepType getType(Collection types, String name)
public static HepRepIterator getInstances(List instanceTrees, List layers, Set types, boolean iterateFrames)
layers
- list of layers to iteratate over or null.public static Iterator iterator(Iterator first, Iterator second)
public static HepRepProvider getHepRepProvider(org.openide.util.Lookup registry, Object object)
public static HepRepConverter getHepRepConverter(org.openide.util.Lookup registry, Class cls)
public static String getUnit(HepRepAttDef attDef)
public static Set getAllLayerNames(HepRepInstanceTree instanceTree, boolean checkVisible, boolean checkPickable)
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |