|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object RTGUI
class RTGUI
GUI module for Simplest Raytrace - revised from Simplest Draw (SD). This version has a black background and white text. This ray traces a triangle using barycentric coordinates. Separates the GUI from the rest of the application.
Field Summary | |
---|---|
(package private) java.awt.Dimension |
dim
|
(package private) RTDrawer |
drawer
|
(package private) javax.swing.JFrame |
frame
|
(package private) int |
height
|
(package private) javax.swing.JPanel |
panel
|
(package private) RTSimplestRaytrace |
show
|
(package private) int |
width
|
Constructor Summary | |
---|---|
RTGUI(int w,
int h)
|
Method Summary | |
---|---|
(package private) void |
finish()
|
(package private) void |
setup(javax.swing.JFrame frame,
RTDrawer drawer)
Sets up the GUI window |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
int width
int height
java.awt.Dimension dim
RTDrawer drawer
javax.swing.JFrame frame
RTSimplestRaytrace show
javax.swing.JPanel panel
Constructor Detail |
---|
RTGUI(int w, int h)
Method Detail |
---|
void setup(javax.swing.JFrame frame, RTDrawer drawer)
void finish()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |