📄 screen3d.html
字号:
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getSize()"><!-- --></A><H3>getSize</H3><PRE>public java.awt.Dimension <B>getSize</B>()</PRE><DL><DD>Retrieves the width and height (in pixels) of this Screen3D.<P><DD><DL><DT><B>Returns:</B><DD>a new Dimension object containing the width and height of this Screen3D.</DL></DD></DL><HR><A NAME="getSize(java.awt.Dimension)"><!-- --></A><H3>getSize</H3><PRE>public java.awt.Dimension <B>getSize</B>(java.awt.Dimension rv)</PRE><DL><DD>Retrieves the width and height (in pixels) of this Screen3D and copies it into the specified Dimension object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>rv</CODE> - Dimension object into which the size of this Screen3D is copied. If <code>rv</code> is null, a new Dimension object is allocated.<DT><B>Returns:</B><DD><code>rv</code><DT><B>Since:</B></DT> <DD>Java 3D 1.2</DD></DL></DD></DL><HR><A NAME="setSize(int, int)"><!-- --></A><H3>setSize</H3><PRE>public void <B>setSize</B>(int width, int height)</PRE><DL><DD>Sets the width and height (in pixels) of this off-screen Screen3D. The default size for off-screen Screen3D objects is (0,0). <br> NOTE: the size must be set prior to rendering to the associated off-screen canvas. Failure to do so will result in an exception.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - the new width of this Screen3D object<DD><CODE>height</CODE> - the new height of this Screen3D object<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if this Screen3D is not in off-screen mode.<DT><B>Since:</B></DT> <DD>Java 3D 1.2</DD></DL></DD></DL><HR><A NAME="setSize(java.awt.Dimension)"><!-- --></A><H3>setSize</H3><PRE>public void <B>setSize</B>(java.awt.Dimension d)</PRE><DL><DD>Sets the width and height (in pixels) of this off-screen Screen3D. The default size for off-screen Screen3D objects is (0,0). <br> NOTE: the size must be set prior to rendering to the associated off-screen canvas. Failure to do so will result in an exception.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>d</CODE> - the new dimension of this Screen3D object<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if this Screen3D is not in off-screen mode.<DT><B>Since:</B></DT> <DD>Java 3D 1.2</DD></DL></DD></DL><HR><A NAME="setPhysicalScreenWidth(double)"><!-- --></A><H3>setPhysicalScreenWidth</H3><PRE>public void <B>setPhysicalScreenWidth</B>(double width)</PRE><DL><DD>Sets the screen physical width in meters. In the case of a head-mounted display, this should be the apparent width at the focal plane.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - the screen's physical width in meters</DL></DD></DL><HR><A NAME="getPhysicalScreenWidth()"><!-- --></A><H3>getPhysicalScreenWidth</H3><PRE>public double <B>getPhysicalScreenWidth</B>()</PRE><DL><DD>Retrieves the screen's physical width in meters.<P><DD><DL><DT><B>Returns:</B><DD>the screen's physical width in meters</DL></DD></DL><HR><A NAME="setPhysicalScreenHeight(double)"><!-- --></A><H3>setPhysicalScreenHeight</H3><PRE>public void <B>setPhysicalScreenHeight</B>(double height)</PRE><DL><DD>Sets the screen physical height in meters. In the case of a head-mounted display, this should be the apparent height at the focal plane.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>height</CODE> - the screen's physical height in meters</DL></DD></DL><HR><A NAME="getPhysicalScreenHeight()"><!-- --></A><H3>getPhysicalScreenHeight</H3><PRE>public double <B>getPhysicalScreenHeight</B>()</PRE><DL><DD>Retrieves the the screen's physical height in meters.<P><DD><DL><DT><B>Returns:</B><DD>the screen's physical height in meters</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><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="setTrackerBaseToImagePlate(javax.media.j3d.Transform3D)"><!-- --></A><H3>setTrackerBaseToImagePlate</H3><PRE>public void <B>setTrackerBaseToImagePlate</B>(<A HREF="../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A> t)</PRE><DL><DD>Sets the tracker-base coordinate system to image-plate coordinate system transform. This transform is typically a calibration constant. This is used only in SCREEN_VIEW mode.<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" title="class in javax.media.j3d">BadTransformException</A></CODE> - if the transform is not rigid</DL></DD></DL><HR><A NAME="getTrackerBaseToImagePlate(javax.media.j3d.Transform3D)"><!-- --></A><H3>getTrackerBaseToImagePlate</H3><PRE>public void <B>getTrackerBaseToImagePlate</B>(<A HREF="../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A> t)</PRE><DL><DD>Retrieves the tracker-base coordinate system to image-plate coordinate system transform and copies it into the specified Transform3D object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the object that will receive the transform</DL></DD></DL><HR><A NAME="setHeadTrackerToLeftImagePlate(javax.media.j3d.Transform3D)"><!-- --></A><H3>setHeadTrackerToLeftImagePlate</H3><PRE>public void <B>setHeadTrackerToLeftImagePlate</B>(<A HREF="../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A> t)</PRE><DL><DD>Sets the head-tracker coordinate system to left image-plate coordinate system transform. This transform is typically a calibration constant. This is used only in HMD_VIEW mode.<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" title="class in javax.media.j3d">BadTransformException</A></CODE> - if the transform is not rigid</DL></DD></DL><HR><A NAME="getHeadTrackerToLeftImagePlate(javax.media.j3d.Transform3D)"><!-- --></A><H3>getHeadTrackerToLeftImagePlate</H3><PRE>public void <B>getHeadTrackerToLeftImagePlate</B>(<A HREF="../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A> t)</PRE><DL><DD>Retrieves the head-tracker coordinate system to left image-plate coordinate system transform and copies it into the specified Transform3D object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the object that will receive the transform</DL></DD></DL><HR><A NAME="setHeadTrackerToRightImagePlate(javax.media.j3d.Transform3D)"><!-- --></A><H3>setHeadTrackerToRightImagePlate</H3><PRE>public void <B>setHeadTrackerToRightImagePlate</B>(<A HREF="../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A> t)</PRE><DL><DD>Sets the head-tracker coordinate system to right image-plate coordinate system transform. This transform is typically a calibration constant. This is used only in HMD_VIEW mode.<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" title="class in javax.media.j3d">BadTransformException</A></CODE> - if the transform is not rigid</DL></DD></DL><HR><A NAME="getHeadTrackerToRightImagePlate(javax.media.j3d.Transform3D)"><!-- --></A><H3>getHeadTrackerToRightImagePlate</H3><PRE>public void <B>getHeadTrackerToRightImagePlate</B>(<A HREF="../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A> t)</PRE><DL><DD>Retrieves the head-tracker coordinate system to right image-plate coordinate system transform and copies it into the specified Transform3D object.<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 BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../javax/media/j3d/SceneGraphPath.html" title="class in javax.media.j3d"><B>PREV CLASS</B></A> <A HREF="../../../javax/media/j3d/Sensor.html" title="class in javax.media.j3d"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?javax/media/j3d/Screen3D.html" target="_top"><B>FRAMES</B></A> <A HREF="Screen3D.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1">Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../../../LICENSE-SPEC.html">license terms</a>.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -