Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
I
K
L
M
N
P
Q
R
S
T
U
W
X
Y
Z
A
attachAnimation(SkinnedMesh, AnimationTrack)
- Method in class m3g12.
SkinnedMeshSample
Attaches the animation to the bones of the SkinnedMesh's skeleton.
attachSkin(Mesh, Group, int, boolean)
- Method in class m3g12.
SkinnedMeshSample
Attaches skin to skeleton to create a SkinnedMesh.
B
backCommand
- Variable in class m3g12.
Main
Back command.
C
changeState(int, int, int)
- Method in class m3g12.
RobotSample
Changes state and updates the animation position.
checkKeys(int)
- Method in class m3g12.
SkinnedMeshSample
Processes key presses.
commandAction(Command, Displayable)
- Method in class m3g12.
Main
Receives command actions from the selection screen as well as the samples.
controller
- Variable in class m3g12.
RobotSample
The robot's animation controller.
createAnimation(MorphingMesh)
- Method in class m3g12.
MorphingSample
Creates a new animation that morphs the MorphingMesh's base and target meshes.
createAnimation()
- Method in class m3g12.
SkinnedMeshSample
Creates a new animation that interpolates between two orientations.
createMorphingMesh()
- Method in class m3g12.
MorphingSample
Creates a new MorphingMesh that has a quad as the base mesh and two triangles as morph targets.
createSkeleton(int)
- Method in class m3g12.
SkinnedMeshSample
Creates a hierarchy of Groups that serves as skeleton.
createSkin(int)
- Method in class m3g12.
SkinnedMeshSample
Creates a new rectangular mesh that serves as skin.
currentSample
- Variable in class m3g12.
Main
Currently displayed sample.
D
DATA_DISTANCE
- Static variable in class m3g12.
RobotSample
State data index for walking distance.
DATA_DURATION
- Static variable in class m3g12.
RobotSample
State data index for animation duration.
DATA_FALSE_STATE
- Static variable in class m3g12.
RobotSample
State data index for next state if key was not pressed.
DATA_KEY
- Static variable in class m3g12.
RobotSample
State data index for key to move to the next state.
DATA_SPEED
- Static variable in class m3g12.
RobotSample
State data index for animation speed.
DATA_START
- Static variable in class m3g12.
RobotSample
State data index for animation start time.
DATA_TRUE_STATE
- Static variable in class m3g12.
RobotSample
State data index for next state if key was pressed.
destroy()
- Method in class m3g12.
MorphingSample
Destroys the sample.
destroy()
- Method in class m3g12.
RobotSample
Destroys the sample.
destroy()
- Method in interface m3g12.
Sample
Tells the sample to destroy itself.
destroy()
- Method in class m3g12.
SkinnedMeshSample
Destroys the sample.
destroyApp(boolean)
- Method in class m3g12.
Main
Enters the destroyed state.
direction
- Variable in class m3g12.
RobotSample
Current walking direction.
drawMenu(Graphics)
- Method in class m3g12.
MorphingSample
Draws a menu for the current key assignments.
drawMenu(Graphics)
- Method in class m3g12.
RobotSample
Draws a menu for the current key assignments.
drawMenu(Graphics)
- Method in class m3g12.
SkinnedMeshSample
Draws a menu for the current key assignments.
E
exitCommand
- Variable in class m3g12.
Main
Exit command.
G
getData(int)
- Method in class m3g12.
RobotSample
Returns data for the current state.
getW()
- Method in class m3g12.
Quaternion
Getter for w value.
getX()
- Method in class m3g12.
Quaternion
Getter for x value.
getY()
- Method in class m3g12.
Quaternion
Getter for y value.
getZ()
- Method in class m3g12.
Quaternion
Getter for z value.
graphics
- Variable in class m3g12.
MorphingSample
2D graphics singleton used for rendering.
graphics
- Variable in class m3g12.
RobotSample
2D graphics singleton used for rendering.
graphics
- Variable in class m3g12.
SkinnedMeshSample
2D graphics singleton used for rendering.
graphics3d
- Variable in class m3g12.
MorphingSample
3D graphics singleton used for rendering.
graphics3d
- Variable in class m3g12.
RobotSample
3D graphics singleton used for rendering.
graphics3d
- Variable in class m3g12.
SkinnedMeshSample
3D graphics singleton used for rendering.
I
init()
- Method in class m3g12.
MorphingSample
Initializes the sample.
init()
- Method in class m3g12.
RobotSample
Initializes the sample.
init()
- Method in interface m3g12.
Sample
Tells the sample to initialize itself.
init()
- Method in class m3g12.
SkinnedMeshSample
Initializes the sample.
isRunning
- Variable in class m3g12.
MorphingSample
Flag whether thread is running.
isRunning
- Variable in class m3g12.
RobotSample
Flag for stopping the animation thread.
isRunning
- Variable in class m3g12.
SkinnedMeshSample
Flag whether thread is running.
K
keyPressed(int)
- Method in class m3g12.
SkinnedMeshSample
Receives key presses.
L
lastKey
- Variable in class m3g12.
SkinnedMeshSample
Stores the last game action key.
M
m3g12
- package m3g12
M3G_FILE
- Static variable in class m3g12.
RobotSample
File that stores the scene graph.
Main
- Class in
m3g12
Application that runs the samples available in this chapter.
Main()
- Constructor for class m3g12.
Main
Constructor.
mesh
- Variable in class m3g12.
RobotSample
Robot.
morphingMesh
- Variable in class m3g12.
MorphingSample
Mesh for display.
MorphingSample
- Class in
m3g12
Defines an animation that blends mesh shapes into each other by using morphing.
MorphingSample()
- Constructor for class m3g12.
MorphingSample
Constructor.
N
normalize()
- Method in class m3g12.
Quaternion
Normalizes this quaternion.
numBones
- Variable in class m3g12.
SkinnedMeshSample
Number of bones for skeleton.
P
pauseApp()
- Method in class m3g12.
Main
Enters the paused state.
position
- Variable in class m3g12.
RobotSample
The robot's position.
postMultiply(Quaternion)
- Method in class m3g12.
Quaternion
Multiplies this quaternion from the right by the given quaternion.
process(int, int)
- Method in class m3g12.
RobotSample
Checks for key presses and advances the state machine.
Q
Quaternion
- Class in
m3g12
Quaternion implementation.
Quaternion()
- Constructor for class m3g12.
Quaternion
Creates a new quaternion and initializes it to the identity.
Quaternion(float, float, float, float)
- Constructor for class m3g12.
Quaternion
Creates a new quaternion and initializes it to the given values.
R
render(Graphics)
- Method in class m3g12.
MorphingSample
Renders the sample.
render(Graphics)
- Method in class m3g12.
RobotSample
Renders the sample.
render(Graphics)
- Method in class m3g12.
SkinnedMeshSample
Renders the sample.
reset()
- Method in class m3g12.
MorphingSample
Initializes the sample.
reset()
- Method in class m3g12.
RobotSample
Initializes the sample.
reset()
- Method in class m3g12.
SkinnedMeshSample
Initializes the sample.
RobotSample
- Class in
m3g12
Displays a walking robot that can be controlled with the game keys.
RobotSample()
- Constructor for class m3g12.
RobotSample
Constructor.
run()
- Method in class m3g12.
MorphingSample
Animation loop.
run()
- Method in class m3g12.
RobotSample
Animation loop.
run()
- Method in class m3g12.
SkinnedMeshSample
Animation loop.
S
Sample
- Interface in
m3g12
Interface that needs to be implemented by samples.
SAMPLES
- Static variable in class m3g12.
Main
List of samples.
selectionScreen
- Variable in class m3g12.
Main
Screen for selecting samples.
set(float, float, float, float)
- Method in class m3g12.
Quaternion
Sets this quaternion to the given values.
setAxisAngle(float, float, float, float)
- Method in class m3g12.
Quaternion
Sets the values of this quaternion by converting the given axis-angle values.
setEuler(float, float, float)
- Method in class m3g12.
Quaternion
Sets the values of this quaternion by converting the given Euler angles.
setIdentity()
- Method in class m3g12.
Quaternion
Resets this quaternion to the identity.
skin
- Variable in class m3g12.
SkinnedMeshSample
Representation of the skin.
skinnedMesh
- Variable in class m3g12.
SkinnedMeshSample
Mesh with skin and skeleton.
SkinnedMeshSample
- Class in
m3g12
SkinnedMesh
animation that bends a skeleton with an adjustable number of bones.
SkinnedMeshSample()
- Constructor for class m3g12.
SkinnedMeshSample
Constructor.
startApp()
- Method in class m3g12.
Main
Enters the active state.
state
- Variable in class m3g12.
RobotSample
Current state.
STATE_DATA
- Static variable in class m3g12.
RobotSample
State data.
STATE_IDLE
- Static variable in class m3g12.
RobotSample
State index for idle state.
STATE_INVALID
- Static variable in class m3g12.
RobotSample
State index for invalid state.
STATE_STARTING
- Static variable in class m3g12.
RobotSample
State index for starting state.
STATE_STOPPING
- Static variable in class m3g12.
RobotSample
State index for stopping state.
STATE_WALKING
- Static variable in class m3g12.
RobotSample
State index for walking state.
stateTime
- Variable in class m3g12.
RobotSample
Time since last state update.
switchSample(Sample)
- Method in class m3g12.
Main
Destroys the current sample if it exists and displays a new one.
T
toString()
- Method in class m3g12.
Quaternion
Returns a String representation of this class.
track
- Variable in class m3g12.
SkinnedMeshSample
Bone animation.
transform
- Variable in class m3g12.
RobotSample
Helper object for transformation.
twoBonesPerVertex
- Variable in class m3g12.
SkinnedMeshSample
Enables vertices to share two bones.
U
USER_ID_MESH
- Static variable in class m3g12.
RobotSample
User ID to find the mesh inside the scene graph.
W
w
- Variable in class m3g12.
Quaternion
Quaternion element.
world
- Variable in class m3g12.
RobotSample
Object that represents the 3D world.
X
x
- Variable in class m3g12.
Quaternion
Quaternion element.
Y
y
- Variable in class m3g12.
Quaternion
Quaternion element.
Z
z
- Variable in class m3g12.
Quaternion
Quaternion element.
A
B
C
D
E
G
I
K
L
M
N
P
Q
R
S
T
U
W
X
Y
Z
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes