📄 physicalenvironment.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/PhysicalEnvironment.html#setCoexistenceToTrackerBase(javax.media.j3d.Transform3D)">setCoexistenceToTrackerBase</A></B>(<A HREF="../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A> t)</CODE><BR> Sets the coexistence coordinate system to tracker-base coordinate system transform.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/PhysicalEnvironment.html#setDominantHandIndex(int)">setDominantHandIndex</A></B>(int index)</CODE><BR> Sets the index of the dominant hand to the specified sensor index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/PhysicalEnvironment.html#setHeadIndex(int)">setHeadIndex</A></B>(int index)</CODE><BR> Sets the index of the head to the specified sensor index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/PhysicalEnvironment.html#setLeftHandIndex(int)">setLeftHandIndex</A></B>(int index)</CODE><BR> Sets the index of the left hand to the specified sensor index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/PhysicalEnvironment.html#setNonDominantHandIndex(int)">setNonDominantHandIndex</A></B>(int index)</CODE><BR> Sets the index of the non-dominant hand to the specified sensor index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/PhysicalEnvironment.html#setRightHandIndex(int)">setRightHandIndex</A></B>(int index)</CODE><BR> Sets the index of the right hand to the specified sensor index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/PhysicalEnvironment.html#setSensor(int, javax.media.j3d.Sensor)">setSensor</A></B>(int index, <A HREF="../../../javax/media/j3d/Sensor.html" title="class in javax.media.j3d">Sensor</A> sensor)</CODE><BR> Set the sensor specified by the index to sensor provided; sensors are indexed starting at 0.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/PhysicalEnvironment.html#setSensorCount(int)">setSensorCount</A></B>(int count)</CODE><BR> Set the number of sensor objects per PhysicalEnvironmnet.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="PhysicalEnvironment()"><!-- --></A><H3>PhysicalEnvironment</H3><PRE>public <B>PhysicalEnvironment</B>()</PRE><DL><DD>Constructs a PhysicalEnvironment object with default parameters. The default values are as follows: <ul> sensor count : 3<br> sensors : null (for all array elements)<br> head index : 0<br> right hand index : 1<br> left hand index : 2<br> dominant hand index : 1<br> nondominant hand index : 2<br> tracking available : false<br> audio device : null<br> input device list : empty<br> coexistence to tracker base transform : identity<br> coexistence center in pworld policy : View.NOMINAL_SCREEN<br> </ul><P></DL><HR><A NAME="PhysicalEnvironment(int)"><!-- --></A><H3>PhysicalEnvironment</H3><PRE>public <B>PhysicalEnvironment</B>(int sensorCount)</PRE><DL><DD>Constructs and initializes a PhysicalEnvironment object with the specified number of sensors.<P><DL><DT><B>Parameters:</B><DD><CODE>sensorCount</CODE> - the number of sensors to create.</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><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="setAudioDevice(javax.media.j3d.AudioDevice)"><!-- --></A><H3>setAudioDevice</H3><PRE>public void <B>setAudioDevice</B>(<A HREF="../../../javax/media/j3d/AudioDevice.html" title="interface in javax.media.j3d">AudioDevice</A> device)</PRE><DL><DD>Sets the specified AudioDevice object as the device through which audio rendering for this PhysicalEnvironment will be performed.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>device</CODE> - audio device object to be associated with this PhysicalEnvironment</DL></DD></DL><HR><A NAME="getAudioDevice()"><!-- --></A><H3>getAudioDevice</H3><PRE>public <A HREF="../../../javax/media/j3d/AudioDevice.html" title="interface in javax.media.j3d">AudioDevice</A> <B>getAudioDevice</B>()</PRE><DL><DD>Gets the audioDevice for this PhysicalEnvironment.<P><DD><DL><DT><B>Returns:</B><DD>audio device object associated with this PhysicalEnvironment</DL></DD></DL><HR><A NAME="getAllInputDevices()"><!-- --></A><H3>getAllInputDevices</H3><PRE>public java.util.Enumeration <B>getAllInputDevices</B>()</PRE><DL><DD>Create an enumerator that produces all input devices.<P><DD><DL><DT><B>Returns:</B><DD>an enumerator of all available devices</DL></DD></DL><HR><A NAME="addInputDevice(javax.media.j3d.InputDevice)"><!-- --></A><H3>addInputDevice</H3><PRE>public void <B>addInputDevice</B>(<A HREF="../../../javax/media/j3d/InputDevice.html" title="interface in javax.media.j3d">InputDevice</A> device)</PRE><DL><DD>Add an input device to the list of input devices. User is responsible for initializing the device and setting the processing mode (streaming or polling).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>device</CODE> - the device to be added to the list of input devices<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if InputDevice.getProcessingMode() does not return one of BLOCKING, NON_BLOCKING, or DEMAND_DRIVEN.</DL></DD></DL><HR><A NAME="removeInputDevice(javax.media.j3d.InputDevice)"><!-- --></A><H3>removeInputDevice</H3><PRE>public void <B>removeInputDevice</B>(<A HREF="../../../javax/media/j3d/InputDevice.html" title="interface in javax.media.j3d">InputDevice</A> device)</PRE><DL><DD>Remove an input device from the list of input devices. User is responsible for closing out the device and releasing the device resources.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>device</CODE> - the device to be removed</DL></DD></DL><HR><A NAME="setHeadIndex(int)"><!-- --></A><H3>setHeadIndex</H3><PRE>public void <B>setHeadIndex</B>(int index)</PRE><DL><DD>Sets the index of the head to the specified sensor index.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the new sensor index of the head</DL></DD></DL><HR><A NAME="getHeadIndex()"><!-- --></A><H3>getHeadIndex</H3><PRE>public int <B>getHeadIndex</B>()</PRE><DL><DD>Gets the sensor index of the head.<P><DD><DL><DT><B>Returns:</B><DD>the sensor index of the head</DL></DD></DL><HR><A NAME="setRightHandIndex(int)"><!-- --></A><H3>setRightHandIndex</H3><PRE>public void <B>setRightHandIndex</B>(int index)</PRE><DL><DD>Sets the index of the right hand to the specified sensor index.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the new sensor index of the right hand</DL></DD></DL><HR><A NAME="getRightHandIndex()"><!-- --></A><H3>getRightHandIndex</H3><PRE>public int <B>getRightHandIndex</B>()</PRE><DL><DD>Gets the sensor index of the right hand.<P><DD><DL><DT><B>Returns:</B><DD>the sensor index of the right hand</DL></DD></DL><HR><A NAME="setLeftHandIndex(int)"><!-- --></A><H3>setLeftHandIndex</H3><PRE>public void <B>setLeftHandIndex</B>(int index)</PRE><DL><DD>Sets the index of the left hand to the specified sensor index.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the new sensor index of the left hand</DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -