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

All known Subclasses:   javax.media.j3d.TextureCubeMapRetained,  javax.media.j3d.Texture3DRetained,  javax.media.j3d.Texture2DRetained,
TextureRetained
abstract class TextureRetained extends NodeComponentRetained (Code)
The Texture object is a component object of an Appearance object that defines the texture properties used when texture mapping is enabled. Texture object is an abstract class and all texture objects must be created as either a Texture2D object or a Texture3D object.


Field Summary
final static  intBASE_LEVEL_CHANGED
    
final static  intCOLOR_CHANGED
    
final static  intENABLE_CHANGED
    
final static  intIMAGES_CHANGED
    
final static  intIMAGE_CHANGED
    
final static  intLOD_OFFSET_CHANGED
    
final static  intMAG_FILTER
    
final static  intMAX_LEVEL_CHANGED
    
final static  intMAX_LOD_CHANGED
    
final static  intMIN_FILTER
    
final static  intMIN_LOD_CHANGED
    
final static  intSTATE_CHANGED
    
final static  intUPDATE_IMAGE
    
 floatanisotropicFilterDegree
    
 intanisotropicFilterMode
    
 intbaseLevel
    
 Color4fboundaryColor
    
 intboundaryModeS
    
 intboundaryModeT
    
 intboundaryWidth
    
 booleanenable
    
 floatfilter4FuncPts
    
 intformat
    
 intheight
    
 ArrayListimageUpdateInfo
    
 intimageUpdatePruneMask
    
 ImageComponentRetainedimages
    
 booleanisAlphaNeedUpdate
    
 intisDirty
    
 Point3flodOffset
    
 intmagFilter
    
 intmaxLevels
    
 intmaximumLevel
    
 floatmaximumLod
    
 intminFilter
    
 floatminimumLod
    
 intmipmapMode
    
 intnumFaces
    
 intnumSharpenTextureFuncPts
    
 intobjectId
    
 intresourceCreationMask
    
 intresourceInReloadList
    
 ObjectresourceLock
    
 intresourceLodUpdatedMask
    
 intresourceUpdatedMask
    
 floatsharpenTextureFuncPts
    
 booleanuserSpecifiedEnable
    
 intwidth
    


Method Summary
 voidaddImageUpdateInfo(int level, int face, ImageComponentUpdateInfo arg)
     addImageUpdateInfo(int level) is to update a particular level.
 voidbindTexture(Context ctx, int objectId, boolean enable)
    
 voidbindTexture(Canvas3D cv)
    
final  voidcheckImageSize(int level, ImageComponent image)
    
final  voidcheckSizes(ImageComponentRetained images)
    
 voidclearLive(int refCount)
    
synchronized  voidcreateMirrorObject()
    
 voiddecTextureBinRefCount(TextureBin tb)
    
 voidfreeTextureId(int id)
    
final  floatgetAnisotropicFilterDegree()
    
final  intgetAnisotropicFilterMode()
    
final  intgetBaseLevel()
    
final  voidgetBoundaryColor(Color4f boundaryColor)
     Retrieves the texture boundary color for this texture object.
final  intgetBoundaryModeS()
     Retrieves the boundary mode for the S coordinate.
final  intgetBoundaryModeT()
     Retrieves the boundary mode for the T coordinate.
final  intgetBoundaryWidth()
     Retrieves the boundary width.
final  booleangetEnable()
     Retrieves the state of the texture enable flag.
final  voidgetFilter4Func(float[] weights)
    
final  float[]getFilter4Func()
    
final  intgetFilter4FuncPointsCount()
    
final  intgetFormat()
    
final  intgetHeight()
    
final  ImageComponentgetImage(int level)
     Gets a specified mipmap level.
final  ImageComponent[]getImages()
    
final  voidgetLodOffset(Tuple3f offset)
    
final  intgetMagFilter()
     Retrieves the magnification filter.
final  floatgetMaximumLOD()
    
final  intgetMaximumLevel()
    
final  intgetMinFilter()
     Retrieves the minification filter.
final  floatgetMinimumLOD()
    
final  intgetMipMapMode()
     Retrieves current mipmap mode.
final  voidgetSharpenTextureFunc(float[] lod, float[] pts)
    
final  voidgetSharpenTextureFunc(Point2f[] pts)
    
final  float[]getSharpenTextureFunc()
    
final  intgetSharpenTextureFuncPointsCount()
    
 intgetTextureBinRefCount(TextureBin tb)
    
 intgetTextureId()
    
final  intgetWidth()
    
 voidhandleFrequencyChange(int bit)
    
 voidincTextureBinRefCount(TextureBin tb)
    
final  voidinitAnisotropicFilterDegree(float degree)
    
final  voidinitAnisotropicFilterMode(int mode)
    
final  voidinitBaseLevel(int level)
    
final  voidinitBoundaryColor(Color4f boundaryColor)
     Sets the texture boundary color for this texture object.
final  voidinitBoundaryColor(float r, float g, float b, float a)
     Sets the texture boundary color for this texture object.
final  voidinitBoundaryModeS(int boundaryModeS)
     Sets the boundary mode for the S coordinate in this texture object.
final  voidinitBoundaryModeT(int boundaryModeT)
     Sets the boundary mode for the T coordinate in this texture object.
final  voidinitEnable(boolean state)
     Enables or disables texture mapping for this appearance component object.
final  voidinitFilter4Func(float[] weights)
    
 voidinitImage(int level, ImageComponent image)
     Sets a specified mipmap level.
 voidinitImages(ImageComponent[] images)
    
final  voidinitLodOffset(float s, float t, float r)
    
final  voidinitMagFilter(int magFilter)
     Sets the magnification filter function.
final  voidinitMaximumLOD(float lod)
    
final  voidinitMaximumLevel(int level)
    
final  voidinitMinFilter(int minFilter)
     Sets the minification filter function.
final  voidinitMinimumLOD(float lod)
    
final  voidinitMipMapMode(int mipmapMode)
     Sets mipmap mode for texture mapping for this texture object.
synchronized  voidinitMirrorObject()
    
final  voidinitSharpenTextureFunc(float[] lod, float[] pts)
    
final  voidinitSharpenTextureFunc(Point2f[] pts)
    
final  voidinitSharpenTextureFunc(float[] pts)
    
 voidinitialize(int format, int width, int widLevels, int height, int heiLevels, int mipmapMode, int boundaryWidth)
    
 booleanisUseAsRaster()
    
 voidnotifyImageComponentImageChanged(ImageComponentRetained image, ImageComponentUpdateInfo value)
    
final  intnumMipMapLevels()
    
 voidpruneImageUpdateInfo()
    
 voidreloadTexture(Canvas3D cv)
    
 voidreloadTextureImage(Canvas3D cv, int face, int level, ImageComponentRetained image, int numLevels)
    
 voidreloadTextureSharedContext(Canvas3D cv)
     reloadTextureSharedContext is called to reload texture on a shared context.
 voidreloadTextureSubImage(Canvas3D cv, int face, int level, ImageComponentUpdateInfo info, ImageComponentRetained image)
    
final  voidsendMessage(int attrMask, Object attr)
    
final  voidsetBaseLevel(int level)
    
final  voidsetEnable(boolean state)
     Enables or disables texture mapping for this appearance component object and sends a message notifying the interested structures of the change.
final  voidsetImage(int level, ImageComponent image)
    
final  voidsetImages(ImageComponent[] images)
    
 voidsetLive(boolean backgroundGroup, int refCount)
    
final  voidsetLodOffset(float s, float t, float r)
    
final  voidsetMaximumLOD(float lod)
    
final  voidsetMaximumLevel(int level)
    
final  voidsetMinimumLOD(float lod)
    
 voidsetUseAsRaster(boolean useAsRaster)
    
synchronized  voidupdateMirrorObject(int component, Object value)
    
 voidupdateNative(Canvas3D cv)
    
 voidupdateResourceCreationMask()
    
 voidupdateTexture(Canvas3D cv, int resourceBit)
    
 voidupdateTextureAnisotropicFilter(Context ctx, float degree)
    
 voidupdateTextureBoundary(Context ctx, int boundaryModeS, int boundaryModeT, float boundaryRed, float boundaryGreen, float boundaryBlue, float boundaryAlpha)
    
 voidupdateTextureBoundary(Canvas3D cv)
    
 voidupdateTextureDimensions(Canvas3D cv)
    
 voidupdateTextureFields(Canvas3D cv)
    
 voidupdateTextureFilter4Func(Context ctx, int numFilter4FuncPts, float[] filter4FuncPts)
    
 voidupdateTextureFilterModes(Context ctx, int minFilter, int magFilter)
    
 voidupdateTextureImage(Canvas3D cv, int face, int numLevels, int level, int textureFormat, int imageFormat, int width, int height, int boundaryWidth, int imageDataType, Object data)
    
 voidupdateTextureLOD(Canvas3D cv)
    
 voidupdateTextureLodOffset(Context ctx, float lodOffsetX, float lodOffsetY, float lodOffsetZ)
    
 voidupdateTextureLodRange(Context ctx, int baseLevel, int maximumLevel, float minimumLod, float maximumLod)
    
 voidupdateTextureSharpenFunc(Context ctx, int numSharpenTextureFuncPts, float[] sharpenTextureFuncPts)
    
 voidupdateTextureSubImage(Canvas3D cv, int face, int level, int xoffset, int yoffset, int textureFormat, int imageFormat, int imgXOffset, int imgYOffset, int tilew, int width, int height, int imageDataType, Object data)
    
 booleanuseAutoMipMapGeneration(Canvas3D cv)
    
 voidvalidate()
    

Field Detail
BASE_LEVEL_CHANGED
final static int BASE_LEVEL_CHANGED(Code)



COLOR_CHANGED
final static int COLOR_CHANGED(Code)



ENABLE_CHANGED
final static int ENABLE_CHANGED(Code)



IMAGES_CHANGED
final static int IMAGES_CHANGED(Code)



IMAGE_CHANGED
final static int IMAGE_CHANGED(Code)



LOD_OFFSET_CHANGED
final static int LOD_OFFSET_CHANGED(Code)



MAG_FILTER
final static int MAG_FILTER(Code)



MAX_LEVEL_CHANGED
final static int MAX_LEVEL_CHANGED(Code)



MAX_LOD_CHANGED
final static int MAX_LOD_CHANGED(Code)



MIN_FILTER
final static int MIN_FILTER(Code)



MIN_LOD_CHANGED
final static int MIN_LOD_CHANGED(Code)



STATE_CHANGED
final static int STATE_CHANGED(Code)



UPDATE_IMAGE
final static int UPDATE_IMAGE(Code)



anisotropicFilterDegree
float anisotropicFilterDegree(Code)



anisotropicFilterMode
int anisotropicFilterMode(Code)



baseLevel
int baseLevel(Code)



boundaryColor
Color4f boundaryColor(Code)



boundaryModeS
int boundaryModeS(Code)



boundaryModeT
int boundaryModeT(Code)



boundaryWidth
int boundaryWidth(Code)



enable
boolean enable(Code)



filter4FuncPts
float filter4FuncPts(Code)



format
int format(Code)



height
int height(Code)



imageUpdateInfo
ArrayList imageUpdateInfo(Code)



imageUpdatePruneMask
int imageUpdatePruneMask(Code)



images
ImageComponentRetained images(Code)



isAlphaNeedUpdate
boolean isAlphaNeedUpdate(Code)



isDirty
int isDirty(Code)



lodOffset
Point3f lodOffset(Code)



magFilter
int magFilter(Code)



maxLevels
int maxLevels(Code)



maximumLevel
int maximumLevel(Code)



maximumLod
float maximumLod(Code)



minFilter
int minFilter(Code)



minimumLod
float minimumLod(Code)



mipmapMode
int mipmapMode(Code)



numFaces
int numFaces(Code)



numSharpenTextureFuncPts
int numSharpenTextureFuncPts(Code)



objectId
int objectId(Code)



resourceCreationMask
int resourceCreationMask(Code)



resourceInReloadList
int resourceInReloadList(Code)



resourceLock
Object resourceLock(Code)



resourceLodUpdatedMask
int resourceLodUpdatedMask(Code)



resourceUpdatedMask
int resourceUpdatedMask(Code)



sharpenTextureFuncPts
float sharpenTextureFuncPts(Code)



userSpecifiedEnable
boolean userSpecifiedEnable(Code)



width
int width(Code)





Method Detail
addImageUpdateInfo
void addImageUpdateInfo(int level, int face, ImageComponentUpdateInfo arg)(Code)
addImageUpdateInfo(int level) is to update a particular level. In this case, it supercedes all the subImage update for this level, and all those update info can be removed from the update list. Note: this method is called from mirror only



bindTexture
void bindTexture(Context ctx, int objectId, boolean enable)(Code)



bindTexture
void bindTexture(Canvas3D cv)(Code)



