Java Doc for DoubleBufferWrapper.java in  » 6.0-JDK-Modules » java-3d » com » sun » j3d » internal » 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.internal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.j3d.internal.BufferWrapper
      com.sun.j3d.internal.DoubleBufferWrapper

DoubleBufferWrapper
public class DoubleBufferWrapper extends BufferWrapper (Code)
NIO Buffers are new in Java 1.4 but we need to run on 1.3 as well, so this class was created to hide the NIO classes from non-1.4 Java 3D users.

NOTE: We no longer need to support JDK 1.3 as of the Java 3D 1.3.2 community source release on java.net. We should be able to get rid of this class.




Constructor Summary
public  DoubleBufferWrapper(DoubleBuffer buffer)
     Constructor initializes buffer with a java.nio.DoubleBuffer object.
public  DoubleBufferWrapper(J3DBuffer b)
     Constructor initializes buffer with a javax.media.j3d.J3DBuffer object.

Method Summary
public  doubleget()
     Reads the double at this buffer's current position, and then increments the position.
public  doubleget(int index)
     Reads the double at the given offset into the buffer.
public  DoubleBufferWrapperget(double[] dst)
     Bulk get method.
public  DoubleBufferWrapperget(double[] dst, int offset, int length)
     Bulk get method.
public  java.nio.BuffergetBuffer()
     Returns the java.nio.Buffer contained within this DoubleBufferWrapper.
public  J3DBuffergetJ3DBuffer()
     Creates and returns a J3DBuffer object containing the buffer in this DoubleBufferWrapper object.
public  booleanisDirect()
    
public  DoubleBufferWrapperput(double[] src)
     Bulk put method.


Constructor Detail
DoubleBufferWrapper
public DoubleBufferWrapper(DoubleBuffer buffer)(Code)
Constructor initializes buffer with a java.nio.DoubleBuffer object.



DoubleBufferWrapper
public DoubleBufferWrapper(J3DBuffer b)(Code)
Constructor initializes buffer with a javax.media.j3d.J3DBuffer object.




Method Detail
get
public double get()(Code)
Reads the double at this buffer's current position, and then increments the position.



get
public double get(int index)(Code)
Reads the double at the given offset into the buffer.



get
public DoubleBufferWrapper get(double[] dst)(Code)
Bulk get method. Transfers dst.length doubles from the buffer to the destination array and increments the buffer's position by dst.length.



get
public DoubleBufferWrapper get(double[] dst, int offset, int length)(Code)
Bulk get method. Transfers length doubles from the buffer starting at position offset into the destination array.



getBuffer
public java.nio.Buffer getBuffer()(Code)
Returns the java.nio.Buffer contained within this DoubleBufferWrapper.



getJ3DBuffer
public J3DBuffer getJ3DBuffer()(Code)
Creates and returns a J3DBuffer object containing the buffer in this DoubleBufferWrapper object.



isDirect
public boolean isDirect()(Code)
A boolean indicating whether the java.nio.Bufferobject contained within this DoubleBuffer is direct orindirect.



put
public DoubleBufferWrapper put(double[] src)(Code)
Bulk put method. Transfers src.length doubles into the buffer at the current position.



Fields inherited from com.sun.j3d.internal.BufferWrapper
final public static int TYPE_BYTE(Code)(Java Doc)
final public static int TYPE_DOUBLE(Code)(Java Doc)
final public static int TYPE_FLOAT(Code)(Java Doc)
final public static int TYPE_NULL(Code)(Java Doc)
final public static int TYPE_UNKNOWN(Code)(Java Doc)

Methods inherited from com.sun.j3d.internal.BufferWrapper
public int capacity()(Code)(Java Doc)
abstract Buffer getBuffer()(Code)(Java Doc)
public Object getBufferAsObject()(Code)(Java Doc)
public static int getBufferType(J3DBuffer b)(Code)(Java Doc)
public int limit()(Code)(Java Doc)
public int position()(Code)(Java Doc)
public BufferWrapper position(int newPosition)(Code)(Java Doc)
public BufferWrapper rewind()(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.