com.kuka.roboticsAPI.controllerModel.recovery
Class ReattachableObject

java.lang.Object
  extended by com.kuka.roboticsAPI.controllerModel.recovery.ReattachableObject

public class ReattachableObject
extends Object

A class for holding temporary information for detaching and re-attaching SceneGraphObjects.

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

Constructor Summary
ReattachableObject(SceneGraphObject object)
          Constructs a new ReattachableObject with data from a SceneGraphObject.
 
Method Summary
 void attachTo(ObjectFrame newParent)
          Attaches the object to a new parent.
 void detach()
          Detaches the object from its parent.
static List<ReattachableObject> getAllAttachedObjects(ObjectFrame parent)
          Gets all attached SceneGraphObjects as a List of ReattachableObjects.
static List<ReattachableObject> getAllAttachedObjectsAsSnapshot(ObjectFrame parent)
          Gets a snapshot of all attached SceneGraphObjects as a List of ReattachableObjects.
 SpatialObject getObject()
          Gets the wrapped re-attachable object.
 void reAttach()
          Re-attaches the object to its former parent.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReattachableObject

public ReattachableObject(SceneGraphObject object)
Constructs a new ReattachableObject with data from a SceneGraphObject.

Parameters:
object - SceneGraphObject to detach/re-attach
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.
Method Detail

getAllAttachedObjects

public static List<ReattachableObject> getAllAttachedObjects(ObjectFrame parent)
Gets all attached SceneGraphObjects as a List of ReattachableObjects.

Parameters:
parent - Parent ObjectFrame
Returns:
A list of ReattachableObjects from the parent frame
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

getAllAttachedObjectsAsSnapshot

public static List<ReattachableObject> getAllAttachedObjectsAsSnapshot(ObjectFrame parent)
Gets a snapshot of all attached SceneGraphObjects as a List of ReattachableObjects.

Parameters:
parent - Parent ObjectFrame
Returns:
A list of snapshot ReattachableObjects from the parent frame
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

getObject

public SpatialObject getObject()
Gets the wrapped re-attachable object.

Returns:
the wrapped object

detach

public void detach()
Detaches the object from its parent.

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

reAttach

public void reAttach()
Re-attaches the object to its former parent.

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

attachTo

public void attachTo(ObjectFrame newParent)
Attaches the object to a new parent.

Parameters:
newParent - new parent ObjectFrame
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2019. All rights reserved.