checkImageSize
final void checkImageSize(int level, ImageComponent image)(Code)



checkSizes
final void checkSizes(ImageComponentRetained images)(Code)



clearLive
void clearLive(int refCount)(Code)



createMirrorObject
synchronized void createMirrorObject()(Code)



decTextureBinRefCount
void decTextureBinRefCount(TextureBin tb)(Code)



freeTextureId
void freeTextureId(int id)(Code)



getAnisotropicFilterDegree
final float getAnisotropicFilterDegree()(Code)



getAnisotropicFilterMode
final int getAnisotropicFilterMode()(Code)



getBaseLevel
final int getBaseLevel()(Code)



getBoundaryColor
final void getBoundaryColor(Color4f boundaryColor)(Code)
Retrieves the texture boundary color for this texture object.
Parameters:
  boundaryColor - the vector that will receive thecurrent texture boundary color.



getBoundaryModeS
final int getBoundaryModeS()(Code)
Retrieves the boundary mode for the S coordinate. the current boundary mode for the S coordinate.
exception:
  RestrictedAccessException - if the method is calledwhen this object is part of live or compiled scene graph.



getBoundaryModeT
final int getBoundaryModeT()(Code)
Retrieves the boundary mode for the T coordinate. the current boundary mode for the T coordinate.
exception:
  RestrictedAccessException - if the method is calledwhen this object is part of live or compiled scene graph.



getBoundaryWidth
final int getBoundaryWidth()(Code)
Retrieves the boundary width. the boundary width of this texture.



getEnable
final boolean getEnable()(Code)
Retrieves the state of the texture enable flag. true if texture mapping is enabled,false if texture mapping is disabled



getFilter4Func
final void getFilter4Func(float[] weights)(Code)



getFilter4Func
final float[] getFilter4Func()(Code)



getFilter4FuncPointsCount
final int getFilter4FuncPointsCount()(Code)



getFormat
final int getFormat()(Code)



getHeight
final int getHeight()(Code)



getImage
final ImageComponent getImage(int level)(Code)
Gets a specified mipmap level.
Parameters:
  level - mipmap level to get: 0 is the base level the pixel array object containing the texture image
exception:
  RestrictedAccessException - if the method is calledwhen this object is part of live or compiled scene graph.



getImages
final ImageComponent[] getImages()(Code)



getLodOffset
final void getLodOffset(Tuple3f offset)(Code)



getMagFilter
final int getMagFilter()(Code)
Retrieves the magnification filter. the current magnification filter function.
exception:
  RestrictedAccessException - if the method is calledwhen this object is part of live or compiled scene graph.



getMaximumLOD
final float getMaximumLOD()(Code)



getMaximumLevel
final int getMaximumLevel()(Code)



getMinFilter
final int getMinFilter()(Code)
Retrieves the minification filter. the current minification filter function.
exception:
  RestrictedAccessException - if the method is calledwhen this object is part of live or compiled scene graph.



getMinimumLOD
final float getMinimumLOD()(Code)



getMipMapMode
final int getMipMapMode()(Code)
Retrieves current mipmap mode. current mipmap mode of this texture object.
exception:
  RestrictedAccessException - if the method is called



getSharpenTextureFunc
final void getSharpenTextureFunc(float[] lod, float[] pts)(Code)
Copies the array of sharpen texture LOD function points into the specified arrays



getSharpenTextureFunc
final void getSharpenTextureFunc(Point2f[] pts)(Code)



getSharpenTextureFunc
final float[] getSharpenTextureFunc()(Code)
internal method only -- returns internal function points



getSharpenTextureFuncPointsCount
final int getSharpenTextureFuncPointsCount()(Code)
Get number of points in the sharpen texture LOD function



getTextureBinRefCount
int getTextureBinRefCount(TextureBin tb)(Code)



getTextureId
int getTextureId()(Code)



getWidth
final int getWidth()(Code)



handleFrequencyChange
void handleFrequencyChange(int bit)(Code)



incTextureBinRefCount
void incTextureBinRefCount(TextureBin tb)(Code)



initAnisotropicFilterDegree
final void initAnisotropicFilterDegree(float degree)(Code)



initAnisotropicFilterMode
final void initAnisotropicFilterMode(int mode)(Code)
Set Anisotropic Filter



initBaseLevel
final void initBaseLevel(int level)(Code)



