Java Doc for PolygonAttributesRetained.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.IndexedObject
      javax.media.j3d.SceneGraphObjectRetained
         javax.media.j3d.NodeComponentRetained
            javax.media.j3d.PolygonAttributesRetained

PolygonAttributesRetained
class PolygonAttributesRetained extends NodeComponentRetained (Code)
The PolygonAttributes object defines all rendering state that can be set as a component object of a Shape3D node.


Field Summary
final static  intPOLYGON_BACKFACENORMALFLIP_CHANGED
    
final static  intPOLYGON_CULL_CHANGED
    
final static  intPOLYGON_MODE_CHANGED
    
final static  intPOLYGON_OFFSETFACTOR_CHANGED
    
final static  intPOLYGON_OFFSET_CHANGED
    
 booleanbackFaceNormalFlip
    
 intcullFace
    
 intpolygonMode
    
 floatpolygonOffset
    
 floatpolygonOffsetFactor
    


Method Summary
synchronized  voidcreateMirrorObject()
    
 booleanequivalent(PolygonAttributesRetained pr)
    
final  booleangetBackFaceNormalFlip()
     Gets the back face normal flip flag.
final  intgetCullFace()
     Gets the face culling for this appearance component object.
final  intgetPolygonMode()
     Gets the polygon rasterization mode for this appearance component object.
final  floatgetPolygonOffset()
     Gets the polygon offset.
final  floatgetPolygonOffsetFactor()
     Gets the polygon offset factor.
 voidhandleFrequencyChange(int bit)
    
final  voidinitBackFaceNormalFlip(boolean backFaceNormalFlip)
     Sets the back face normal flip flag to the specified value This flag indicates whether vertex normals of back facing polygons should be flipped (negated) prior to lighting.
final  voidinitCullFace(int cullFace)
    
synchronized  voidinitMirrorObject()
    
final  voidinitPolygonMode(int polygonMode)
     Sets the polygon rasterization mode for this appearance component object.
final  voidinitPolygonOffset(float polygonOffset)
     Sets the polygon offset to the specified value and sends a message notifying the interested structures of the change.
final  voidinitPolygonOffsetFactor(float polygonOffsetFactor)
     Sets the polygon offset factor to the specified value and sends a message notifying the interested structures of the change.
final  voidsendMessage(int attrMask, Object attr)
    
protected  voidset(PolygonAttributesRetained pr)
    
final  voidsetBackFaceNormalFlip(boolean backFaceNormalFlip)
     Sets the back face normal flip flag to the specified value and sends a message notifying the interested structures of the change. This flag indicates whether vertex normals of back facing polygons should be flipped (negated) prior to lighting.
final  voidsetCullFace(int cullFace)
     Sets the face culling for this appearance component object and sends a message notifying the interested structures of the change.
final  voidsetPolygonMode(int polygonMode)
     Sets the polygon rasterization mode for this appearance component object and sends a message notifying the interested structures of the change.
final  voidsetPolygonOffset(float polygonOffset)
     Sets the polygon offset to the specified value and sends a message notifying the interested structures of the change.
final  voidsetPolygonOffsetFactor(float polygonOffsetFactor)
     Sets the polygon offset factor to the specified value and sends a message notifying the interested structures of the change.
synchronized  voidupdateMirrorObject(int component, Object value)
    
 voidupdateNative(Context ctx)
    

Field Detail
POLYGON_BACKFACENORMALFLIP_CHANGED
final static int POLYGON_BACKFACENORMALFLIP_CHANGED(Code)



POLYGON_CULL_CHANGED
final static int POLYGON_CULL_CHANGED(Code)



POLYGON_MODE_CHANGED
final static int POLYGON_MODE_CHANGED(Code)



POLYGON_OFFSETFACTOR_CHANGED
final static int POLYGON_OFFSETFACTOR_CHANGED(Code)



POLYGON_OFFSET_CHANGED
final static int POLYGON_OFFSET_CHANGED(Code)



backFaceNormalFlip
boolean backFaceNormalFlip(Code)



cullFace
int cullFace(Code)



polygonMode
int polygonMode(Code)



polygonOffset
float polygonOffset(Code)



polygonOffsetFactor
float polygonOffsetFactor(Code)





Method Detail
createMirrorObject
synchronized void createMirrorObject()(Code)
Creates and initializes a mirror object, point the mirror object to the retained object if the object is not editable



equivalent
boolean equivalent(PolygonAttributesRetained pr)(Code)



