All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class lyon.surfer.SurfaceCanvas

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----lyon.surfer.SurfaceCanvas

class SurfaceCanvas
extends java.awt.Canvas
implements java.lang.Runnable

Variable Index

 o applet
 o Buffer
 o BufferGC
 o calc_divisions
 o CENTER
 o click_x
 o click_y
 o COINCIDE
 o color
 o color_factor
 o cop
 o critical
 o data_available
 o dragged
 o DUALSHADE
 o factor_x
 o factor_y
 o GRAYSCALE
 o image_drawn
 o interrupted
 o is_data_available
 o isBoxed
 o isDisplayGrids
 o isDisplayXY
 o isDisplayZ
 o isMesh
 o isScaleBox
 o LOWER
 o lowerpart
 o NORENDER
 o plot_mode
 o plotboth
 o plotfunc1
 o plotfunc2
 o poly_x
 o poly_y
 o prevheight
 o prevwidth
 o projector
 o SPECTRUM
 o t_x
 o t_y
 o t_z
 o testpoint
 o thread
 o TOP
 o UPPER
 o upperpart
 o values1
 o values2
 o vertex
 o WIREFRAME
 o xmax
 o xmin
 o ymax
 o ymin
 o zmax
 o zmin

Constructor Index

 o SurfaceCanvas(Surface)

Method Index

 o destroyImage()
 o drawBase(Graphics, int[], int[])
 o drawBoundingBox()
 o drawBoxGridsTicksLabels(Graphics, boolean)
 o importVariables()
 o interrupt()
 o mouseDown(Event, int, int)
 o mouseDrag(Event, int, int)
 o mouseUp(Event, int, int)
 o outString(Graphics, int, int, String, int, int)
 o paint(Graphics)
 o plot_area(int, int, int, int, int, int)
 o plot_plane(SurfaceVertex[], int)
 o plot_surface()
 o plot_wireframe()
 o plottable(SurfaceVertex[])
 o preferredSize()
 o run()
 o setAxesScale()
 o setDataAvailability(boolean)
 o setRanges(float, float, float, float)
 o setValuesArray(SurfaceVertex[][])
 o split_plot_plane(SurfaceVertex[], SurfaceVertex[])
 o update(Graphics)
 o validate()

Variables

 o applet
 private lyon.surfer.Surface applet
 o Buffer
 private java.awt.Image Buffer
 o BufferGC
 private java.awt.Graphics BufferGC
 o image_drawn
 private boolean image_drawn
 o projector
 private lyon.surfer.Projector projector
 o thread
 private java.lang.Thread thread
 o vertex
 private lyon.surfer.SurfaceVertex vertex[][]
 o data_available
 private boolean data_available
 o interrupted
 private boolean interrupted
 o critical
 private boolean critical
 o prevwidth
 private int prevwidth
 o prevheight
 private int prevheight
 o color
 private float color
 o cop
 private lyon.surfer.SurfaceVertex cop
 o plot_mode
 private int plot_mode
 o calc_divisions
 private int calc_divisions
 o plotfunc1
 private boolean plotfunc1
 o plotfunc2
 private boolean plotfunc2
 o plotboth
 private boolean plotboth
 o isBoxed
 private boolean isBoxed
 o isMesh
 private boolean isMesh
 o isScaleBox
 private boolean isScaleBox
 o isDisplayXY
 private boolean isDisplayXY
 o isDisplayZ
 private boolean isDisplayZ
 o isDisplayGrids
 private boolean isDisplayGrids
 o xmin
 private float xmin
 o xmax
 private float xmax
 o ymin
 private float ymin
 o ymax
 private float ymax
 o zmin
 private float zmin
 o zmax
 private float zmax
 o WIREFRAME
 private final int WIREFRAME
 o NORENDER
 private final int NORENDER
 o SPECTRUM
 private final int SPECTRUM
 o GRAYSCALE
 private final int GRAYSCALE
 o DUALSHADE
 private final int DUALSHADE
 o TOP
 private final int TOP
 o CENTER
 private final int CENTER
 o UPPER
 private final int UPPER
 o COINCIDE
 private final int COINCIDE
 o LOWER
 private final int LOWER
 o is_data_available
 private boolean is_data_available
 o dragged
 private boolean dragged
 o click_x
 private int click_x
 o click_y
 private int click_y
 o factor_x
 private int factor_x
 o factor_y
 private int factor_y
 o t_x
 private int t_x
 o t_y
 private int t_y
 o t_z
 private int t_z
 o color_factor
 float color_factor
 o poly_x
 private int poly_x[]
 o poly_y
 private int poly_y[]
 o upperpart
 private lyon.surfer.SurfaceVertex upperpart[]
 o lowerpart
 private lyon.surfer.SurfaceVertex lowerpart[]
 o values1
 private lyon.surfer.SurfaceVertex values1[]
 o values2
 private lyon.surfer.SurfaceVertex values2[]
 o testpoint
 private java.awt.Point testpoint[]

Constructors

 o SurfaceCanvas
 SurfaceCanvas(lyon.surfer.Surface applet)

Methods

 o destroyImage
 public void destroyImage()
 o setRanges
 public void setRanges(float xmin,
                       float xmax,
                       float ymin,
                       float ymax)
 o setValuesArray
 public void setValuesArray(lyon.surfer.SurfaceVertex vertex[][])
 o setDataAvailability
 public void setDataAvailability(boolean avail)
 o importVariables
 public void importVariables()
 o mouseDown
 public boolean mouseDown(java.awt.Event e,
                          int x,
                          int y)
Overrides:
mouseDown in class java.awt.Component
 o mouseUp
 public boolean mouseUp(java.awt.Event e,
                        int x,
                        int y)
Overrides:
mouseUp in class java.awt.Component
 o mouseDrag
 public boolean mouseDrag(java.awt.Event e,
                          int x,
                          int y)
Overrides:
mouseDrag in class java.awt.Component
 o drawBoundingBox
 private void drawBoundingBox()
 o drawBase
 private void drawBase(java.awt.Graphics g,
                       int x[],
                       int y[])
 o drawBoxGridsTicksLabels
 private void drawBoxGridsTicksLabels(java.awt.Graphics g,
                                      boolean draw_axes)
 o setAxesScale
 private void setAxesScale()
 o outString
 private void outString(java.awt.Graphics g,
                        int x,
                        int y,
                        java.lang.String s,
                        int x_align,
                        int y_align)
 o plot_plane
 private void plot_plane(lyon.surfer.SurfaceVertex vertex[],
                         int verticescount)
 o split_plot_plane
 private void split_plot_plane(lyon.surfer.SurfaceVertex values1[],
                               lyon.surfer.SurfaceVertex values2[])
 o plottable
 private boolean plottable(lyon.surfer.SurfaceVertex values[])
 o plot_area
 private void plot_area(int start_lx,
                        int start_ly,
                        int end_lx,
                        int end_ly,
                        int sx,
                        int sy)
 o plot_surface
 private void plot_surface()
 o plot_wireframe
 private void plot_wireframe()
 o paint
 public void paint(java.awt.Graphics g)
Overrides:
paint in class java.awt.Canvas
 o update
 public void update(java.awt.Graphics g)
Overrides:
update in class java.awt.Component
 o run
 public void run()
 o interrupt
 public synchronized void interrupt()
 o preferredSize
 public java.awt.Dimension preferredSize()
Overrides:
preferredSize in class java.awt.Component
 o validate
 public synchronized void validate()
Overrides:
validate in class java.awt.Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index