Java Doc for RenderingAttributesRetained.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.RenderingAttributesRetained

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


Field Summary
final static  intALPHA_TEST_FUNC
    
final static  intALPHA_TEST_VALUE
    
final static  intDEPTH_ENABLE
    
final static  intDEPTH_TEST_FUNC
    
final static  intDEPTH_WRITE_ENABLE
    
final static  intIGNORE_VCOLOR
    
final static  intLEQUAL
    
final static  intLESS
    
final static  intRASTER_OP_ENABLE
    
final static  intRASTER_OP_VALUE
    
final static  intSTENCIL_ENABLE
    
final static  intSTENCIL_FUNC
    
final static  intSTENCIL_OP_VALUES
    
final static  intSTENCIL_WRITE_MASK
    
final static  intVISIBLE
    
 intalphaTestFunction
    
 floatalphaTestValue
    
 booleandepthBufferEnable
    
 booleandepthBufferWriteEnable
    
 intdepthTestFunction
    
 booleanignoreVertexColors
    
 intrasterOp
    
 booleanrasterOpEnable
    
 intstencilCompareMask
    
 booleanstencilEnable
    
 intstencilFailOp
    
 intstencilFunction
    
 intstencilReferenceValue
    
 intstencilWriteMask
    
 intstencilZFailOp
    
 intstencilZPassOp
    
 booleanvisible
    


Method Summary
synchronized  voidcreateMirrorObject()
    
 booleanequivalent(RenderingAttributesRetained rr)
    
final  intgetAlphaTestFunction()
     Retrieves current alpha test function.
final  floatgetAlphaTestValue()
     Retrieves the alpha test value.
final  booleangetDepthBufferEnable()
    
final  booleangetDepthBufferWriteEnable()
    
final  intgetDepthTestFunction()
     Retrieves current depth test function.
final  booleangetIgnoreVertexColors()
    
final  intgetRasterOp()
     Retrieves the current raster op value.
final  booleangetRasterOpEnable()
     Retrieves the current raster op enable flag.
final  booleangetStencilEnable()
     Retrieves the current stencil enable state.
final  voidgetStencilFunction(int[] params)
     Retrieves the current stencil op.
final  voidgetStencilOp(int[] stencilOps)
     Retrieves the current stencil op.
final  intgetStencilWriteMask()
    
final  booleangetVisible()
     Retrieves the visibility flag for this RenderingAttributes object.
 voidhandleFrequencyChange(int bit)
    
final  voidinitAlphaTestFunction(int function)
     Set alpha test function.
final  voidinitAlphaTestValue(float value)
     Set alpha test value used by alpha test function.
final  voidinitDepthBufferEnable(boolean state)
     Enables or disables depth buffer mode for this RenderAttributes component object.
final  voidinitDepthBufferWriteEnable(boolean state)
     Enables or disables writing the depth buffer for this object.
final  voidinitDepthTestFunction(int function)
     Set depth test function.
final  voidinitIgnoreVertexColors(boolean state)
     Enables or disables vertex colors for this RenderAttributes component object.
synchronized  voidinitMirrorObject()
    
final  voidinitRasterOp(int op)
    
final  voidinitRasterOpEnable(boolean flag)
    
final  voidinitStencilEnable(boolean state)
    
final  voidinitStencilFunction(int function, int refValue, int compareMask)
    
final  voidinitStencilOp(int failOp, int zFailOp, int zPassOp)
     Initialize the stencil op.
final  voidinitStencilWriteMask(int mask)
    
final  voidinitVisible(boolean state)
     Sets the visibility flag for this RenderingAttributes component object.
final  voidsendMessage(int attrMask, Object attr)
    
protected  voidset(RenderingAttributesRetained ra)
    
final  voidsetAlphaTestFunction(int function)
     Set alpha test function and sends a message notifying the interested structures of the change. This function is used to compare the alpha test value with each per-pixel alpha value.
