All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class VS.WritePPM

java.lang.Object
   |
   +----VS.WritePPM

public class WritePPM
extends java.lang.Object

Variable Index

 o height
 o width

Constructor Index

 o WritePPM(int, int)

Method Index

 o DoIt(short[], short[], short[], int, int, String)
 o header(OutputStream)
 o image(OutputStream, short[], short[], short[])
 o writeString(OutputStream, String)

Variables

 o width
 int width
 o height
 int height

Constructors

 o WritePPM
 public WritePPM(int imageWidth,
                 int imageHeight)

Methods

 o DoIt
 public static void DoIt(short r[],
                         short g[],
                         short b[],
                         int imageWidth,
                         int imageHeight,
                         java.lang.String fname) throws java.lang.Exception
 o header
 void header(java.io.OutputStream out) throws java.io.IOException
 o writeString
 static void writeString(java.io.OutputStream out,
                         java.lang.String str) throws java.io.IOException
 o image
 void image(java.io.OutputStream out,
            short r[],
            short g[],
            short b[]) throws java.io.IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index