getBackFaceNormalFlip
final boolean getBackFaceNormalFlip()(Code)
Gets the back face normal flip flag. the back face normal flip flag



getCullFace
final int getCullFace()(Code)
Gets the face culling for this appearance component object. the face to be culled



getPolygonMode
final int getPolygonMode()(Code)
Gets the polygon rasterization mode for this appearance component object. polygonMode the polygon rasterization mode



getPolygonOffset
final float getPolygonOffset()(Code)
Gets the polygon offset. polygonOffset the polygon offset



getPolygonOffsetFactor
final float getPolygonOffsetFactor()(Code)
Gets the polygon offset factor. polygonOffset the polygon offset factor



handleFrequencyChange
void handleFrequencyChange(int bit)(Code)



initBackFaceNormalFlip
final void initBackFaceNormalFlip(boolean backFaceNormalFlip)(Code)
Sets the back face normal flip flag to the specified value This flag indicates whether vertex normals of back facing polygons should be flipped (negated) prior to lighting. When this flag is set to true and back face culling is disabled, polygons are rendered as if the polygon had two sides with opposing normals. This feature is disabled by default
Parameters:
  backFaceNormalFlip - the back face normal flip flag



initCullFace
final void initCullFace(int cullFace)(Code)
Sets the face culling for this appearance component object,
Parameters:
  cullFace - the face to be culled, one of:CULL_NONE, CULL_FRONT, or CULL_BACK



initMirrorObject
synchronized void initMirrorObject()(Code)
Initializes a mirror object, point the mirror object to the retained object if the object is not editable



initPolygonMode
final void initPolygonMode(int polygonMode)(Code)
Sets the polygon rasterization mode for this appearance component object.
Parameters:
  polygonMode - the polygon rasterization mode to be used; one ofPOLYGON_FILL, POLYGON_LINE, or POLYGON_POINT



initPolygonOffset
final void initPolygonOffset(float polygonOffset)(Code)
Sets the polygon offset to the specified value and sends a message notifying the interested structures of the change. This screen space offset is added to the final, device coordinate Z value of polygon primitives.
Parameters:
  polygonOffset - the polygon offset



initPolygonOffsetFactor
final void initPolygonOffsetFactor(float polygonOffsetFactor)(Code)
Sets the polygon offset factor to the specified value and sends a message notifying the interested structures of the change. This factor is multiplied by the slope of the polygon, and then added to the final, device coordinate Z value of polygon primitives.
Parameters:
  polygonOffsetFactor - the polygon offset factor



sendMessage
final void sendMessage(int attrMask, Object attr)(Code)



set
protected void set(PolygonAttributesRetained pr)(Code)



setBackFaceNormalFlip
final void setBackFaceNormalFlip(boolean backFaceNormalFlip)(Code)
Sets the back face normal flip flag to the specified value and sends a message notifying the interested structures of the change. This flag indicates whether vertex normals of back facing polygons should be flipped (negated) prior to lighting. When this flag is set to true and back face culling is disabled, polygons are rendered as if the polygon had two sides with opposing normals. This feature is disabled by default
Parameters:
  backFaceNormalFlip - the back face normal flip flag



setCullFace
final void setCullFace(int cullFace)(Code)
Sets the face culling for this appearance component object and sends a message notifying the interested structures of the change.
Parameters:
  cullFace - the face to be culled, one of:CULL_NONE, CULL_FRONT, or CULL_BACK



setPolygonMode
final void setPolygonMode(int polygonMode)(Code)
Sets the polygon rasterization mode for this appearance component object and sends a message notifying the interested structures of the change.
Parameters:
  polygonMode - the polygon rasterization mode to be used; one ofPOLYGON_FILL, POLYGON_LINE, or POLYGON_POINT



setPolygonOffset
final void setPolygonOffset(float polygonOffset)(Code)
Sets the polygon offset to the specified value and sends a message notifying the interested structures of the change. This screen space offset is added to the final, device coordinate Z value of polygon primitives.
Parameters:
  polygonOffset - the polygon offset



setPolygonOffsetFactor
final void setPolygonOffsetFactor(float polygonOffsetFactor)(Code)
Sets the polygon offset factor to the specified value and sends a message notifying the interested structures of the change. This factor is multiplied by the slope of the polygon, and then added to the final, device coordinate Z value of polygon primitives.
Parameters:
  polygonOffsetFactor - the polygon offset



