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

📄 viewingplatform.html

📁 JAVA多媒体开发类库说明
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<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="setViewPlatform(javax.media.j3d.ViewPlatform)"><!-- --></A><H3>setViewPlatform</H3><PRE>public void <B>setViewPlatform</B>(<A HREF="../../../../../javax/media/j3d/ViewPlatform.html" title="class in javax.media.j3d">ViewPlatform</A>&nbsp;vp)</PRE><DL><DD>Sets the ViewPlatform node for this ViewingPlatform object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>vp</CODE> - The ViewPlatform node to associate with this ViewingPlatform  object.</DL></DD></DL><HR><A NAME="getViewPlatform()"><!-- --></A><H3>getViewPlatform</H3><PRE>public <A HREF="../../../../../javax/media/j3d/ViewPlatform.html" title="class in javax.media.j3d">ViewPlatform</A> <B>getViewPlatform</B>()</PRE><DL><DD>Returns the ViewPlatform node for this ViewingPlatform object.<P><DD><DL><DT><B>Returns:</B><DD>The ViewPlatform node associated with this ViewingPlatform  object.</DL></DD></DL><HR><A NAME="setPlatformGeometry(com.sun.j3d.utils.universe.PlatformGeometry)"><!-- --></A><H3>setPlatformGeometry</H3><PRE>public void <B>setPlatformGeometry</B>(<A HREF="../../../../../com/sun/j3d/utils/universe/PlatformGeometry.html" title="class in com.sun.j3d.utils.universe">PlatformGeometry</A>&nbsp;pg)</PRE><DL><DD>Assigns the geometry to associate with the ViewingPlatform. PlatformGeometry is used to hold any geometry to be associated with the ViewingPlatform.  If the ViewingPlatform is to be the inside of a car, for instance, than the PlatformGeometry could be the dashboard of the car.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pg</CODE> - The geometry to be associated with this ViewingPlatform.  Passing in null has the effect of deleting any geometry associated  with this ViewingPlatform.</DL></DD></DL><HR><A NAME="getPlatformGeometry()"><!-- --></A><H3>getPlatformGeometry</H3><PRE>public <A HREF="../../../../../com/sun/j3d/utils/universe/PlatformGeometry.html" title="class in com.sun.j3d.utils.universe">PlatformGeometry</A> <B>getPlatformGeometry</B>()</PRE><DL><DD>Returns the PlatformGeometry associated with this ViewingPlatform<P><DD><DL><DT><B>Returns:</B><DD>The PlatformGeometry associated with this ViewingPlatform</DL></DD></DL><HR><A NAME="getMultiTransformGroup()"><!-- --></A><H3>getMultiTransformGroup</H3><PRE>public <A HREF="../../../../../com/sun/j3d/utils/universe/MultiTransformGroup.html" title="class in com.sun.j3d.utils.universe">MultiTransformGroup</A> <B>getMultiTransformGroup</B>()</PRE><DL><DD>Returns the MultitransformGroup object for this ViewingPlatform object.<P><DD><DL><DT><B>Returns:</B><DD>The MultitransformGroup object.</DL></DD></DL><HR><A NAME="getViewPlatformTransform()"><!-- --></A><H3>getViewPlatformTransform</H3><PRE>public <A HREF="../../../../../javax/media/j3d/TransformGroup.html" title="class in javax.media.j3d">TransformGroup</A> <B>getViewPlatformTransform</B>()</PRE><DL><DD>Returns a reference to the "bottom most" transform in the MultiTransformGroup that is above the ViewPlatform node.<P><DD><DL><DT><B>Returns:</B><DD>The TransformGroup that is immediately above the  ViewPlatform object.</DL></DD></DL><HR><A NAME="setNominalViewingTransform()"><!-- --></A><H3>setNominalViewingTransform</H3><PRE>public void <B>setNominalViewingTransform</B>()</PRE><DL><DD>Sets the nominal viewing distance in the ViewPlatform transform based on the current field of view.  If the ViewAttachPolicy is not the default of View.NOMINAL_HEAD, then this method has no effect.<p>  The ViewPlatform is moved back along Z so that objects at the origin spanning the normalized X range of -1.0 to +1.0 can be fully viewed across the width of the window.  This is done by setting a translation of 1/(tan(fieldOfView/2)) in the ViewPlatform transform.<p> If there is no Viewer object associated with this ViewingPlatform object the default field of view of PI/4.0 is used.<p>  NOTE: Support for multiple Viewer objects is not available.  If multiple viewers are attached to this ViewingPlatform than a RuntimeException will be thrown.<P><DD><DL></DL></DD></DL><HR><A NAME="setViewPlatformBehavior(com.sun.j3d.utils.behaviors.vp.ViewPlatformBehavior)"><!-- --></A><H3>setViewPlatformBehavior</H3><PRE>public void <B>setViewPlatformBehavior</B>(<A HREF="../../../../../com/sun/j3d/utils/behaviors/vp/ViewPlatformBehavior.html" title="class in com.sun.j3d.utils.behaviors.vp">ViewPlatformBehavior</A>&nbsp;behavior)</PRE><DL><DD>Sets the ViewPlatformBehavior which will operate on the ViewPlatform transform (the TransformGroup returned by ViewingPlatform.getViewPlatformTransform()). The ViewPlatformBehavior may be set after the ViewingPlatform is setLive(). If a behavior is already present, it will be detached and it's setViewingPlatform method will be called with a parameter of null.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>behavior</CODE> - The ViewPlatformBehavior to add to the ViewingPlatform. null will remove the ViewingPlatform behavior.<DT><B>Since:</B></DT>  <DD>Java 3D 1.2.1</DD></DL></DD></DL><HR><A NAME="getViewPlatformBehavior()"><!-- --></A><H3>getViewPlatformBehavior</H3><PRE>public <A HREF="../../../../../com/sun/j3d/utils/behaviors/vp/ViewPlatformBehavior.html" title="class in com.sun.j3d.utils.behaviors.vp">ViewPlatformBehavior</A> <B>getViewPlatformBehavior</B>()</PRE><DL><DD>Returns the ViewPlatformBehavior<P><DD><DL><DT><B>Returns:</B><DD>the ViewPlatformBehavior for the ViewingPlatform. Returns null if there is no ViewPlatformBehavior set.<DT><B>Since:</B></DT>  <DD>Java 3D 1.2.1</DD></DL></DD></DL><HR><A NAME="getViewers()"><!-- --></A><H3>getViewers</H3><PRE>public <A HREF="../../../../../com/sun/j3d/utils/universe/Viewer.html" title="class in com.sun.j3d.utils.universe">Viewer</A>[] <B>getViewers</B>()</PRE><DL><DD>Returns the Viewers attached to this ViewingPlatform<P><DD><DL><DT><B>Returns:</B><DD>the Viewers attached to this viewing platform<DT><B>Since:</B></DT>  <DD>Java 3D 1.3</DD></DL></DD></DL><HR><A NAME="getUniverse()"><!-- --></A><H3>getUniverse</H3><PRE>public <A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html" title="class in com.sun.j3d.utils.universe">SimpleUniverse</A> <B>getUniverse</B>()</PRE><DL><DD>Returns the Universe to which this ViewingPlatform is attached<P><DD><DL><DT><B>Returns:</B><DD>the Universe to which this ViewingPlatform is attached<DT><B>Since:</B></DT>  <DD>Java 3D 1.3</DD></DL></DD></DL><HR><A NAME="setUniverse(com.sun.j3d.utils.universe.SimpleUniverse)"><!-- --></A><H3>setUniverse</H3><PRE>public void <B>setUniverse</B>(<A HREF="../../../../../com/sun/j3d/utils/universe/SimpleUniverse.html" title="class in com.sun.j3d.utils.universe">SimpleUniverse</A>&nbsp;universe)</PRE><DL><DD>Sets the Universe to which this ViewingPlatform is attached<P><DD><DL><DT><B>Parameters:</B><DD><CODE>universe</CODE> - the Universe to which this ViewingPlatform is attached<DT><B>Since:</B></DT>  <DD>Java 3D 1.3</DD></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>&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="../../../../../com/sun/j3d/utils/universe/ViewInfo.html" title="class in com.sun.j3d.utils.universe"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html?com/sun/j3d/utils/universe/ViewingPlatform.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ViewingPlatform.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -