|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.geometricModel.SceneGraphUtilities
public final class SceneGraphUtilities
Utility class for SceneGraph operations.
| Method Summary | ||
|---|---|---|
static PhysicalObject |
createPhysicalSnapshot(PhysicalObject original,
AbstractFrame motionFrame)
Creates a physical representation snapshot of a PhysicalObject
without logical information such as scene-graph information or other
relationships. |
|
static
|
createTreeSnapshot(T original)
Creates a dummy SceneGraph-snapshot containing only the relevant relations but including load data. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PhysicalObject createPhysicalSnapshot(PhysicalObject original,
AbstractFrame motionFrame)
PhysicalObject
without logical information such as scene-graph information or other
relationships.
original - root PhysicalObject to create the snapshot frommotionFrame - Frame to set as defaultMotionFrame of the resulting
snapshot object
public static <T extends SceneGraphObject> T createTreeSnapshot(T original)
Note: Use carefully with types other than PhysicalObject
T - type parameter of the root SceneGraphObject and the
return valueoriginal - root SceneGraphObject to copy the descendant tree from
SceneGraphObject with
all relevant relations and load data
IllegalStateException - when an instance in the tree can't be cloned
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||