updateMirrorObject
synchronized void updateMirrorObject(int component, Object value)(Code)
Update the "component" field of the mirror object with the given "value"



updateNative
void updateNative(Context ctx)(Code)
Updates the native context



Fields inherited from javax.media.j3d.NodeComponentRetained
int changedFrequent(Code)(Java Doc)
int compChanged(Code)(Java Doc)
boolean duplicateOnCloneTree(Code)(Java Doc)
NodeComponentRetained mirror(Code)(Java Doc)
int refCnt(Code)(Java Doc)
int refCount(Code)(Java Doc)
ArrayList users(Code)(Java Doc)

Methods inherited from javax.media.j3d.NodeComponentRetained
void addAMirrorUser(Shape3DRetained ms)(Code)(Java Doc)
synchronized void addUser(NodeRetained node)(Code)(Java Doc)
void clearLive(int refCount)(Code)(Java Doc)
protected Object clone()(Code)(Java Doc)
void copyMirrorUsers(NodeComponentRetained node)(Code)(Java Doc)
void createMirrorObject()(Code)(Java Doc)
synchronized void decRefCnt()(Code)(Java Doc)
void doSetLive(boolean inBackgroundGroup, int refCount)(Code)(Java Doc)
boolean getDuplicateOnCloneTree()(Code)(Java Doc)
boolean getInImmCtx()(Code)(Java Doc)
synchronized void incRefCnt()(Code)(Java Doc)
void initMirrorObject()(Code)(Java Doc)
synchronized void notifyUsers()(Code)(Java Doc)
void removeAMirrorUser(Shape3DRetained ms)(Code)(Java Doc)
void removeMirrorUsers(NodeComponentRetained node)(Code)(Java Doc)
synchronized void removeUser(NodeRetained node)(Code)(Java Doc)
protected void set(NodeComponentRetained nc)(Code)(Java Doc)
void setDuplicateOnCloneTree(boolean duplicate)(Code)(Java Doc)
void setFrequencyChangeMask(int bit, int mask)(Code)(Java Doc)
void setInImmCtx(boolean inCtx)(Code)(Java Doc)
void setLive(boolean inBackgroundGroup, int refCount)(Code)(Java Doc)
void updateMirrorObject(int component, Object obj)(Code)(Java Doc)

Fields inherited from javax.media.j3d.SceneGraphObjectRetained
final static int DONT_MERGE(Code)(Java Doc)
final static int MERGE(Code)(Java Doc)
final static int MERGE_DONE(Code)(Java Doc)
boolean inBackgroundGroup(Code)(Java Doc)
boolean inSetLive(Code)(Java Doc)
int mergeFlag(Code)(Java Doc)
boolean onUpdateList(Code)(Java Doc)
SceneGraphObject source(Code)(Java Doc)

Methods inherited from javax.media.j3d.SceneGraphObjectRetained
void clearLive(VirtualUniverse univ, int index, boolean sharedGroup, HashKey[] keys)(Code)(Java Doc)
void clearLive()(Code)(Java Doc)
protected Object clone()(Code)(Java Doc)
void compile(CompileState compState)(Code)(Java Doc)
void doSetLive(boolean inBackgroundGroup)(Code)(Java Doc)
void doSetLive(SetLiveState s)(Code)(Java Doc)
SceneGraphObject getSource()(Code)(Java Doc)
VirtualUniverse getVirtualUniverse()(Code)(Java Doc)
void handleFrequencyChange(int bit)(Code)(Java Doc)
boolean isInSetLive()(Code)(Java Doc)
boolean isStatic()(Code)(Java Doc)
void markAsLive()(Code)(Java Doc)
void merge(CompileState compState)(Code)(Java Doc)
void mergeTransform(TransformGroupRetained xform)(Code)(Java Doc)
void setCompiled()(Code)(Java Doc)
void setLive(boolean inBackgroundGroup)(Code)(Java Doc)
void setLive(SetLiveState s)(Code)(Java Doc)
void setSource(SceneGraphObject source)(Code)(Java Doc)
void traverse(boolean sameLevel, int level)(Code)(Java Doc)

Fields inherited from javax.media.j3d.IndexedObject
int[][] listIdx(Code)(Java Doc)

Methods inherited from javax.media.j3d.IndexedObject
synchronized int getIdxUsed(VirtualUniverse u)(Code)(Java Doc)
abstract VirtualUniverse getVirtualUniverse()(Code)(Java Doc)
void incIdxUsed()(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.