Java Doc for PhysicalBody.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.PhysicalBody

PhysicalBody
public class PhysicalBody extends Object (Code)
This object contains a specification of the user's head. Attributes of this object are defined in the head coordinate system. The orgin is defined to be halfway between the left and right eye in the plane of the face. The x-axis extends to the right (of the head looking out from the head). The y-axis extends up. The z-axis extends to the rear of the head.
See Also:   View


Field Summary
 Transform3DheadToHeadTracker
    
 Point3dleftEarPosition
     The user's left ear's position in head coordinates.
 Point3dleftEyePosition
     The user's left eye's position in head coordinates.
 doublenominalEyeHeightFromGround
     The user's nominal eye height as measured from the ground plane.
 doublenominalEyeOffsetFromNominalScreen
     The amount to offset the system's viewpoint from the user's current eye-point.
 intpbDirtyMask
    
 Point3drightEarPosition
     The user's right ear's position in head coordinates.
 Point3drightEyePosition
     The user's right eye's position in head coordinates.
 ArrayListusers
    

Constructor Summary
public  PhysicalBody()
     Constructs a PhysicalBody object with default parameters.
public  PhysicalBody(Point3d leftEyePosition, Point3d rightEyePosition)
     Constructs and initializes a PhysicalBody object from the specified parameters.
public  PhysicalBody(Point3d leftEyePosition, Point3d rightEyePosition, Point3d leftEarPosition, Point3d rightEarPosition)
     Constructs and initializes a PhysicalBody object from the specified parameters.

Method Summary
synchronized  voidaddUser(View view)
    
public  voidgetHeadToHeadTracker(Transform3D t)
     Retrieves the head to head-tracker coordinate system transform.
public  voidgetLeftEarPosition(Point3d position)
     Retrieves the user head object's left ear position and places that value in the specified object.
public  voidgetLeftEyePosition(Point3d position)
     Retrieves the user head object's left eye position and places that value in the specified object.
public  doublegetNominalEyeHeightFromGround()
     Retrieves the nominal eye height from the ground plane.
public  doublegetNominalEyeOffsetFromNominalScreen()
     Retrieves the nominal eye offset from the display screen.
public  voidgetRightEarPosition(Point3d position)
     Retrieves the user head object's right ear position and places that value in the specified object.
public  voidgetRightEyePosition(Point3d position)
     Retrieves the user head object's right eye position and places that value in the specified object.
synchronized  voidnotifyUsers()
    
synchronized  voidremoveUser(View view)
    
public  voidsetHeadToHeadTracker(Transform3D t)
     Sets the head to head-tracker coordinate system transform. If head tracking is enabled, this transform is a calibration constant.
public  voidsetLeftEarPosition(Point3d position)
     Sets the user head object's left ear position.
public  voidsetLeftEyePosition(Point3d position)
     Sets the user head object's left eye position.
public  voidsetNominalEyeHeightFromGround(double height)
     Sets the nominal eye height from the ground plane.
public  voidsetNominalEyeOffsetFromNominalScreen(double offset)
     Sets the nominal eye offset from the display screen.
public  voidsetRightEarPosition(Point3d position)
     Sets the user head object's right ear position.
public  voidsetRightEyePosition(Point3d position)
     Sets the user head object's right eye position.
public  StringtoString()
     Returns a string representation of this PhysicalBody's values.

Field Detail
headToHeadTracker
Transform3D headToHeadTracker(Code)



leftEarPosition
Point3d leftEarPosition(Code)
The user's left ear's position in head coordinates.



leftEyePosition
Point3d leftEyePosition(Code)
The user's left eye's position in head coordinates.



nominalEyeHeightFromGround
double nominalEyeHeightFromGround(Code)
The user's nominal eye height as measured from the ground plane.



nominalEyeOffsetFromNominalScreen
double nominalEyeOffsetFromNominalScreen(Code)
The amount to offset the system's viewpoint from the user's current eye-point. This offset distance allows an "Over the shoulder" view of the scene as seen by the user. By default, we will use a Z value of 0.4572 meters (18 inches).



pbDirtyMask
int pbDirtyMask(Code)



rightEarPosition
Point3d rightEarPosition(Code)
The user's right ear's position in head coordinates.



rightEyePosition
Point3d rightEyePosition(Code)
The user's right eye's position in head coordinates.



users
ArrayList users(Code)




Constructor Detail
PhysicalBody
public PhysicalBody()(Code)
Constructs a PhysicalBody object with default parameters. The default values are as follows:
    left eye position : (-0.033, 0.0, 0.0)
    right eye position : (0.033, 0.0, 0.0)
    left ear position : (-0.080, -0.030, 0.095)
    right ear position : (0.080, -0.030, 0.095)
    nominal eye height from ground : 1.68
    nominal eye offset from nominal screen : 0.4572
    head to head tracker transform : identity



