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


java.lang.Object
   javax.media.j3d.CompressedGeometryHeader

CompressedGeometryHeader
public class CompressedGeometryHeader extends Object (Code)
The CompressedGeometrHeader object is used in conjunction with the CompressedGeometry object. The CompressedGeometrHeader object contains information specific to the compressed geometry stored in CompressedGeometry NodeComponent object. This information is used to aid the decompression of the compressed geometry.

All instance data is declared public and no get or set methods are provided.
See Also:   CompressedGeometry



Field Summary
final public static  intALPHA_IN_BUFFER
     bufferDataPresent: bit indicating that alpha information is bundled with the vertices in the compressed geometry buffer.
final public static  intCOLOR_IN_BUFFER
     bufferDataPresent: bit indicating that RGB color information is bundled with the vertices in the compressed geometry buffer.
final public static  intLINE_BUFFER
     bufferType: compressed geometry is made up of line segments.
final public static  intNORMAL_IN_BUFFER
     bufferDataPresent: bit indicating that normal information is bundled with the vertices in the compressed geometry buffer.
final public static  intPOINT_BUFFER
     bufferType: compressed geometry is made up of individual points.
final public static  intTRIANGLE_BUFFER
     bufferType: compressed geometry is made up of triangles.
public  intbufferDataPresent
     Contains bits indicating what data is bundled with the vertices in the compressed geometry buffer.
public  intbufferType
     Describes the type of data in the compressed geometry buffer.
public  Point3dlowerBound
     A point that defines the lower bound of the x, y, and z components for all positions in the compressed geometry buffer.
public  intmajorVersionNumber
     The major version number for the compressed geometry format that was used to compress the geometry.
public  intminorMinorVersionNumber
     The minor-minor version number for the compressed geometry format that was used to compress the geometry.
public  intminorVersionNumber
     The minor version number for the compressed geometry format that was used to compress the geometry.
public  intsize
     Size of the compressed geometry in bytes.
public  intstart
     Offset in bytes of the start of the compressed geometry from the beginning of the compressed geometry byte array passed to the CompressedGeometry constructor.
public  Point3dupperBound
     A point that defines the upper bound of the x, y, and z components for all positions in the compressed geometry buffer.

Constructor Summary
public  CompressedGeometryHeader()
     Creates a new CompressedGeometryHeader object used for the creation of a CompressedGeometry NodeComponent object. All instance data is declared public and no get or set methods are provided.

Method Summary
 voidcopy(CompressedGeometryHeader hdr)
     Package-scoped method to copy current CompressedGeometryHeader object to the passed-in CompressedGeometryHeader object.
public  StringtoString()
     Returns a String describing the contents of the CompressedGeometryHeader object.

Field Detail
ALPHA_IN_BUFFER
final public static int ALPHA_IN_BUFFER(Code)
bufferDataPresent: bit indicating that alpha information is bundled with the vertices in the compressed geometry buffer.



COLOR_IN_BUFFER
final public static int COLOR_IN_BUFFER(Code)
bufferDataPresent: bit indicating that RGB color information is bundled with the vertices in the compressed geometry buffer.



LINE_BUFFER
final public static int LINE_BUFFER(Code)
bufferType: compressed geometry is made up of line segments.



NORMAL_IN_BUFFER
final public static int NORMAL_IN_BUFFER(Code)
bufferDataPresent: bit indicating that normal information is bundled with the vertices in the compressed geometry buffer.



POINT_BUFFER
final public static int POINT_BUFFER(Code)
bufferType: compressed geometry is made up of individual points.



TRIANGLE_BUFFER
final public static int TRIANGLE_BUFFER(Code)
bufferType: compressed geometry is made up of triangles.



bufferDataPresent
public int bufferDataPresent(Code)
Contains bits indicating what data is bundled with the vertices in the compressed geometry buffer. If this data is not present (e.g. color) then this info will be inherited from the Appearance node.



bufferType
public int bufferType(Code)
Describes the type of data in the compressed geometry buffer. Only one type may be present in any given compressed geometry buffer.



lowerBound
public Point3d lowerBound(Code)
A point that defines the lower bound of the x, y, and z components for all positions in the compressed geometry buffer. If null, a lower bound of (-1,-1,-1) is assumed. Java 3D will use this information to construct a bounding box around compressed geometry objects that are used in nodes for which the auto compute bounds flag is true. The default value for this point is null.
since:
   Java 3D 1.2



majorVersionNumber
public int majorVersionNumber(Code)
The major version number for the compressed geometry format that was used to compress the geometry. If the version number of compressed geometry is incompatible with the supported version of compressed geometry in the current version of Java 3D, the compressed geometry obejct will not be rendered.
See Also:   Canvas3D.queryProperties



minorMinorVersionNumber
public int minorMinorVersionNumber(Code)
The minor-minor version number for the compressed geometry format that was used to compress the geometry. If the version number of compressed geometry is incompatible with the supported version of compressed geometry in the current version of Java 3D, the compressed geometry obejct will not be rendered.
See Also:   Canvas3D.queryProperties



minorVersionNumber
public int minorVersionNumber(Code)
The minor version number for the compressed geometry format that was used to compress the geometry. If the version number of compressed geometry is incompatible with the supported version of compressed geometry in the current version of Java 3D, the compressed geometry obejct will not be rendered.
See Also:   Canvas3D.queryProperties



size
public int size(Code)
Size of the compressed geometry in bytes.



start
public int start(Code)
Offset in bytes of the start of the compressed geometry from the beginning of the compressed geometry byte array passed to the CompressedGeometry constructor.

If the CompressedGeometry is created with reference access semantics, then this allow external compressors or file readers to embed several blocks of compressed geometry in a single large byte array, possibly interspersed with metadata that is not specific to Java 3D, without having to copy each block to a separate byte array.

If the CompressedGeometry is created with copy access semantics, then size bytes of compressed geometry data are copied from the offset indicated by start instead of copying the entire byte array. The getCompressedGeometry() method will return only the bytes used to construct the object, and the getCompressedGeometryHeader() method will return a header with the start field set to 0.




upperBound
public Point3d upperBound(Code)
A point that defines the upper bound of the x, y, and z components for all positions in the compressed geometry buffer. If null, an upper bound of (1,1,1) is assumed. Java 3D will use this information to construct a bounding box around compressed geometry objects that are used in nodes for which the auto compute bounds flag is true. The default value for this point is null.
since:
   Java 3D 1.2




Constructor Detail
CompressedGeometryHeader
public CompressedGeometryHeader()(Code)
Creates a new CompressedGeometryHeader object used for the creation of a CompressedGeometry NodeComponent object. All instance data is declared public and no get or set methods are provided. All values are set to 0 by default and must be filled in by the application.
See Also:   CompressedGeometry




Method Detail
copy
void copy(CompressedGeometryHeader hdr)(Code)
Package-scoped method to copy current CompressedGeometryHeader object to the passed-in CompressedGeometryHeader object.
Parameters:
  hdr - the CompressedGeometryHeader object into which to copy thecurrent CompressedGeometryHeader.



toString
public String toString()(Code)
Returns a String describing the contents of the CompressedGeometryHeader object. a String describing contents of the compressed geometry header



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.