fr.inria.zvtm.engine
Class AgileNewtCanvasFactory
java.lang.Object
fr.inria.zvtm.engine.AgileNewtCanvasFactory
- All Implemented Interfaces:
- PanelFactory
public class AgileNewtCanvasFactory
- extends Object
- implements PanelFactory
Factory for NewtCanvas
Uses OpenGL acceletation provided by the Agile2D rendering pipeline (itself based upon JOGL 2.0).
Agile2D homepage
JOGL 2 javadoc
JogAmp javadoc
NEWT
Before instantiating an Agile2D ZVTM View, one must register the new view type:
View.registerViewPanelType(AgileGLJPanelFactory.AGILE_NEWT_VIEW, new AgileNewtCanvasFactory());
Then the view gets created as any other view:
View v = VirtualSpaceManager.INSTANCE.addFrameView(cameras, View.ANONYMOUS, AgileNewtCanvasFactory.AGILE_NEWT_VIEW, 800, 600, true);
- Author:
- Emmanuel Pietriga, Rodrigo A. B. de Almeida
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AGILE_NEWT_VIEW
public static final String AGILE_NEWT_VIEW
- See Also:
- Constant Field Values
AgileNewtCanvasFactory
public AgileNewtCanvasFactory()
getNewInstance
public ViewPanel getNewInstance(Vector<Camera> cameras,
View v,
boolean arfome)
- Specified by:
getNewInstance in interface PanelFactory
Copyright © 2000-2002 Xerox Corporation. All Rights Reserved
Copyright © 2003 World Wide Web Consortium. All Rights Reserved
Copyright © 2004-2011 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.