|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
graphics.zbuffer.Applet3d
public class Applet3d
Field Summary | |
---|---|
int |
ambient
|
int |
bgcolor
|
java.lang.String |
build
|
java.lang.String |
copyright
|
java.lang.String |
info
|
Light[] |
light
|
int |
lights
|
int |
maxlights
|
int |
maxobjects
|
int |
maxtextures
|
Mesh[] |
object
|
int |
objects
|
float |
perspective
|
int |
phong
|
int |
reflectivity
|
boolean |
staticLight
|
java.lang.String |
sysinfo
|
Texture[] |
texture
|
int |
textures
|
java.lang.String |
version
|
float |
zoomcorrection
|
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
Applet3d(int width,
int height)
|
Method Summary | |
---|---|
void |
addLight(Vec3Float v,
int mode,
int intensity)
|
void |
addNode(int objectNr,
float x,
float y,
float z)
|
void |
addNode(int objectNr,
Vec3d t)
|
void |
addObject(int rendermode,
int color)
|
void |
addTexture(java.awt.Image img)
|
void |
addTriangle(int objectNr,
int p1,
int p2,
int p3)
|
float |
crop(float a,
float b,
float c)
|
int |
crop(int a,
int b,
int c)
|
Mat4 |
crossproduct(Mat4 a,
Mat4 b)
|
void |
generateField(float[][] data,
int xmax,
int ymax,
int rm,
int c)
|
void |
generateRotationObject(int obj,
int steps)
|
void |
generateScanObject(int obj,
int rows,
int cols)
|
void |
generateScanObject1(int obj,
int rows,
int cols)
|
java.lang.String |
getFPS(int frames)
|
boolean |
inrange(float a,
float b,
float c)
|
boolean |
inrange(int a,
int b,
int c)
|
Vec3Float |
matrixvectorproduct(Mat4 b,
Vec3Float a)
|
void |
myResize(int width,
int height)
|
java.awt.Image |
renderScene()
|
float |
rnd()
|
int |
rndColor()
|
Vec3d |
rndNode()
|
Vec3Float |
rndVector()
|
Mat4 |
rotateMatrix(float dx,
float dy,
float dz)
|
void |
rotateObject(int o,
float dx,
float dy,
float dz)
|
void |
rotateObject(int obj,
float px,
float py,
float pz,
float dx,
float dy,
float dz)
|
void |
rotateObjectWorld(int o,
float dx,
float dy,
float dz)
|
void |
rotateWorld(float dx,
float dy,
float dz)
|
Mat4 |
scaleMatrix(float dx,
float dy,
float dz)
|
void |
scaleObject(int obj,
float d)
|
void |
scaleObject(int o,
float dx,
float dy,
float dz)
|
void |
scaleWorld(float d)
|
void |
scaleWorld(float dx,
float dy,
float dz)
|
void |
setBackground(java.awt.Image TempImage)
|
void |
setEnvironment(java.awt.Image TempImage)
|
void |
setPhong(int p)
|
void |
setStatic()
|
Mat4 |
shiftMatrix(float dx,
float dy,
float dz)
|
void |
shiftObject(int o,
float dx,
float dy,
float dz)
|
void |
shiftWorld(float dx,
float dy,
float dz)
|
Methods inherited from class java.applet.Applet |
---|
destroy, getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, init, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop |
Methods inherited from class java.awt.Panel |
---|
addNotify |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String info
public java.lang.String copyright
public java.lang.String version
public java.lang.String build
public java.lang.String sysinfo
public Mesh[] object
public Light[] light
public Texture[] texture
public int objects
public int lights
public int textures
public int maxobjects
public int maxlights
public int maxtextures
public int bgcolor
public float perspective
public float zoomcorrection
public int ambient
public int phong
public int reflectivity
public boolean staticLight
Constructor Detail |
---|
public Applet3d(int width, int height)
Method Detail |
---|
public void myResize(int width, int height)
public void setStatic()
public void setPhong(int p)
public float crop(float a, float b, float c)
public int crop(int a, int b, int c)
public boolean inrange(int a, int b, int c)
public boolean inrange(float a, float b, float c)
public float rnd()
public Vec3d rndNode()
public Vec3Float rndVector()
public int rndColor()
public Mat4 crossproduct(Mat4 a, Mat4 b)
public Vec3Float matrixvectorproduct(Mat4 b, Vec3Float a)
public void addObject(int rendermode, int color)
public void addLight(Vec3Float v, int mode, int intensity)
public void addTexture(java.awt.Image img)
public void addTriangle(int objectNr, int p1, int p2, int p3)
public void addNode(int objectNr, Vec3d t)
public void addNode(int objectNr, float x, float y, float z)
public Mat4 shiftMatrix(float dx, float dy, float dz)
public Mat4 scaleMatrix(float dx, float dy, float dz)
public Mat4 rotateMatrix(float dx, float dy, float dz)
public void shiftObject(int o, float dx, float dy, float dz)
public void scaleObject(int o, float dx, float dy, float dz)
public void rotateObject(int o, float dx, float dy, float dz)
public void rotateObjectWorld(int o, float dx, float dy, float dz)
public void rotateObject(int obj, float px, float py, float pz, float dx, float dy, float dz)
public void shiftWorld(float dx, float dy, float dz)
public void scaleWorld(float dx, float dy, float dz)
public void rotateWorld(float dx, float dy, float dz)
public void scaleObject(int obj, float d)
public void scaleWorld(float d)
public java.awt.Image renderScene()
public void setBackground(java.awt.Image TempImage)
public void setEnvironment(java.awt.Image TempImage)
public void generateField(float[][] data, int xmax, int ymax, int rm, int c)
public void generateScanObject(int obj, int rows, int cols)
public void generateScanObject1(int obj, int rows, int cols)
public void generateRotationObject(int obj, int steps)
public java.lang.String getFPS(int frames)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |