com.kuka.roboticsAPI.geometricModel
Class SceneGraphObjectFactory

java.lang.Object
  extended by com.kuka.roboticsAPI.geometricModel.SceneGraphObjectFactory

public final class SceneGraphObjectFactory
extends Object

Factory that creates instances of specific SpatialObject classes out of TemplateElements.

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 Summary
static
<T> T
createBaseClassInstancefromTemplate(TemplateElement template, RoboticsAPIContext context)
           
static
<T> T
createInstancefromTemplate(TemplateElement template, RoboticsAPIContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createInstancefromTemplate

public static <T> T createInstancefromTemplate(TemplateElement template,
                                               RoboticsAPIContext context)
Type Parameters:
T - Generic type
Parameters:
template - holds information of the object to create.
context - The current context for implicit class loader.
Returns:
new instance of specific SpatialObject class. null if instantiation fails.
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.

createBaseClassInstancefromTemplate

public static <T> T createBaseClassInstancefromTemplate(TemplateElement template,
                                                        RoboticsAPIContext context)
Type Parameters:
T - Generic type
Parameters:
template - holds information of the object to create.
context - The current context for implicit class loader.
Returns:
new instance of specific SpatialObject base class. null if instantiation fails. specific sub class implementation will be ignored.
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.


Copyright © 2019. All rights reserved.