final  voidsetAlphaTestValue(float value)
     Set alpha test value used by alpha test function and sends a message notifying the interested structures of the change.
final  voidsetDepthBufferEnable(boolean state)
     Enables or disables depth buffer mode for this RenderAttributes component object and sends a message notifying the interested structures of the change.
final  voidsetDepthBufferWriteEnable(boolean state)
     Enables or disables writing the depth buffer for this object and sends a message notifying the interested structures of the change.
final  voidsetDepthTestFunction(int function)
     Set depth test function.
final  voidsetIgnoreVertexColors(boolean state)
     Enables or disables vertex colors for this RenderAttributes component object and sends a message notifying the interested structures of the change.
final  voidsetRasterOp(int op)
    
final  voidsetRasterOpEnable(boolean flag)
    
final  voidsetStencilEnable(boolean state)
    
final  voidsetStencilFunction(int function, int refValue, int compareMask)
    
final  voidsetStencilOp(int failOp, int zFailOp, int zPassOp)
     Set the stencil op.
final  voidsetStencilWriteMask(int mask)
    
final  voidsetVisible(boolean state)
     Sets the visibility flag for this RenderingAttributes component object.
synchronized  voidupdateMirrorObject(int component, Object value)
    
 voidupdateNative(Canvas3D c3d, boolean depthBufferWriteEnableOverride, boolean depthBufferEnableOverride)
     Updates the native context.

Field Detail
ALPHA_TEST_FUNC
final static int ALPHA_TEST_FUNC(Code)



ALPHA_TEST_VALUE
final static int ALPHA_TEST_VALUE(Code)



DEPTH_ENABLE
final static int DEPTH_ENABLE(Code)



DEPTH_TEST_FUNC
final static int DEPTH_TEST_FUNC(Code)



DEPTH_WRITE_ENABLE
final static int DEPTH_WRITE_ENABLE(Code)



IGNORE_VCOLOR
final static int IGNORE_VCOLOR(Code)



LEQUAL
final static int LEQUAL(Code)



LESS
final static int LESS(Code)



RASTER_OP_ENABLE
final static int RASTER_OP_ENABLE(Code)



RASTER_OP_VALUE
final static int RASTER_OP_VALUE(Code)



STENCIL_ENABLE
final static int STENCIL_ENABLE(Code)



STENCIL_FUNC
final static int STENCIL_FUNC(Code)



STENCIL_OP_VALUES
final static int STENCIL_OP_VALUES(Code)



STENCIL_WRITE_MASK
final static int STENCIL_WRITE_MASK(Code)



VISIBLE
final static int VISIBLE(Code)



alphaTestFunction
int alphaTestFunction(Code)



alphaTestValue
float alphaTestValue(Code)



depthBufferEnable
boolean depthBufferEnable(Code)



depthBufferWriteEnable
boolean depthBufferWriteEnable(Code)



depthTestFunction
int depthTestFunction(Code)



ignoreVertexColors
boolean ignoreVertexColors(Code)



rasterOp
int rasterOp(Code)



rasterOpEnable
boolean rasterOpEnable(Code)



stencilCompareMask
int stencilCompareMask(Code)



stencilEnable
boolean stencilEnable(Code)



stencilFailOp
int stencilFailOp(Code)



stencilFunction
int stencilFunction(Code)



stencilReferenceValue
int stencilReferenceValue(Code)



stencilWriteMask
int stencilWriteMask(Code)



stencilZFailOp
int stencilZFailOp(Code)



stencilZPassOp
int stencilZPassOp(Code)



visible
boolean visible(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(RenderingAttributesRetained rr)(Code)



getAlphaTestFunction
final int getAlphaTestFunction()(Code)
Retrieves current alpha test function. the current alpha test function



getAlphaTestValue
final float getAlphaTestValue()(Code)
Retrieves the alpha test value. the alpha test value.



getDepthBufferEnable
final boolean getDepthBufferEnable()(Code)
Retrieves the state of zBuffer Enable flag true if depth buffer mode is enabled, falseif depth buffer mode is disabled



getDepthBufferWriteEnable
final boolean getDepthBufferWriteEnable()(Code)
Retrieves the state of Depth Buffer Write Enable flag true if depth buffer is writable, falseif depth buffer is read-only



getDepthTestFunction
final int getDepthTestFunction()(Code)
Retrieves current depth test function. the current depth test function
exception:
  CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph



getIgnoreVertexColors
final boolean getIgnoreVertexColors()(Code)
Retrieves the state of vertex color Enable flag true if vertex colors are enabled, falseif vertex colors are disabled



getRasterOp
final int getRasterOp()(Code)
Retrieves the current raster op value.



getRasterOpEnable
final boolean getRasterOpEnable()(Code)
Retrieves the current raster op enable flag.



getStencilEnable
final boolean getStencilEnable()(Code)
Retrieves the current stencil enable state.



getStencilFunction
final void getStencilFunction(int[] params)(Code)
Retrieves the current stencil op. value



getStencilOp
final void getStencilOp(int[] stencilOps)(Code)
Retrieves the current stencil op. value



getStencilWriteMask
final int getStencilWriteMask()(Code)
Retrieves the current stencil write mask



getVisible
final boolean getVisible()(Code)
Retrieves the visibility flag for this RenderingAttributes object. true if the object is visible; falseif the object is invisible.
exception:
  CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph



handleFrequencyChange
void handleFrequencyChange(int bit)(Code)



initAlphaTestFunction
final void initAlphaTestFunction(int function)(Code)
Set alpha test function. This function is used to compare the alpha test value with each per-pixel alpha value. If the test passes, then the pixel is written otherwise the pixel is not written.
Parameters:
  function - the new alpha test function. One of:ALWAYS, NEVER, EQUAL, NOT_EQUAL, LESS, LESS_OR_EQUAL, GREATER,GREATER_OR_EQUAL.



initAlphaTestValue
final void initAlphaTestValue(float value)(Code)
Set alpha test value used by alpha test function. This value is compared to the alpha value of each rendered pixel.
Parameters:
  value - the alpha value



initDepthBufferEnable
final void initDepthBufferEnable(boolean state)(Code)
Enables or disables depth buffer mode for this RenderAttributes component object.
Parameters:
  state - true or false to enable or disable depth buffer mode



initDepthBufferWriteEnable
final void initDepthBufferWriteEnable(boolean state)(Code)
Enables or disables writing the depth buffer for this object. During the transparent rendering pass, this attribute can be overridden by the depthBufferFreezeTransparent attribute in the View object.
Parameters:
  state - true or false to enable or disable depth buffer Write mode
See Also:   View.setDepthBufferFreezeTransparent



initDepthTestFunction
final void initDepthTestFunction(int function)(Code)
Set depth test function. This function is used to compare the depth test value with each per-pixel alpha value. If the test passes, then the pixel is written otherwise the pixel is not written.
Parameters:
  function - the new depth test function. One of:ALWAYS, NEVER, EQUAL, NOT_EQUAL, LESS, LESS_OR_EQUAL, GREATER,GREATER_OR_EQUAL.Default value is LESS_OR_EQUAL



initIgnoreVertexColors
final void initIgnoreVertexColors(boolean state)(Code)
Enables or disables vertex colors for this RenderAttributes component object.
Parameters:
  state - true or false to enable or disable vertex colors



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



initRasterOp
final void initRasterOp(int op)(Code)
Initialize the raster op value



initRasterOpEnable
final void initRasterOpEnable(boolean flag)(Code)
Initialize the raster op enable flag



initStencilEnable
final void initStencilEnable(boolean state)(Code)
Initialize the stencil enable state



initStencilFunction
final void initStencilFunction(int function, int refValue, int compareMask)(Code)
Initialize the stencil function value



initStencilOp
final void initStencilOp(int failOp, int zFailOp, int zPassOp)(Code)
Initialize the stencil op. value



initStencilWriteMask
final void initStencilWriteMask(int mask)(Code)
Initialize the stencil write mask



initVisible
final void initVisible(boolean state)(Code)
Sets the visibility flag for this RenderingAttributes component object.
Parameters:
  visible - true or false to enable or disable visibility
exception:
  CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph
See Also:   View.setVisibilityPolicy



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



set
protected void set(RenderingAttributesRetained ra)(Code)



setAlphaTestFunction
final void setAlphaTestFunction(int function)(Code)
Set alpha test function and sends a message notifying the interested structures of the change. This function is used to compare the alpha test value with each per-pixel alpha value. If the test passes, then the pixel is written otherwise the pixel is not written.
Parameters:
  function - the new alpha test function. One of:ALWAYS, NEVER, EQUAL, NOT_EQUAL, LESS, LESS_OR_EQUAL, GREATER,GREATER_OR_EQUAL.



setAlphaTestValue
final void setAlphaTestValue(float value)(Code)
Set alpha test value used by alpha test function and sends a message notifying the interested structures of the change. This value is compared to the alpha value of each rendered pixel.
Parameters:
  value - the alpha value



setDepthBufferEnable
final void setDepthBufferEnable(boolean state)(Code)
Enables or disables depth buffer mode for this RenderAttributes component object and sends a message notifying the interested structures of the change.
Parameters:
  state - true or false to enable or disable depth buffer mode



setDepthBufferWriteEnable
final void setDepthBufferWriteEnable(boolean state)(Code)
Enables or disables writing the depth buffer for this object and sends a message notifying the interested structures of the change. During the transparent rendering pass, this attribute can be overridden by the depthBufferFreezeTransparent attribute in the View object.
Parameters:
  state - true or false to enable or disable depth buffer Write mode
See Also:   View.setDepthBufferFreezeTransparent



setDepthTestFunction
final void setDepthTestFunction(int function)(Code)
Set depth test function. This function is used to compare the depth test value with each per-pixel depth value. If the test passes, the pixel is written otherwise the pixel is not written.
Parameters:
  function - the new depth test function. One ofALWAYS, NEVER, EQUAL, NOT_EQUAL, LESS, LESS_OR_EQUAL, GREATER,GREATER_OR_EQUALDefault value is LESS_OR_EQUAL



setIgnoreVertexColors
final void setIgnoreVertexColors(boolean state)(Code)
Enables or disables vertex colors for this RenderAttributes component object and sends a message notifying the interested structures of the change.
Parameters:
  state - true or false to enable or disable depth vertex colors



setRasterOp
final void setRasterOp(int op)(Code)
Set the raster op value



setRasterOpEnable
final void setRasterOpEnable(boolean flag)(Code)
Set the raster op enable flag



setStencilEnable
final void setStencilEnable(boolean state)(Code)
Set the stencil enable state



setStencilFunction
final void setStencilFunction(int function, int refValue, int compareMask)(Code)
Set the stencil function value



setStencilOp
final void setStencilOp(int failOp, int zFailOp, int zPassOp)(Code)
Set the stencil op. value



setStencilWriteMask
final void setStencilWriteMask(int mask)(Code)
Set the stencil write mask



setVisible
final void setVisible(boolean state)(Code)
Sets the visibility flag for this RenderingAttributes component object. Invisible objects are not rendered (subject to the visibility policy for the current view), but they can be picked or collided with.
Parameters:
  visible - true or false to enable or disable visibility
exception:
  CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph
See Also:   View.setVisibilityPolicy



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



updateNative
void updateNative(Canvas3D c3d, boolean depthBufferWriteEnableOverride, boolean depthBufferEnableOverride)(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.