Java Doc for WakeupOnCollisionExit.java in  » 6.0-JDK-Modules » java-3d » javax » media » j3d » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » java 3d » javax.media.j3d 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.media.j3d.WakeupCondition
      javax.media.j3d.WakeupCriterion
         javax.media.j3d.WakeupOnCollisionExit

WakeupOnCollisionExit
final public class WakeupOnCollisionExit extends WakeupCriterion (Code)
Class specifying a wakeup when the specified object no longer collides with any other object in the scene graph.


Field Summary
final static  intCOLLIDEEXIT_IN_BS_LIST
    
final static  intCOND_IN_GS_LIST
    
final static  intTOTAL_INDEXED_UNORDER_SET_TYPES
    
final public static  intUSE_BOUNDS
     Use geometric bounds as an approximation in computing collisions.
final public static  intUSE_GEOMETRY
     Use geometry in computing collisions.
 intaccuracyMode
    
 BoundsarmingBounds
    
 NodeRetainedarmingNode
    
 SceneGraphPatharmingPath
    
 BoundingLeafRetainedboundingLeaf
    
 BoundscollidingBounds
    
 SceneGraphPathcollidingPath
    
 UnorderListgeometryAtoms
     Geometry atoms that this wakeup condition refer to.
 BoundslocalBounds
    
 intnodeType
    
 BoundsvwcBounds
    

Constructor Summary
public  WakeupOnCollisionExit(SceneGraphPath armingPath)
     Constructs a new WakeupOnCollisionExit criterion.
public  WakeupOnCollisionExit(SceneGraphPath armingPath, int speedHint)
     Constructs a new WakeupOnCollisionExit criterion.
public  WakeupOnCollisionExit(Node armingNode)
     Constructs a new WakeupOnCollisionExit criterion.
Parameters:
  armingNode - the Group, Shape, or Morph node used toarm collision detection
exception:
  IllegalArgumentException - if object is under aSharedGroup node or object is other than a Group, Shape3D,Morph or BoundingLeaf node.
public  WakeupOnCollisionExit(Node armingNode, int speedHint)
     Constructs a new WakeupOnCollisionExit criterion.
Parameters:
  armingNode - the Group, Shape, or Morph node used toarm collision detection
Parameters:
  speedHint - one of USE_GEOMETRY or USE_BOUNDS, specifies howaccurately Java 3D will perform collision detection
exception:
  IllegalArgumentException - if hint is not one ofUSE_GEOMETRY or USE_BOUNDS.
exception:
  IllegalArgumentException - if object is under aSharedGroup node or object is other than a Group, Shape3D,Morph or BoundingLeaf node.
public  WakeupOnCollisionExit(Bounds armingBounds)
     Constructs a new WakeupOnCollisionExit criterion.
 WakeupOnCollisionExit(SceneGraphPath armingPath, int speedHint, Bounds armingBounds)
     Constructs a new WakeupOnCollisionExit criterion.

Method Summary
 voidaddBehaviorCondition(BehaviorStructure bs)
     This is a callback from BehaviorStructure.
public  BoundsgetArmingBounds()
     Returns the bounds object used in specifying the collision condition.
public  SceneGraphPathgetArmingPath()
     Returns the path used in specifying the collision condition.
public  BoundsgetTriggeringBounds()
    
public  SceneGraphPathgetTriggeringPath()
     Retrieves the path describing the object causing the collision.
 voidremoveBehaviorCondition(BehaviorStructure bs)
     This is a callback from BehaviorStructure.
 voidresetBehaviorCondition(BehaviorStructure bs)
     Perform task in addBehaviorCondition() that has to be set every time the condition met.
 voidsetTarget(BHLeafInterface leaf)
    
 voidsetTriggered()
    
 voidupdateCollisionBounds(boolean reEvaluateGAs)
    

Field Detail
COLLIDEEXIT_IN_BS_LIST
final static int COLLIDEEXIT_IN_BS_LIST(Code)



