|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.media.j3d.SceneGraphObject
javax.media.j3d.Node
javax.media.j3d.Leaf
javax.media.j3d.Behavior
com.sun.j3d.utils.behaviors.vp.ViewPlatformBehavior
com.sun.j3d.utils.behaviors.vp.ViewPlatformAWTBehavior
com.sun.j3d.utils.behaviors.vp.OrbitBehavior
org.jcae.viewer3d.ViewBehavior
public class ViewBehavior
| Field Summary | |
|---|---|
static int |
CLIP_BOX_MODE
|
static int |
CLIP_RECTANGLE_MODE
|
static int |
DEFAULT_MODE
|
static int |
RECTANGLE_MODE
|
| Fields inherited from class com.sun.j3d.utils.behaviors.vp.OrbitBehavior |
|---|
DISABLE_ROTATE, DISABLE_TRANSLATE, DISABLE_ZOOM, PROPORTIONAL_ZOOM, REVERSE_ALL, REVERSE_ROTATE, REVERSE_TRANSLATE, REVERSE_ZOOM, STOP_ZOOM |
| Fields inherited from class com.sun.j3d.utils.behaviors.vp.ViewPlatformAWTBehavior |
|---|
canvases, frameWakeup, KEY_LISTENER, motion, MOUSE_LISTENER, MOUSE_MOTION_LISTENER, MOUSE_WHEEL_LISTENER, POST_ID, postWakeup, targetTransform |
| Fields inherited from class com.sun.j3d.utils.behaviors.vp.ViewPlatformBehavior |
|---|
homeTransform, targetTG, vp |
| Fields inherited from class javax.media.j3d.Node |
|---|
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING |
| Constructor Summary | |
|---|---|
ViewBehavior(View view)
|
|
| Method Summary | |
|---|---|
protected PickViewable |
basicPickPoint(java.awt.event.MouseEvent evt)
|
protected void |
createClipRectanglePlanes(java.awt.event.MouseEvent evt)
|
protected void |
endRectangleDrawing(java.awt.event.MouseEvent evt)
|
int |
getMouseMode()
|
protected void |
pickPoint(java.awt.event.MouseEvent evt)
|
protected PickViewable |
pickPoint(com.sun.j3d.utils.picking.PickResult[] result)
returns the first PickViewable in the modelClip and between the front and back clip planes |
protected void |
pickRectangle(java.awt.event.MouseEvent evt)
|
protected void |
processMouseEvent(java.awt.event.MouseEvent evt)
|
void |
setChangeRotationCenter(boolean status)
|
void |
setMouseMode(int mode)
|
protected void |
startRectangleDrawing(java.awt.event.MouseEvent evt,
java.awt.Color color)
|
| Methods inherited from class com.sun.j3d.utils.behaviors.vp.OrbitBehavior |
|---|
getMinRadius, getRotateEnable, getRotationCenter, getRotXFactor, getRotYFactor, getTranslateEnable, getTransXFactor, getTransYFactor, getZoomEnable, getZoomFactor, integrateTransforms, MinRadius, processAWTEvents, ProportionalZoom, ReverseRotate, ReverseTranslate, ReverseZoom, RotateEnable, RotationCenter, RotFactors, RotXFactor, RotYFactor, setMinRadius, setProportionalZoom, setReverseRotate, setReverseTranslate, setReverseZoom, setRotateEnable, setRotationCenter, setRotFactors, setRotXFactor, setRotYFactor, setTransFactors, setTranslateEnable, setTransXFactor, setTransYFactor, setViewingPlatform, setZoomEnable, setZoomFactor, TransFactors, TranslateEnable, TransXFactor, TransYFactor, ZoomEnable, ZoomFactor |
| Methods inherited from class com.sun.j3d.utils.behaviors.vp.ViewPlatformAWTBehavior |
|---|
initialize, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, processStimulus, queueAWTEvent, setEnable, setListenerFlags |
| Methods inherited from class com.sun.j3d.utils.behaviors.vp.ViewPlatformBehavior |
|---|
getHomeTransform, getViewingPlatform, goHome, setHomeTransform |
| Methods inherited from class javax.media.j3d.Behavior |
|---|
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, getView, getWakeupCondition, postId, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval, updateNodeReferences, wakeupOn |
| Methods inherited from class javax.media.j3d.Node |
|---|
cloneNode, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable |
| Methods inherited from class javax.media.j3d.SceneGraphObject |
|---|
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_MODE
public static final int CLIP_RECTANGLE_MODE
public static final int CLIP_BOX_MODE
public static final int RECTANGLE_MODE
| Constructor Detail |
|---|
public ViewBehavior(View view)
| Method Detail |
|---|
public void setChangeRotationCenter(boolean status)
protected void processMouseEvent(java.awt.event.MouseEvent evt)
processMouseEvent in class com.sun.j3d.utils.behaviors.vp.OrbitBehaviorpublic void setMouseMode(int mode)
public int getMouseMode()
protected PickViewable basicPickPoint(java.awt.event.MouseEvent evt)
protected PickViewable pickPoint(com.sun.j3d.utils.picking.PickResult[] result)
protected void pickPoint(java.awt.event.MouseEvent evt)
protected void startRectangleDrawing(java.awt.event.MouseEvent evt,
java.awt.Color color)
protected void endRectangleDrawing(java.awt.event.MouseEvent evt)
protected void createClipRectanglePlanes(java.awt.event.MouseEvent evt)
protected void pickRectangle(java.awt.event.MouseEvent evt)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||