Jazz3D API


com.sygem.jazz3d3
Class Render

java.lang.Object
  |
  +--com.sygem.jazz3d3.Render
Direct Known Subclasses:
RenderOutline, RenderSolid, RenderTextured, RenderTransparent

public abstract class Render
extends java.lang.Object

The superclass of all rendering objects, this provides common functionality.

Version:
3.0a
Author:
SyGem Software

Field Summary
static int FLAT
          Field used to set the rendering style to Lambertian shading.
static int GOURAUD
          Field used to set the rendering style to Gouraud shading.
static int IMAGE
          Field used to set the rendering style to vertex-image rendering.
static int LINE
          Field used to set the rendering style to wireframe mode.
static int NOSHADE
          Field used to set the rendering style to no shading.
static int PARTICLE
          Field used to set the rendering style to particle rendering.
 
Constructor Summary
Render()
          Default constructor
 
Method Summary
abstract  Render cloneRenderer()
          Clones the current renderer.
 int getDrawingMode()
          Gets the current drawing mode.
 void setDrawingMode(int newMode)
          Set the drawing mode to one of the fields defined above.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LINE

public static final int LINE
Field used to set the rendering style to wireframe mode.

PARTICLE

public static final int PARTICLE
Field used to set the rendering style to particle rendering.

IMAGE

public static final int IMAGE
Field used to set the rendering style to vertex-image rendering.

NOSHADE

public static final int NOSHADE
Field used to set the rendering style to no shading.

FLAT

public static final int FLAT
Field used to set the rendering style to Lambertian shading.

GOURAUD

public static final int GOURAUD
Field used to set the rendering style to Gouraud shading.
Constructor Detail

Render

public Render()
Default constructor
Method Detail

setDrawingMode

public final void setDrawingMode(int newMode)
Set the drawing mode to one of the fields defined above.
Parameters:
newMode - The drawing mode to be used in this renderer.

getDrawingMode

public final int getDrawingMode()
Gets the current drawing mode.

cloneRenderer

public abstract Render cloneRenderer()
Clones the current renderer.

©2001 SyGem Software