render
Class InteractiveBuffer

java.lang.Object
  |
  +--render.Geometry
        |
        +--render.InteractiveMesh
              |
              +--render.InteractiveBuffer

public class InteractiveBuffer
extends InteractiveMesh


Field Summary
 
Fields inherited from class render.Geometry
Bezier, BezierInverse, BSpline, CatmullRom, child, faces, globalMatrix, Hermite, material, matrix, modified, name, noiseOrigin, pullMask, pullWeight, refVertices, verticedepth, vertices
 
Constructor Summary
InteractiveBuffer(int m, int n, int w, int h, Renderable ap)
           
 
Method Summary
 void animate(double time)
           
 void getPixels(int[] pixels, java.awt.image.BufferedImage image)
           
 boolean mouseDown(java.awt.Event evt, double[] xyz, Geometry g)
           
 boolean mouseDrag(java.awt.Event evt, double[] xyz)
           
 boolean mouseUp(java.awt.Event evt, double[] xyz)
           
 
Methods inherited from class render.InteractiveMesh
find, getXY, getXYZ, isSelected
 
Methods inherited from class render.Geometry
add, add, addImprovedNoise, addNoise, addNoise, ball, bezeledCube, child, computedMeshNormals, computeMeshNormals, computePolyhedronNormals, computeSurfaceNormals, contains, copyVertex, copyVertices, copyVertices, cube, cylinder, delete, delete, disk, displaceByImprovedNoise, extrusion, gear, gearDisk, gearTube, gearTube, getMatrix, getMeshCols, getMeshRows, getOffset, getParent, globe, globe, isDoubleSided, lathe, latheGen, makeCircle, makeCurve, makeGear, makePath, mesh, patch, pill, pill, polygon, pull, pull, recomputeMeshNormals, setDoubleSided, setMaterial, setMatrix, setOffset, sew, sew, subdivide, superquadric, superquadric, torus, transform, tube, tube, wire, wire
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InteractiveBuffer

public InteractiveBuffer(int m,
                         int n,
                         int w,
                         int h,
                         Renderable ap)
Parameters:
m -
n -
Method Detail

getPixels

public void getPixels(int[] pixels,
                      java.awt.image.BufferedImage image)

animate

public void animate(double time)
Overrides:
animate in class InteractiveMesh

mouseDown

public boolean mouseDown(java.awt.Event evt,
                         double[] xyz,
                         Geometry g)
Overrides:
mouseDown in class InteractiveMesh

mouseUp

public boolean mouseUp(java.awt.Event evt,
                       double[] xyz)
Overrides:
mouseUp in class InteractiveMesh

mouseDrag

public boolean mouseDrag(java.awt.Event evt,
                         double[] xyz)
Overrides:
mouseDrag in class InteractiveMesh