⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 physicalbody.html

📁 java 3d帮助文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<A NAME="PhysicalBody(javax.vecmath.Point3d, javax.vecmath.Point3d)"><!-- --></A><H3>PhysicalBody</H3><PRE>public <B>PhysicalBody</B>(<A HREF="../../../javax/vecmath/Point3d.html">Point3d</A>&nbsp;leftEyePosition,                    <A HREF="../../../javax/vecmath/Point3d.html">Point3d</A>&nbsp;rightEyePosition)</PRE><DL><DD>Constructs and initializes a PhysicalBody object from the specified parameters.<P><DT><B>Parameters:</B><DD><CODE>leftEyePosition</CODE> - the user's left eye position<DD><CODE>rightEyePosition</CODE> - the user's right eye position</DL><HR><A NAME="PhysicalBody(javax.vecmath.Point3d, javax.vecmath.Point3d, javax.vecmath.Point3d, javax.vecmath.Point3d)"><!-- --></A><H3>PhysicalBody</H3><PRE>public <B>PhysicalBody</B>(<A HREF="../../../javax/vecmath/Point3d.html">Point3d</A>&nbsp;leftEyePosition,                    <A HREF="../../../javax/vecmath/Point3d.html">Point3d</A>&nbsp;rightEyePosition,                    <A HREF="../../../javax/vecmath/Point3d.html">Point3d</A>&nbsp;leftEarPosition,                    <A HREF="../../../javax/vecmath/Point3d.html">Point3d</A>&nbsp;rightEarPosition)</PRE><DL><DD>Constructs and initializes a PhysicalBody object from the specified parameters.<P><DT><B>Parameters:</B><DD><CODE>leftEyePosition</CODE> - the user's left eye position<DD><CODE>rightEyePosition</CODE> - the user's right eye position<DD><CODE>leftEarPosition</CODE> - the user's left ear position<DD><CODE>rightEarPosition</CODE> - the user's right ear position</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns a string representation of this PhysicalBody's values.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getLeftEyePosition(javax.vecmath.Point3d)"><!-- --></A><H3>getLeftEyePosition</H3><PRE>public void <B>getLeftEyePosition</B>(<A HREF="../../../javax/vecmath/Point3d.html">Point3d</A>&nbsp;position)</PRE><DL><DD>Retrieves the user head object's left eye position and places that value in the specified object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>position</CODE> - the object that will receive the left-eye's position  in head coordinates</DL></DD></DL><HR><A NAME="setLeftEyePosition(javax.vecmath.Point3d)"><!-- --></A><H3>setLeftEyePosition</H3><PRE>public void <B>setLeftEyePosition</B>(<A HREF="../../../javax/vecmath/Point3d.html">Point3d</A>&nbsp;position)</PRE><DL><DD>Sets the user head object's left eye position.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>position</CODE> - the left-eye's position in head coordinates</DL></DD></DL><HR><A NAME="getRightEyePosition(javax.vecmath.Point3d)"><!-- --></A><H3>getRightEyePosition</H3><PRE>public void <B>getRightEyePosition</B>(<A HREF="../../../javax/vecmath/Point3d.html">Point3d</A>&nbsp;position)</PRE><DL><DD>Retrieves the user head object's right eye position and places  that value in the specified object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>position</CODE> - the object that will receive the right-eye's position  in head coordinates</DL></DD></DL><HR><A NAME="setRightEyePosition(javax.vecmath.Point3d)"><!-- --></A><H3>setRightEyePosition</H3><PRE>public void <B>setRightEyePosition</B>(<A HREF="../../../javax/vecmath/Point3d.html">Point3d</A>&nbsp;position)</PRE><DL><DD>Sets the user head object's right eye position.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>position</CODE> - the right-eye's position in head coordinates</DL></DD></DL><HR><A NAME="getLeftEarPosition(javax.vecmath.Point3d)"><!-- --></A><H3>getLeftEarPosition</H3><PRE>public void <B>getLeftEarPosition</B>(<A HREF="../../../javax/vecmath/Point3d.html">Point3d</A>&nbsp;position)</PRE><DL><DD>Retrieves the user head object's left ear position and places that value in the specified object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>position</CODE> - the object that will receive the left-ear's position  in head coordinates</DL></DD></DL><HR><A NAME="setLeftEarPosition(javax.vecmath.Point3d)"><!-- --></A><H3>setLeftEarPosition</H3><PRE>public void <B>setLeftEarPosition</B>(<A HREF="../../../javax/vecmath/Point3d.html">Point3d</A>&nbsp;position)</PRE><DL><DD>Sets the user head object's left ear position.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>position</CODE> - the left-ear's position in head coordinates</DL></DD></DL><HR><A NAME="getRightEarPosition(javax.vecmath.Point3d)"><!-- --></A><H3>getRightEarPosition</H3><PRE>public void <B>getRightEarPosition</B>(<A HREF="../../../javax/vecmath/Point3d.html">Point3d</A>&nbsp;position)</PRE><DL><DD>Retrieves the user head object's right ear position and places  that value in the specified object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>position</CODE> - the object that will receive the right-ear's position  in head coordinates</DL></DD></DL><HR><A NAME="setRightEarPosition(javax.vecmath.Point3d)"><!-- --></A><H3>setRightEarPosition</H3><PRE>public void <B>setRightEarPosition</B>(<A HREF="../../../javax/vecmath/Point3d.html">Point3d</A>&nbsp;position)</PRE><DL><DD>Sets the user head object's right ear position.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>position</CODE> - the right-ear's position in head coordinates</DL></DD></DL><HR><A NAME="setNominalEyeHeightFromGround(double)"><!-- --></A><H3>setNominalEyeHeightFromGround</H3><PRE>public void <B>setNominalEyeHeightFromGround</B>(double&nbsp;height)</PRE><DL><DD>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.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>height</CODE> - the nominal height of the eye above the ground plane</DL></DD></DL><HR><A NAME="getNominalEyeHeightFromGround()"><!-- --></A><H3>getNominalEyeHeightFromGround</H3><PRE>public double <B>getNominalEyeHeightFromGround</B>()</PRE><DL><DD>Retrieves the nominal eye height from the ground plane.<P><DD><DL><DT><B>Returns:</B><DD>the current nominal eye height above the ground plane</DL></DD></DL><HR><A NAME="setNominalEyeOffsetFromNominalScreen(double)"><!-- --></A><H3>setNominalEyeOffsetFromNominalScreen</H3><PRE>public void <B>setNominalEyeOffsetFromNominalScreen</B>(double&nbsp;offset)</PRE><DL><DD>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.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - the nominal offset from the eye to the screen</DL></DD></DL><HR><A NAME="getNominalEyeOffsetFromNominalScreen()"><!-- --></A><H3>getNominalEyeOffsetFromNominalScreen</H3><PRE>public double <B>getNominalEyeOffsetFromNominalScreen</B>()</PRE><DL><DD>Retrieves the nominal eye offset from the display screen.<P><DD><DL><DT><B>Returns:</B><DD>the current nominal offset from the eye to the display screen</DL></DD></DL><HR><A NAME="setHeadToHeadTracker(javax.media.j3d.Transform3D)"><!-- --></A><H3>setHeadToHeadTracker</H3><PRE>public void <B>setHeadToHeadTracker</B>(<A HREF="../../../javax/media/j3d/Transform3D.html">Transform3D</A>&nbsp;t)</PRE><DL><DD>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.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the new transform<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/BadTransformException.html">BadTransformException</A></CODE> - if the transform is not rigid</DL></DD></DL><HR><A NAME="getHeadToHeadTracker(javax.media.j3d.Transform3D)"><!-- --></A><H3>getHeadToHeadTracker</H3><PRE>public void <B>getHeadToHeadTracker</B>(<A HREF="../../../javax/media/j3d/Transform3D.html">Transform3D</A>&nbsp;t)</PRE><DL><DD>Retrieves the head to head-tracker coordinate system transform.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the object that will receive the transform</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../javax/media/j3d/PathInterpolator.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/media/j3d/PhysicalEnvironment.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="PhysicalBody.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -