|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sygem.jazz3d3.Render
The superclass of all rendering objects, this provides common functionality.
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. |
abstract void |
read(java.io.FileInputStream reader)
|
void |
setDrawingMode(int newMode)
Set the drawing mode to one of the fields defined above. |
abstract void |
write(java.io.FileOutputStream writer)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int FLAT
public static final int GOURAUD
public static final int IMAGE
public static final int LINE
public static final int NOSHADE
public static final int PARTICLE
Constructor Detail |
public Render()
Method Detail |
public abstract Render cloneRenderer()
public final int getDrawingMode()
public abstract void read(java.io.FileInputStream reader) throws java.io.IOException
java.io.IOException
public final void setDrawingMode(int newMode)
newMode
- The drawing mode to be used in this renderer.public abstract void write(java.io.FileOutputStream writer) throws java.io.IOException
java.io.IOException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |