de.jreality.plugin
Class JRViewerUtility

java.lang.Object
  extended by de.jreality.plugin.JRViewerUtility

public class JRViewerUtility
extends Object


Field Summary
static Class<? extends Content> defaultContentClass
           
 
Constructor Summary
JRViewerUtility()
           
 
Method Summary
static void encompass(Scene scene, int metric)
           
static void encompassEuclidean(Scene scene)
           
static Content getContentPlugin(Controller c)
          Returns a Content instance if there is one registered
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultContentClass

public static Class<? extends Content> defaultContentClass
Constructor Detail

JRViewerUtility

public JRViewerUtility()
Method Detail

getContentPlugin

public static Content getContentPlugin(Controller c)
Returns a Content instance if there is one registered

Type Parameters:
T -
Parameters:
clazz - the class of the plug-in
Returns:
a plug-in instance or null if no such plug-in was registered

encompass

public static void encompass(Scene scene,
                             int metric)

encompassEuclidean

public static void encompassEuclidean(Scene scene)