com.tensegrity.graphics.render
Class DefaultRendererWireFrame

java.lang.Object
  extended bycom.tensegrity.graphics.render.DefaultRendererWireFrame
All Implemented Interfaces:
Renderer

public class DefaultRendererWireFrame
extends java.lang.Object
implements Renderer

The DefaultRendererWireFrame class is an implementation of the Renderer interface that renders the primitives in a wireframe.

Version:
$Id: DefaultRendererWireFrame.java,v 1.12 2004/07/19 17:43:56 AndreasEbbert Exp $
Author:
MichaelKegel

Field Summary
 
Fields inherited from interface com.tensegrity.graphics.render.Renderer
RENDERERFLAG_PROCESS_PORTS_ONLY
 
Constructor Summary
DefaultRendererWireFrame()
          Constructor for DefaultRendererWireFrame.
 
Method Summary
 void adjustData(RenderingData renderdata)
          This method modifies the RenderingData instance given by renderdata according to the Renderer instance and the configuration of it.
 RendererConfiguration getConfiguration()
          Returns the current configuration of the Renderer.
 void render(RenderingData renderdata, Device device)
          This method renders the RenderingData object given by renderdata onto the Device given by device.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRendererWireFrame

public DefaultRendererWireFrame()
Constructor for DefaultRendererWireFrame.

Method Detail

getConfiguration

public RendererConfiguration getConfiguration()
Description copied from interface: Renderer
Returns the current configuration of the Renderer. The configuration is represented by a RendererConfiguration object. To get more informations about this kind of object take a look at the documentation of RendererConfiguration.

Specified by:
getConfiguration in interface Renderer
Returns:
RendererConfiguration the current configuration of the Renderer

render

public void render(RenderingData renderdata,
                   Device device)
Description copied from interface: Renderer
This method renders the RenderingData object given by renderdata onto the Device given by device. The rendering process is done according to the Renderer instance and the configuration of it.

Specified by:
render in interface Renderer
Parameters:
renderdata - the RenderingData instance to render
device - the Device instance to render onto

adjustData

public void adjustData(RenderingData renderdata)
Description copied from interface: Renderer
This method modifies the RenderingData instance given by renderdata according to the Renderer instance and the configuration of it.

Specified by:
adjustData in interface Renderer
Parameters:
renderdata - the RenderingData instance to modify


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.