initBoundaryColor
final void initBoundaryColor(Color4f boundaryColor)(Code)
Sets the texture boundary color for this texture object. The texture boundary color is used when boundaryModeS or boundaryModeT is set to CLAMP.
Parameters:
  boundaryColor - the new texture boundary color.



initBoundaryColor
final void initBoundaryColor(float r, float g, float b, float a)(Code)
Sets the texture boundary color for this texture object. The texture boundary color is used when boundaryModeS or boundaryModeT is set to CLAMP.
Parameters:
  r - the red component of the color.
Parameters:
  g - the green component of the color.
Parameters:
  b - the blue component of the color.
Parameters:
  a - the alpha component of the color.



initBoundaryModeS
final void initBoundaryModeS(int boundaryModeS)(Code)
Sets the boundary mode for the S coordinate in this texture object.
Parameters:
  boundaryModeS - the boundary mode for the S coordinate,one of: CLAMP or WRAP.
exception:
  RestrictedAccessException - if the method is calledwhen this object is part of live or compiled scene graph.



initBoundaryModeT
final void initBoundaryModeT(int boundaryModeT)(Code)
Sets the boundary mode for the T coordinate in this texture object.
Parameters:
  boundaryModeT - the boundary mode for the T coordinate,one of: CLAMP or WRAP.
exception:
  RestrictedAccessException - if the method is calledwhen this object is part of live or compiled scene graph.



initEnable
final void initEnable(boolean state)(Code)
Enables or disables texture mapping for this appearance component object.
Parameters:
  state - true or false to enable or disable texture mapping



initFilter4Func
final void initFilter4Func(float[] weights)(Code)



initImage
void initImage(int level, ImageComponent image)(Code)
Sets a specified mipmap level.
Parameters:
  level - mipmap level to set: 0 is the base level
Parameters:
  image - pixel array object containing the texture image
exception:
  RestrictedAccessException - if the method is calledwhen this object is part of live or compiled scene graph.
exception:
  IllegalArgumentException - if an ImageComponent3Dis used in a Texture2D or ImageComponent2D in Texture3Dpower of 2 OR invalid format/mipmapMode is specified.



initImages
void initImages(ImageComponent[] images)(Code)



initLodOffset
final void initLodOffset(float s, float t, float r)(Code)



initMagFilter
final void initMagFilter(int magFilter)(Code)
Sets the magnification filter function. This function is used when the pixel being rendered maps to an area less than or equal to one texel.
Parameters:
  magFilter - the magnification filter, one of:FASTEST, NICEST, BASE_LEVEL_POINT, or BASE_LEVEL_LINEAR.
exception:
  RestrictedAccessException - if the method is calledwhen this object is part of live or compiled scene graph.



initMaximumLOD
final void initMaximumLOD(float lod)(Code)



initMaximumLevel
final void initMaximumLevel(int level)(Code)



initMinFilter
final void initMinFilter(int minFilter)(Code)
Sets the minification filter function. This function is used when the pixel being rendered maps to an area greater than one texel.
Parameters:
  minFilter - the minification filter, one of:FASTEST, NICEST, BASE_LEVEL_POINT, BASE_LEVEL_LINEAR, MULTI_LEVEL_POINT, MULTI_LEVEL_LINEAR.
exception:
  RestrictedAccessException - if the method is calledwhen this object is part of live or compiled scene graph.



initMinimumLOD
final void initMinimumLOD(float lod)(Code)



initMipMapMode
final void initMipMapMode(int mipmapMode)(Code)
Sets mipmap mode for texture mapping for this texture object.
Parameters:
  mipMapMode - the new mipmap mode for this object. One of:BASE_LEVEL or MULTI_LEVEL_MIPMAP.
exception:
  RestrictedAccessException - if the method is called



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



initSharpenTextureFunc
final void initSharpenTextureFunc(float[] lod, float[] pts)(Code)
Set Sharpen Texture function



initSharpenTextureFunc
final void initSharpenTextureFunc(Point2f[] pts)(Code)



initSharpenTextureFunc
final void initSharpenTextureFunc(float[] pts)(Code)



initialize
void initialize(int format, int width, int widLevels, int height, int heiLevels, int mipmapMode, int boundaryWidth)(Code)



isUseAsRaster
boolean isUseAsRaster()(Code)



notifyImageComponentImageChanged
void notifyImageComponentImageChanged(ImageComponentRetained image, ImageComponentUpdateInfo value)(Code)