COND_IN_GS_LIST
final static int COND_IN_GS_LIST(Code)



TOTAL_INDEXED_UNORDER_SET_TYPES
final static int TOTAL_INDEXED_UNORDER_SET_TYPES(Code)



USE_BOUNDS
final public static int USE_BOUNDS(Code)
Use geometric bounds as an approximation in computing collisions.



USE_GEOMETRY
final public static int USE_GEOMETRY(Code)
Use geometry in computing collisions.



accuracyMode
int accuracyMode(Code)
Accuracy mode one of USE_GEOMETRY or USE_BOUNDS



armingBounds
Bounds armingBounds(Code)



armingNode
NodeRetained armingNode(Code)



armingPath
SceneGraphPath armingPath(Code)



boundingLeaf
BoundingLeafRetained boundingLeaf(Code)



collidingBounds
Bounds collidingBounds(Code)



collidingPath
SceneGraphPath collidingPath(Code)



geometryAtoms
UnorderList geometryAtoms(Code)
Geometry atoms that this wakeup condition refer to. Only use by SHAPE, MORPH, GROUP, ORIENTEDSHAPE



localBounds
Bounds localBounds(Code)



nodeType
int nodeType(Code)



vwcBounds
Bounds vwcBounds(Code)




Constructor Detail
WakeupOnCollisionExit
public WakeupOnCollisionExit(SceneGraphPath armingPath)(Code)
Constructs a new WakeupOnCollisionExit criterion.
Parameters:
  armingPath - the path used to arm collisiondetection
exception:
  IllegalArgumentException - if object associated with theSceneGraphPath is other than a Group, Shape3D, Morph, or BoundingLeaf node.



WakeupOnCollisionExit
public WakeupOnCollisionExit(SceneGraphPath armingPath, int speedHint)(Code)
Constructs a new WakeupOnCollisionExit criterion.
Parameters:
  armingPath - the path used to arm collisiondetection
Parameters:
  speedHint - one of USE_GEOMETRY or USE_BOUNDS, specifies howaccurately Java 3D will perform collision detection
exception:
  IllegalArgumentException - if hint is not one ofUSE_GEOMETRY or USE_BOUNDS.
exception:
  IllegalArgumentException - if object associated with theSceneGraphPath is other than a Group, Shape3D, Morph, or BoundingLeaf node.



WakeupOnCollisionExit
public WakeupOnCollisionExit(Node armingNode)(Code)
Constructs a new WakeupOnCollisionExit criterion.
Parameters:
  armingNode - the Group, Shape, or Morph node used toarm collision detection
exception:
  IllegalArgumentException - if object is under aSharedGroup node or object is other than a Group, Shape3D,Morph or BoundingLeaf node.



WakeupOnCollisionExit
public WakeupOnCollisionExit(Node armingNode, int speedHint)(Code)
Constructs a new WakeupOnCollisionExit criterion.
Parameters:
  armingNode - the Group, Shape, or Morph node used toarm collision detection
Parameters:
  speedHint - one of USE_GEOMETRY or USE_BOUNDS, specifies howaccurately Java 3D will perform collision detection
exception:
  IllegalArgumentException - if hint is not one ofUSE_GEOMETRY or USE_BOUNDS.
exception:
  IllegalArgumentException - if object is under aSharedGroup node or object is other than a Group, Shape3D,Morph or BoundingLeaf node.



WakeupOnCollisionExit
public WakeupOnCollisionExit(Bounds armingBounds)(Code)
Constructs a new WakeupOnCollisionExit criterion.
Parameters:
  armingBounds - the bounds object used to arm collisiondetection



WakeupOnCollisionExit
WakeupOnCollisionExit(SceneGraphPath armingPath, int speedHint, Bounds armingBounds)(Code)
Constructs a new WakeupOnCollisionExit criterion.
Parameters:
  armingPath - the path used to arm collisiondetection
Parameters:
  speedHint - one of USE_GEOMETRY or USE_BOUNDS, specifies howaccurately Java 3D will perform collision detection
Parameters:
  armingBounds - the bounds object used to arm collisiondetection
exception:
  IllegalArgumentException - if hint is not one ofUSE_GEOMETRY or USE_BOUNDS.
exception:
  IllegalArgumentException - if object associated with theSceneGraphPath is other than a Group, Shape3D, Morph, or BoundingLeaf node.




Method Detail
addBehaviorCondition
void addBehaviorCondition(BehaviorStructure bs)(Code)
This is a callback from BehaviorStructure. It is used to add wakeupCondition to behavior structure.



getArmingBounds
public Bounds getArmingBounds()(Code)
Returns the bounds object used in specifying the collision condition. the Bounds object generated when arming thiscriterion---null implies that a SceneGraphPath armed this criteria



getArmingPath
public SceneGraphPath getArmingPath()(Code)
Returns the path used in specifying the collision condition. the SceneGraphPath object generated when arming thiscriterion---null implies that a bounds object armed this criteria



getTriggeringBounds
public Bounds getTriggeringBounds()(Code)
Retrieves the Bounds object that caused the collision the colliding Bounds object.
exception:
  IllegalStateException - if not called from within the a behavior's processStimulus method which was awoken by a collision.



getTriggeringPath
public SceneGraphPath getTriggeringPath()(Code)
Retrieves the path describing the object causing the collision. the SceneGraphPath that describes the triggering object.
exception:
  IllegalStateException - if not called from within the a behavior's processStimulus method which was awoken by a collision.



removeBehaviorCondition
void removeBehaviorCondition(BehaviorStructure bs)(Code)
This is a callback from BehaviorStructure. It is used to remove wakeupCondition from behavior structure.



resetBehaviorCondition
void resetBehaviorCondition(BehaviorStructure bs)(Code)
Perform task in addBehaviorCondition() that has to be set every time the condition met.



setTarget
void setTarget(BHLeafInterface leaf)(Code)



setTriggered
void setTriggered()(Code)



updateCollisionBounds
void updateCollisionBounds(boolean reEvaluateGAs)(Code)



Fields inherited from javax.media.j3d.WakeupCriterion
boolean triggered(Code)(Java Doc)

Methods inherited from javax.media.j3d.WakeupCriterion
abstract void addBehaviorCondition(BehaviorStructure bs)(Code)(Java Doc)
void buildTree(WakeupCondition parent, int id, BehaviorRetained b)(Code)(Java Doc)
void cleanTree(BehaviorStructure bs)(Code)(Java Doc)
public boolean hasTriggered()(Code)(Java Doc)
abstract void removeBehaviorCondition(BehaviorStructure bs)(Code)(Java Doc)
abstract void resetBehaviorCondition(BehaviorStructure bs)(Code)(Java Doc)
void resetTree()(Code)(Java Doc)
void setTriggered()(Code)(Java Doc)

Fields inherited from javax.media.j3d.WakeupCondition
final static int ALL_ELEMENTS(Code)(Java Doc)
final static int TRIGGERED_ELEMENTS(Code)(Java Doc)
WakeupCriteriaEnumerator allEnum(Code)(Java Doc)
BehaviorRetained behav(Code)(Java Doc)
boolean conditionMet(Code)(Java Doc)
int id(Code)(Java Doc)
int listIdx(Code)(Java Doc)
WakeupCondition parent(Code)(Java Doc)
WakeupCriteriaEnumerator trigEnum(Code)(Java Doc)

Methods inherited from javax.media.j3d.WakeupCondition
public Enumeration allElements()(Code)(Java Doc)
void buildTree(WakeupCondition parent, int id, BehaviorRetained b)(Code)(Java Doc)
void cleanTree(BehaviorStructure bs)(Code)(Java Doc)
void reInsertElapseTimeCond()(Code)(Java Doc)
void resetTree()(Code)(Java Doc)
void setConditionMet(int id, Boolean checkSchedulingRegion)(Code)(Java Doc)
public Enumeration triggeredElements()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.