📄 viewer.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="getViewer(javax.media.j3d.View)"><!-- --></A><H3>getViewer</H3><PRE>public static <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html" title="class in com.sun.j3d.utils.universe">Viewer</A> <B>getViewer</B>(<A HREF="../../../../../javax/media/j3d/View.html" title="class in javax.media.j3d">View</A> view)</PRE><DL><DD>Get the Viewer associated with the view object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>view</CODE> - The View object for inquiry.<DT><B>Returns:</B><DD>The Viewer object associated with this View object. Note: This method is targeted for SUN framebuffer XVR-4000 and later hardware that support video size extension.<DT><B>Since:</B></DT> <DD>Java 3D 1.3.1</DD></DL></DD></DL><HR><A NAME="removeViewerMapEntry(javax.media.j3d.View)"><!-- --></A><H3>removeViewerMapEntry</H3><PRE>public static <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html" title="class in com.sun.j3d.utils.universe">Viewer</A> <B>removeViewerMapEntry</B>(<A HREF="../../../../../javax/media/j3d/View.html" title="class in javax.media.j3d">View</A> view)</PRE><DL><DD>Removes the entry associated with the view object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>view</CODE> - The View object to be removed.<DT><B>Returns:</B><DD>The Viewer object associated with this View object. Note: This method is targeted for SUN framebuffer XVR-4000 and later hardware that support video size extension.<DT><B>Since:</B></DT> <DD>Java 3D 1.3.1</DD></DL></DD></DL><HR><A NAME="clearViewerMap()"><!-- --></A><H3>clearViewerMap</H3><PRE>public static void <B>clearViewerMap</B>()</PRE><DL><DD>Removes all Viewer mappings from the Viewer map. Note: This method is targeted for SUN framebuffer XVR-4000 and later hardware that support video size extension.<P><DD><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.3.1</DD></DL></DD></DL><HR><A NAME="isDvrEnabled()"><!-- --></A><H3>isDvrEnabled</H3><PRE>public boolean <B>isDvrEnabled</B>()</PRE><DL><DD>Returns a status flag indicating whether or not dynamic video size is enabled. Note: This method is targeted for SUN framebuffer XVR-4000 and later hardware that support video size extension.<P><DD><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.3.1</DD></DL></DD></DL><HR><A NAME="setDvrEnable(boolean)"><!-- --></A><H3>setDvrEnable</H3><PRE>public void <B>setDvrEnable</B>(boolean dvr)</PRE><DL><DD>Turns on or off dynamic video size. Note: This method is targeted for SUN framebuffer XVR-4000 and later hardware that support video size extension.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dvr</CODE> - enables or disables dynamic video size.<DT><B>Since:</B></DT> <DD>Java 3D 1.3.1</DD></DL></DD></DL><HR><A NAME="getDvrFactor()"><!-- --></A><H3>getDvrFactor</H3><PRE>public float <B>getDvrFactor</B>()</PRE><DL><DD>Retrieves the dynamic video resize factor of this viewer. Note: This method is targeted for SUN framebuffer XVR-4000 and later hardware that support video size extension.<P><DD><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.3.1</DD></DL></DD></DL><HR><A NAME="setDvrFactor(float)"><!-- --></A><H3>setDvrFactor</H3><PRE>public void <B>setDvrFactor</B>(float dvr)</PRE><DL><DD>Set the dynamic video resize factor for this viewer. Note: This method is targeted for SUN framebuffer XVR-4000 and later hardware that support video size extension.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dvr</CODE> - set the dynamic video resize factor for this viewer.<DT><B>Since:</B></DT> <DD>Java 3D 1.3.1</DD></DL></DD></DL><HR><A NAME="setDvrResizeCompensationEnable(boolean)"><!-- --></A><H3>setDvrResizeCompensationEnable</H3><PRE>public void <B>setDvrResizeCompensationEnable</B>(boolean dvrRCE)</PRE><DL><DD>Turns on or off dynamic video resize compensation. Note: This method is targeted for SUN framebuffer XVR-4000 and later hardware that support video size extension.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dvrRCE</CODE> - enables or disables dynamic video resize compensation.<DT><B>Since:</B></DT> <DD>Java 3D 1.3.1</DD></DL></DD></DL><HR><A NAME="getDvrResizeCompensationEnable()"><!-- --></A><H3>getDvrResizeCompensationEnable</H3><PRE>public boolean <B>getDvrResizeCompensationEnable</B>()</PRE><DL><DD>Returns a status flag indicating whether or not dynamic video resize compensation is enabled. Note: This method is targeted for SUN framebuffer XVR-4000 and later hardware that support video size extension.<P><DD><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.3.1</DD></DL></DD></DL><HR><A NAME="setVisible(boolean)"><!-- --></A><H3>setVisible</H3><PRE>public void <B>setVisible</B>(boolean visible)</PRE><DL><DD>Call setVisible() on all Window components created by this Viewer.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>visible</CODE> - boolean to be passed to the setVisible() calls on the Window components created by this Viewer<DT><B>Since:</B></DT> <DD>Java3D 1.3</DD></DL></DD></DL><HR><A NAME="getView()"><!-- --></A><H3>getView</H3><PRE>public <A HREF="../../../../../javax/media/j3d/View.html" title="class in javax.media.j3d">View</A> <B>getView</B>()</PRE><DL><DD>Returns the View object associated with the Viewer object.<P><DD><DL><DT><B>Returns:</B><DD>The View object of this Viewer.</DL></DD></DL><HR><A NAME="setViewingPlatform(com.sun.j3d.utils.universe.ViewingPlatform)"><!-- --></A><H3>setViewingPlatform</H3><PRE>public void <B>setViewingPlatform</B>(<A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html" title="class in com.sun.j3d.utils.universe">ViewingPlatform</A> platform)</PRE><DL><DD>Set the ViewingPlatform object used by this Viewer.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>platform</CODE> - The ViewingPlatform object to set for this Viewer object. Use null to unset the current value and not assign assign a new ViewingPlatform object.</DL></DD></DL><HR><A NAME="getViewingPlatform()"><!-- --></A><H3>getViewingPlatform</H3><PRE>public <A HREF="../../../../../com/sun/j3d/utils/universe/ViewingPlatform.html" title="class in com.sun.j3d.utils.universe">ViewingPlatform</A> <B>getViewingPlatform</B>()</PRE><DL><DD>Get the ViewingPlatform object used by this Viewer.<P><DD><DL><DT><B>Returns:</B><DD>The ViewingPlatform object used by this Viewer object.</DL></DD></DL><HR><A NAME="setAvatar(com.sun.j3d.utils.universe.ViewerAvatar)"><!-- --></A><H3>setAvatar</H3><PRE>public void <B>setAvatar</B>(<A HREF="../../../../../com/sun/j3d/utils/universe/ViewerAvatar.html" title="class in com.sun.j3d.utils.universe">ViewerAvatar</A> avatar)</PRE><DL><DD>Sets the geometry to be associated with the viewer's avatar. The avatar is the geometry used to represent the viewer in the virtual world.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>avatar</CODE> - The geometry to associate with this Viewer object. Passing in null will cause any geometry associated with the Viewer to be removed from the scen graph.</DL></DD></DL><HR><A NAME="getAvatar()"><!-- --></A><H3>getAvatar</H3><PRE>public <A HREF="../../../../../com/sun/j3d/utils/universe/ViewerAvatar.html" title="class in com.sun.j3d.utils.universe">ViewerAvatar</A> <B>getAvatar</B>()</PRE><DL><DD>Gets the geometry associated with the viewer's avatar. The avatar is the geometry used to represent the viewer in the virtual world.<P><DD><DL><DT><B>Returns:</B><DD>The root of the scene graph that is used to represent the viewer's avatar.</DL></DD></DL><HR><A NAME="getPhysicalBody()"><!-- --></A><H3>getPhysicalBody</H3><PRE>public <A HREF="../../../../../javax/media/j3d/PhysicalBody.html" title="class in javax.media.j3d">PhysicalBody</A> <B>getPhysicalBody</B>()</PRE><DL><DD>Returns the PhysicalBody object associated with the Viewer object.<P><DD><DL><DT><B>Returns:</B><DD>A reference to the PhysicalBody object.</DL></DD></DL><HR><A NAME="getPhysicalEnvironment()"><!-- --></A><H3>getPhysicalEnvironment</H3><PRE>public <A HREF="../../../../../javax/media/j3d/PhysicalEnvironment.html" title="class in javax.media.j3d">PhysicalEnvironment</A> <B>getPhysicalEnvironment</B>()</PRE><DL><DD>Returns the PhysicalEnvironment object associated with the Viewer object.<P><DD><DL><DT><B>Returns:</B><DD>A reference to the PhysicalEnvironment object.</DL></DD></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -