Java Doc for JSDirectionalSample.java in  » 6.0-JDK-Modules » java-3d » com » sun » j3d » audioengines » javasound » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » java 3d » com.sun.j3d.audioengines.javasound 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.j3d.audioengines.Sample
      com.sun.j3d.audioengines.javasound.JSSample
         com.sun.j3d.audioengines.javasound.JSPositionalSample
            com.sun.j3d.audioengines.javasound.JSDirectionalSample

JSDirectionalSample
class JSDirectionalSample extends JSPositionalSample (Code)
The PostionalSample Class defines the data and methods associated with a PointSound sample played through the AudioDevice.


Field Summary
 Vector3fxformDirection
    

Constructor Summary
public  JSDirectionalSample()
    

Method Summary
 floatcalculateAngularGain()
     CalculateAngularGain Simply calls generic (for PointSound) 'findFactor()' with a single set of angular attenuation distance and gain scalefactor arrays.
 floatcalculateDistanceAttenuation(float distance)
     CalculateDistanceAttenuation Simply calls ConeSound specific 'findFactor()' with both front and back attenuation linear distance and gain scale factor arrays.
 voidcalculateFilter(float distance, AuralParameters attribs)
    
 floatfindAngularOffset()
    
 floatfindFactor(double distanceToHead, double[] maxDistanceArray, float[] maxFactorArray, double[] minDistanceArray, float[] minFactorArray)
    
 doubleintersectEllipse(double max, double min)
    
 voidsetXformedDirection()
    

Field Detail
xformDirection
Vector3f xformDirection(Code)




Constructor Detail
JSDirectionalSample
public JSDirectionalSample()(Code)




Method Detail
calculateAngularGain
float calculateAngularGain()(Code)
CalculateAngularGain Simply calls generic (for PointSound) 'findFactor()' with a single set of angular attenuation distance and gain scalefactor arrays.



calculateDistanceAttenuation
float calculateDistanceAttenuation(float distance)(Code)
CalculateDistanceAttenuation Simply calls ConeSound specific 'findFactor()' with both front and back attenuation linear distance and gain scale factor arrays.



calculateFilter
void calculateFilter(float distance, AuralParameters attribs)(Code)
Calculate Filter



findAngularOffset
float findAngularOffset()(Code)



findFactor
float findFactor(double distanceToHead, double[] maxDistanceArray, float[] maxFactorArray, double[] minDistanceArray, float[] minFactorArray)(Code)



intersectEllipse
double intersectEllipse(double max, double min)(Code)



setXformedDirection
void setXformedDirection()(Code)



Fields inherited from com.sun.j3d.audioengines.javasound.JSPositionalSample
static int AWAY(Code)(Java Doc)
static int MAX_DISTANCES(Code)(Java Doc)
static int NO_CHANGE(Code)(Java Doc)
static int TOWARDS(Code)(Java Doc)
boolean averageDistances(Code)(Java Doc)
Point3f[] centerEars(Code)(Java Doc)
int currentIndex(Code)(Java Doc)
long deltaTime(Code)(Java Doc)
final protected static boolean dopplerFlag(Code)(Java Doc)
boolean filterFlag(Code)(Java Doc)
float filterFreq(Code)(Java Doc)
int firstIndex(Code)(Java Doc)
double headPositionChange(Code)(Java Doc)
double lastActualDopplerRateRatio(Code)(Java Doc)
int lastIndex(Code)(Java Doc)
double lastRequestedDopplerRateRatio(Code)(Java Doc)
int leftDelay(Code)(Java Doc)
float leftGain(Code)(Java Doc)
static double maxRatio(Code)(Java Doc)
int numDistances(Code)(Java Doc)
Point3f[] positions(Code)(Java Doc)
int reverbIndex(Code)(Java Doc)
int rightDelay(Code)(Java Doc)
float rightGain(Code)(Java Doc)
int secondIndex(Code)(Java Doc)
double sourcePositionChange(Code)(Java Doc)
Vector3f sourceToCenterEar(Code)(Java Doc)
Vector3f sourceToLeftEar(Code)(Java Doc)
Vector3f sourceToRightEar(Code)(Java Doc)
long[] times(Code)(Java Doc)
Vector3f xformHeadZAxis(Code)(Java Doc)
Point3f xformLeftEar(Code)(Java Doc)
Point3f xformRightEar(Code)(Java Doc)

Methods inherited from com.sun.j3d.audioengines.javasound.JSPositionalSample
float calculateAngularGain()(Code)(Java Doc)
float calculateDistanceAttenuation(float distance)(Code)(Java Doc)
float calculateDoppler(AuralParameters attribs)(Code)(Java Doc)
void calculateFilter(float distance, AuralParameters attribs)(Code)(Java Doc)
boolean calculateNewEar(int dirtyFlags, View view, Point3f xformCenterEar)(Code)(Java Doc)
public void clear()(Code)(Java Doc)
float findFactor(double distance, double[] distanceArray, float[] factorArray)(Code)(Java Doc)
boolean getFilterFlag()(Code)(Java Doc)
float getFilterFreq()(Code)(Java Doc)
void incrementIndices()(Code)(Java Doc)
void panSample(AuralParameters attribs)(Code)(Java Doc)
public void render(int dirtyFlags, View view, AuralParameters attribs)(Code)(Java Doc)
void reset()(Code)(Java Doc)
void setXformedPosition()(Code)(Java Doc)
void updateEar(int dirtyFlags, View view)(Code)(Java Doc)

Fields inherited from com.sun.j3d.audioengines.javasound.JSSample
final static int BUFFERED_AUDIO_DATA(Code)(Java Doc)
final static int BUFFERED_MIDI_DATA(Code)(Java Doc)
final static int NULL_SAMPLE(Code)(Java Doc)
final static int STREAMING_AUDIO_DATA(Code)(Java Doc)
final static int STREAMING_MIDI_DATA(Code)(Java Doc)
final static int UNSUPPORTED_DATA_TYPE(Code)(Java Doc)
long attackLength(Code)(Java Doc)
JSChannel channel(Code)(Java Doc)
float currentRateRatio(Code)(Java Doc)
long dataOffset(Code)(Java Doc)
int dataType(Code)(Java Doc)
long loopLength(Code)(Java Doc)
long loopStartOffset(Code)(Java Doc)
long positionDeactivated(Code)(Java Doc)
boolean rampRateFlag(Code)(Java Doc)
float rateRatio(Code)(Java Doc)
long releaseLength(Code)(Java Doc)
long sampleLength(Code)(Java Doc)
float targetRateRatio(Code)(Java Doc)
long timeDeactivated(Code)(Java Doc)

Methods inherited from com.sun.j3d.audioengines.javasound.JSSample
public void clear()(Code)(Java Doc)
float getCurrentRateRatio()(Code)(Java Doc)
int getDataType()(Code)(Java Doc)
boolean getFilterFlag()(Code)(Java Doc)
float getFilterFreq()(Code)(Java Doc)
boolean getRampRateFlag()(Code)(Java Doc)
float getTargetRateRatio()(Code)(Java Doc)
boolean load(MediaContainer soundData)(Code)(Java Doc)
public void render(int dirtyFlags, View view, AuralParameters attribs)(Code)(Java Doc)
void reset()(Code)(Java Doc)
void setCurrentRateRatio(float ratio)(Code)(Java Doc)
void setDataType(int type)(Code)(Java Doc)
void setRampRateFlag(boolean flag)(Code)(Java Doc)
void setTargetRateRatio(float ratio)(Code)(Java Doc)

Fields inherited from com.sun.j3d.audioengines.Sample
final public static int DURATION_UNKNOWN(Code)(Java Doc)
final public static int LOW_PASS(Code)(Java Doc)
final public static int NO_FILTERING(Code)(Java Doc)
final public static int NULL_SAMPLE(Code)(Java Doc)
protected double[] angularDistance(Code)(Java Doc)
protected float[] angularFilterCutoff(Code)(Java Doc)
protected int angularFilterType(Code)(Java Doc)
protected float[] angularGain(Code)(Java Doc)
protected double[] attenuationDistance(Code)(Java Doc)
protected float[] attenuationGain(Code)(Java Doc)
protected double[] backAttenuationDistance(Code)(Java Doc)
protected float[] backAttenuationGain(Code)(Java Doc)
final protected static boolean debugFlag(Code)(Java Doc)
protected Vector3f direction(Code)(Java Doc)
protected int dirtyFlags(Code)(Java Doc)
protected long duration(Code)(Java Doc)
protected float gain(Code)(Java Doc)
final protected static boolean internalErrors(Code)(Java Doc)
protected int loopCount(Code)(Java Doc)
protected boolean mute(Code)(Java Doc)
protected int numberOfChannels(Code)(Java Doc)
protected float obstructionFilterCutoff(Code)(Java Doc)
protected int obstructionFilterType(Code)(Java Doc)
protected float obstructionGain(Code)(Java Doc)
protected float occlusionFilterCutoff(Code)(Java Doc)
protected int occlusionFilterType(Code)(Java Doc)
protected float occlusionGain(Code)(Java Doc)
protected Point3f position(Code)(Java Doc)
protected float rateScaleFactor(Code)(Java Doc)
protected MediaContainer soundData(Code)(Java Doc)
protected int soundType(Code)(Java Doc)
protected boolean vwXfrmFlag(Code)(Java Doc)
protected Transform3D vworldXfrm(Code)(Java Doc)

Methods inherited from com.sun.j3d.audioengines.Sample
public void clear()(Code)(Java Doc)
protected void debugPrint(String message)(Code)(Java Doc)
protected void debugPrintln(String message)(Code)(Java Doc)
public int getDirtyFlags()(Code)(Java Doc)
public long getDuration()(Code)(Java Doc)
public float getGain()(Code)(Java Doc)
public int getLoopCount()(Code)(Java Doc)
public boolean getMuteFlag()(Code)(Java Doc)
public int getNumberOfChannelsUsed()(Code)(Java Doc)
public float getObstructionGain()(Code)(Java Doc)
public float getOcclusionGain()(Code)(Java Doc)
public float getRateScaleFactor()(Code)(Java Doc)
public MediaContainer getSoundData()(Code)(Java Doc)
public int getSoundType()(Code)(Java Doc)
public long getStartTime()(Code)(Java Doc)
public boolean getVWrldXfrmFlag()(Code)(Java Doc)
public void render(int dirtyFlags, View view, AuralParameters attribs)(Code)(Java Doc)
public void setAngularAttenuation(int filterType, double[] angle, float[] attenuationScaleFactor, float[] filterCutoff)(Code)(Java Doc)
public void setDirection(Vector3d direction)(Code)(Java Doc)
public void setDirtyFlags(int flags)(Code)(Java Doc)
public void setDistanceGain(double[] frontDistance, float[] frontAttenuationScaleFactor, double[] backDistance, float[] backAttenuationScaleFactor)(Code)(Java Doc)
public void setGain(float scaleFactor)(Code)(Java Doc)
public void setLoopCount(int count)(Code)(Java Doc)
public void setMuteFlag(boolean flag)(Code)(Java Doc)
public void setObstructionFilter(float cutoffFrequency)(Code)(Java Doc)
public void setObstructionGain(float scaleFactor)(Code)(Java Doc)
public void setOcclusionFilter(float cutoffFrequency)(Code)(Java Doc)
public void setOcclusionGain(float scaleFactor)(Code)(Java Doc)
public void setPosition(Point3d position)(Code)(Java Doc)
public void setRateScaleFactor(float scaleFactor)(Code)(Java Doc)
public void setSoundData(MediaContainer ref)(Code)(Java Doc)
public void setSoundType(int type)(Code)(Java Doc)
public void setVWrldXfrmFlag(boolean flag)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.