PhysicalBody
public PhysicalBody(Point3d leftEyePosition, Point3d rightEyePosition)(Code)
Constructs and initializes a PhysicalBody object from the specified parameters.
Parameters:
  leftEyePosition - the user's left eye position
Parameters:
  rightEyePosition - the user's right eye position



PhysicalBody
public PhysicalBody(Point3d leftEyePosition, Point3d rightEyePosition, Point3d leftEarPosition, Point3d rightEarPosition)(Code)
Constructs and initializes a PhysicalBody object from the specified parameters.
Parameters:
  leftEyePosition - the user's left eye position
Parameters:
  rightEyePosition - the user's right eye position
Parameters:
  leftEarPosition - the user's left ear position
Parameters:
  rightEarPosition - the user's right ear position




Method Detail
addUser
synchronized void addUser(View view)(Code)



getHeadToHeadTracker
public void getHeadToHeadTracker(Transform3D t)(Code)
Retrieves the head to head-tracker coordinate system transform.
Parameters:
  t - the object that will receive the transform



getLeftEarPosition
public void getLeftEarPosition(Point3d position)(Code)
Retrieves the user head object's left ear position and places that value in the specified object.
Parameters:
  position - the object that will receive the left-ear's position in head coordinates



getLeftEyePosition
public void getLeftEyePosition(Point3d position)(Code)
Retrieves the user head object's left eye position and places that value in the specified object.
Parameters:
  position - the object that will receive the left-eye's position in head coordinates



getNominalEyeHeightFromGround
public double getNominalEyeHeightFromGround()(Code)
Retrieves the nominal eye height from the ground plane. the current nominal eye height above the ground plane



getNominalEyeOffsetFromNominalScreen
public double getNominalEyeOffsetFromNominalScreen()(Code)
Retrieves the nominal eye offset from the display screen. the current nominal offset from the eye to the display screen



getRightEarPosition
public void getRightEarPosition(Point3d position)(Code)
Retrieves the user head object's right ear position and places that value in the specified object.
Parameters:
  position - the object that will receive the right-ear's position in head coordinates



getRightEyePosition
public void getRightEyePosition(Point3d position)(Code)
Retrieves the user head object's right eye position and places that value in the specified object.
Parameters:
  position - the object that will receive the right-eye's position in head coordinates



notifyUsers
synchronized void notifyUsers()(Code)



removeUser
synchronized void removeUser(View view)(Code)



setHeadToHeadTracker
public void setHeadToHeadTracker(Transform3D t)(Code)
Sets the head to head-tracker coordinate system transform. If head tracking is enabled, this transform is a calibration constant. If head tracking is not enabled, this transform is not used. This is used in both SCREEN_VIEW and HMD_VIEW modes.
Parameters:
  t - the new transform
exception:
  BadTransformException - if the transform is not rigid



setLeftEarPosition
public void setLeftEarPosition(Point3d position)(Code)
Sets the user head object's left ear position.
Parameters:
  position - the left-ear's position in head coordinates



setLeftEyePosition
public void setLeftEyePosition(Point3d position)(Code)
Sets the user head object's left eye position.
Parameters:
  position - the left-eye's position in head coordinates



setNominalEyeHeightFromGround
public void setNominalEyeHeightFromGround(double height)(Code)
Sets the nominal eye height from the ground plane. This parameter defines the distance from the origin of the user's head (the eyepoint) to the ground. It is used when the view attach policy is NOMINAL_FEET.
Parameters:
  height - the nominal height of the eye above the ground plane



setNominalEyeOffsetFromNominalScreen
public void setNominalEyeOffsetFromNominalScreen(double offset)(Code)
Sets the nominal eye offset from the display screen. This parameter defines the distance from the origin of the user's head (the eyepoint), in it's nominal position, to the screen. It is used when the view attach policy is NOMINAL_HEAD or NOMINAL_FEET. This value is overridden to be the actual eyepoint when the window eyepoint policy is RELATIVE_TO_FIELD_OF_VIEW.
Parameters:
  offset - the nominal offset from the eye to the screen



setRightEarPosition
public void setRightEarPosition(Point3d position)(Code)
Sets the user head object's right ear position.
Parameters:
  position - the right-ear's position in head coordinates



setRightEyePosition
public void setRightEyePosition(Point3d position)(Code)
Sets the user head object's right eye position.
Parameters:
  position - the right-eye's position in head coordinates



toString
public String toString()(Code)
Returns a string representation of this PhysicalBody's values.



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.