numMipMapLevels
final int numMipMapLevels()(Code)



pruneImageUpdateInfo
void pruneImageUpdateInfo()(Code)
Go through the image update info list and remove those that are already done by all the resources



reloadTexture
void reloadTexture(Canvas3D cv)(Code)



reloadTextureImage
void reloadTextureImage(Canvas3D cv, int face, int level, ImageComponentRetained image, int numLevels)(Code)
reloadTextureImage is used to load a particular level of image This method needs to take care of RenderedImage as well as BufferedImage



reloadTextureSharedContext
void reloadTextureSharedContext(Canvas3D cv)(Code)
reloadTextureSharedContext is called to reload texture on a shared context. It is invoked from the Renderer before traversing the RenderBin. The idea is to reload all necessary textures up front for all shared contexts in order to minimize the context switching overhead.



reloadTextureSubImage
void reloadTextureSubImage(Canvas3D cv, int face, int level, ImageComponentUpdateInfo info, ImageComponentRetained image)(Code)
update a subregion of the texture image This method needs to take care of RenderedImage as well as BufferedImage



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



setBaseLevel
final void setBaseLevel(int level)(Code)



setEnable
final void setEnable(boolean state)(Code)
Enables or disables texture mapping for this appearance component object and sends a message notifying the interested structures of the change.
Parameters:
  state - true or false to enable or disable texture mapping



setImage
final void setImage(int level, ImageComponent image)(Code)



setImages
final void setImages(ImageComponent[] images)(Code)



setLive
void setLive(boolean backgroundGroup, int refCount)(Code)



setLodOffset
final void setLodOffset(float s, float t, float r)(Code)



setMaximumLOD
final void setMaximumLOD(float lod)(Code)



setMaximumLevel
final void setMaximumLevel(int level)(Code)



setMinimumLOD
final void setMinimumLOD(float lod)(Code)



setUseAsRaster
void setUseAsRaster(boolean useAsRaster)(Code)



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 cv)(Code)
updateNative is called while traversing the RenderBin to update the texture state



updateResourceCreationMask
void updateResourceCreationMask()(Code)



updateTexture
void updateTexture(Canvas3D cv, int resourceBit)(Code)



updateTextureAnisotropicFilter
void updateTextureAnisotropicFilter(Context ctx, float degree)(Code)



updateTextureBoundary
void updateTextureBoundary(Context ctx, int boundaryModeS, int boundaryModeT, float boundaryRed, float boundaryGreen, float boundaryBlue, float boundaryAlpha)(Code)



updateTextureBoundary
void updateTextureBoundary(Canvas3D cv)(Code)



updateTextureDimensions
void updateTextureDimensions(Canvas3D cv)(Code)
load level 0 explicitly with null pointer to enable mipmapping when level 0 is not the base level



updateTextureFields
void updateTextureFields(Canvas3D cv)(Code)



updateTextureFilter4Func
void updateTextureFilter4Func(Context ctx, int numFilter4FuncPts, float[] filter4FuncPts)(Code)



updateTextureFilterModes
void updateTextureFilterModes(Context ctx, int minFilter, int magFilter)(Code)



updateTextureImage
void updateTextureImage(Canvas3D cv, int face, int numLevels, int level, int textureFormat, int imageFormat, int width, int height, int boundaryWidth, int imageDataType, Object data)(Code)



updateTextureLOD
void updateTextureLOD(Canvas3D cv)(Code)



updateTextureLodOffset
void updateTextureLodOffset(Context ctx, float lodOffsetX, float lodOffsetY, float lodOffsetZ)(Code)



updateTextureLodRange
void updateTextureLodRange(Context ctx, int baseLevel, int maximumLevel, float minimumLod, float maximumLod)(Code)



updateTextureSharpenFunc
void updateTextureSharpenFunc(Context ctx, int numSharpenTextureFuncPts, float[] sharpenTextureFuncPts)(Code)



updateTextureSubImage
void updateTextureSubImage(Canvas3D cv, int face, int level, int xoffset, int yoffset, int textureFormat, int imageFormat, int imgXOffset, int imgYOffset, int tilew, int width, int height, int imageDataType, Object data)(Code)



useAutoMipMapGeneration
boolean useAutoMipMapGeneration(Canvas3D cv)(Code)



validate
void validate()(Code)



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.