|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.common.TaggableObject
com.kuka.roboticsAPI.geometricModel.SceneGraphObject
com.kuka.roboticsAPI.geometricModel.World
public final class World
The world is a special scene graph object which represents the origin of the scene graph.
It exists only once (singleton) and most frames will need to be connected through one or more relations to its root.
| Field Summary | |
|---|---|
static World |
Current
This is the singleton instance of the world. |
static String |
WORLD_FRAME_ID
The WorldFrame is not persistent, but must have a unique ID. |
| Method Summary | |
|---|---|
protected void |
changeParent(ObjectFrame frame)
Changes the parent of this object. |
Vector |
getGravitation()
Gets the gravitation vector of the world in [m/s^2]. |
void |
setGravitation(double x,
double y,
double z)
Sets the gravitation vector for the world in [m/s^2]. |
void |
setGravitation(Vector gravitation)
Sets the gravitation vector for the world. |
String |
toString()
|
| Methods inherited from class com.kuka.roboticsAPI.geometricModel.SceneGraphObject |
|---|
addChildFrame, addChildFrame, addChildFrame, addChildFrame, addChildFrame, addChildFrame, allObjects, changeFrameParent, changeFramePosition, findMembersOfGroup, findRobot, getAllFrames, getAllUserParameters, getChild, getChildFrameLock, getChildren, getFrame, getName, getParent, getRootFrame, getRootOfGroup, getUserParameter, groupToParent, isDescendantOf, isGroupedToParent, isMemberOfGroup, isRootOfGroup, removeFrame, renameFrame, setName, setRootFrame, setUserParameter, ungroupFromParent |
| Methods inherited from class com.kuka.common.TaggableObject |
|---|
getTag, setTag |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String WORLD_FRAME_ID
public static final World Current
| Method Detail |
|---|
public Vector getGravitation()
public String toString()
SceneGraphObject
toString in class SceneGraphObjectpublic void setGravitation(Vector gravitation)
gravitation - the gravitation vector for the world in [m/s^2]
public void setGravitation(double x,
double y,
double z)
x - The x value in [m/s^2].y - The y value in [m/s^2].z - The z value in [m/s^2].protected void changeParent(ObjectFrame frame)
SceneGraphObject
changeParent in class SceneGraphObjectframe - new parent frame for the object root.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||