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

All known Subclasses:   javax.media.j3d.ImageComponent2DRetained,  javax.media.j3d.ImageComponent3DRetained,
ImageComponentRetained
abstract class ImageComponentRetained extends NodeComponentRetained (Code)
Abstract class that is used to define 2D or 3D ImageComponent classes used in a Java 3D scene graph. This is used for texture images, background images and raster components of Shape3D nodes.

Inner Class : enum ImageFormatType
Inner Class : enum ImageDataType
Inner Class :class ImageData

Field Summary
final static  intIMAGE_CHANGED
    
final static  intIMAGE_DATA_TYPE_BYTE_ARRAY
    
final static  intIMAGE_DATA_TYPE_BYTE_BUFFER
    
final static  intIMAGE_DATA_TYPE_INT_ARRAY
    
final static  intIMAGE_DATA_TYPE_INT_BUFFER
    
final static  intIMAGE_SIZE_512X512
    
final static  intSUBIMAGE_CHANGED
    
final static  intTYPE_BYTE_ABGR
    
final static  intTYPE_BYTE_BGR
    
final static  intTYPE_BYTE_GRAY
    
final static  intTYPE_BYTE_LA
    
final static  intTYPE_BYTE_RGB
    
final static  intTYPE_BYTE_RGBA
    
final static  intTYPE_INT_ARGB
    
final static  intTYPE_INT_BGR
    
final static  intTYPE_INT_RGB
    
final static  intTYPE_USHORT_GRAY
    
 booleanabgrSupported
    
 booleanbyReference
    
 intdepth
    
 ObjectevaluateExtLock
    
 GeometryLockgeomLock
    
 intheight
    
 ImageDataimageData
    
 booleanimageTypeIsSupported
    
 booleannpotSupported
    
 intnumXTiles
    
 intnumYTiles
    
 inttileh
    
 inttilew
    
 ArrayListuserList
    
 intwidth
    
 booleanyUp
    


Method Summary
synchronized  voidaddUser(NodeComponentRetained node)
    
 voidconvertImageDataFromABGRToRGBA()
    
 voidcopyImageByBlock(BufferedImage bi, int depthIndex, ImageData data)
    
 voidcopyImageLineByLine(BufferedImage bi, int srcX, int srcY, int dstX, int dstY, int depthIndex, int copyWidth, int copyHeight, ImageData data)
    
 voidcopySupportedImageToImageData(RenderedImage ri, int srcX, int srcY, int dstX, int dstY, int depthIndex, int copyWidth, int copyHeight, ImageData data)
    
 voidcopySupportedImageToImageData(RenderedImage ri, int depthIndex, ImageData data)
     copy complete region of a RenderedImage to ImageComponent's imageData object.
 voidcopyToRefImage(int depth)
    
 voidcopyToRefImageWithFormatConversion(int depth)
    
 voidcopyUnsupportedImageToImageData(RenderedImage ri, int depthIndex, ImageData data)
    
 voidcopyUnsupportedImageToImageData(BufferedImage bi, int srcX, int srcY, int dstX, int dstY, int depthIndex, int copyWidth, int copyHeight, ImageData data)
    
 voidcopyUnsupportedImageToImageData(RenderedImage ri, int srcX, int srcY, int dstX, int dstY, int depthIndex, int copyWidth, int copyHeight, ImageData data)
    
 voidcopyUnsupportedNioImageToImageData(NioImageBuffer nioImage, int srcX, int srcY, int dstX, int dstY, int copyWidth, int copyHeight, ImageData iData)
    
 voidcreateBlankImageData()
    
 ImageDatacreateNioImageBufferDataObject(NioImageBuffer nioImageBuffer)
    
 ImageDatacreateRenderedImageDataObject(RenderedImage byRefImage, int dataWidth, int dataHeight)
    
 ImageDatacreateRenderedImageDataObject(RenderedImage byRefImage)
    
 voidevaluateExtABGR(int ext)
    
 voidevaluateExtNonPowerOfTwo(int ext)
    
 voidevaluateExtensions(Canvas3D canvas)
    
 intevaluateImageType(RenderedImage ri)
    
static  ObjectgetDataElementBuffer(java.awt.image.Raster ras)
    
 intgetFormat()
     Retrieves the apiFormat of this image component object.
 intgetHeight()
     Retrieves the height of this image component object.
 ImageComponent.ImageClassgetImageClass()
    
 ImageDatagetImageData(boolean npotSupportNeeded)
    
 intgetImageDataTypeIntValue()
    
 ImageFormatTypegetImageFormatType()
    
 intgetImageFormatTypeIntValue(boolean powerOfTwoData)
    
 intgetImageType()
    
 intgetNumberOfComponents()
    
 ObjectgetRefImage(int index)
    
 intgetUnitsPerPixel()
    
 booleangetUsedByOffScreen()
    
 intgetWidth()
     Retrieves the width of this image component object.
 voidhandleFrequencyChange(int bit)
    
 booleanis3ByteRGB(RenderedImage ri)
    
 booleanis4ByteRGBA(RenderedImage ri)
    
 booleanisByReference()
    
 booleanisImageTypeSupported()
    
 booleanisImageTypeSupported(NioImageBuffer nioImgBuf)
    
 booleanisImageTypeSupported(RenderedImage ri)
    
 booleanisSubImageTypeEqual(RenderedImage ri)
    
 booleanisYUp()
    
 voidprocessParams(int format, int width, int height, int depth)
     Check if ImageComponent parameters have valid values.
synchronized  voidremoveUser(NodeComponentRetained node)
    
final  voidsendMessage(int attrMask, Object attr)
    
 voidsetByReference(boolean byReference)
    
 voidsetEnforceNonPowerOfTwoSupport(boolean npot)
    
 voidsetFormat(int format)
    
 voidsetImageClass(RenderedImage image)
    
 voidsetImageClass(NioImageBuffer image)
    
 voidsetImageFormatType(ImageFormatType ift)
    
 voidsetLive(boolean inBackgroundGroup, int refCount)
    
 voidsetNumberOfComponents(int numberOfComponents)
    
 voidsetRefImage(Object image, int index)
    
 voidsetUnitsPerPixel(int ipp)
    
 voidsetUsedByOffScreen(boolean used)
    
 voidsetYUp(boolean yUp)
    
synchronized  voidupdateMirrorObject(int component, Object value)
     ImageComponent object doesn't really have mirror object.
 booleanuseBilinearFilter()
    

Field Detail
IMAGE_CHANGED
final static int IMAGE_CHANGED(Code)



IMAGE_DATA_TYPE_BYTE_ARRAY
final static int IMAGE_DATA_TYPE_BYTE_ARRAY(Code)



IMAGE_DATA_TYPE_BYTE_BUFFER
final static int IMAGE_DATA_TYPE_BYTE_BUFFER(Code)



IMAGE_DATA_TYPE_INT_ARRAY
final static int IMAGE_DATA_TYPE_INT_ARRAY(Code)



IMAGE_DATA_TYPE_INT_BUFFER
final static int IMAGE_DATA_TYPE_INT_BUFFER(Code)



IMAGE_SIZE_512X512
final static int IMAGE_SIZE_512X512(Code)



SUBIMAGE_CHANGED
final static int SUBIMAGE_CHANGED(Code)



TYPE_BYTE_ABGR
final static int TYPE_BYTE_ABGR(Code)



TYPE_BYTE_BGR
final static int TYPE_BYTE_BGR(Code)



TYPE_BYTE_GRAY
final static int TYPE_BYTE_GRAY(Code)



TYPE_BYTE_LA
final static int TYPE_BYTE_LA(Code)



TYPE_BYTE_RGB
final static int TYPE_BYTE_RGB(Code)



TYPE_BYTE_RGBA
final static int TYPE_BYTE_RGBA(Code)



TYPE_INT_ARGB
final static int TYPE_INT_ARGB(Code)



TYPE_INT_BGR
final static int TYPE_INT_BGR(Code)



TYPE_INT_RGB
final static int TYPE_INT_RGB(Code)



TYPE_USHORT_GRAY
final static int TYPE_USHORT_GRAY(Code)



abgrSupported
boolean abgrSupported(Code)



byReference
boolean byReference(Code)



depth
int depth(Code)



evaluateExtLock
Object evaluateExtLock(Code)



geomLock
GeometryLock geomLock(Code)



height
int height(Code)



imageData
ImageData imageData(Code)



imageTypeIsSupported
boolean imageTypeIsSupported(Code)



npotSupported
boolean npotSupported(Code)



numXTiles
int numXTiles(Code)



numYTiles
int numYTiles(Code)



tileh
int tileh(Code)



tilew
int tilew(Code)



userList
ArrayList userList(Code)



width
int width(Code)



yUp
boolean yUp(Code)





Method Detail
addUser
synchronized void addUser(NodeComponentRetained node)(Code)



convertImageDataFromABGRToRGBA
void convertImageDataFromABGRToRGBA()(Code)



copyImageByBlock
void copyImageByBlock(BufferedImage bi, int depthIndex, ImageData data)(Code)



copyImageLineByLine
void copyImageLineByLine(BufferedImage bi, int srcX, int srcY, int dstX, int dstY, int depthIndex, int copyWidth, int copyHeight, ImageData data)(Code)



copySupportedImageToImageData
void copySupportedImageToImageData(RenderedImage ri, int srcX, int srcY, int dstX, int dstY, int depthIndex, int copyWidth, int copyHeight, ImageData data)(Code)
Copy specified region of image data from RenderedImage to ImageComponent's imageData object



copySupportedImageToImageData
void copySupportedImageToImageData(RenderedImage ri, int depthIndex, ImageData data)(Code)
copy complete region of a RenderedImage to ImageComponent's imageData object.



copyToRefImage
void copyToRefImage(int depth)(Code)
Copy supported ImageType from ImageData to the user defined bufferedImage



copyToRefImageWithFormatConversion
void copyToRefImageWithFormatConversion(int depth)(Code)
Copy image to the user defined bufferedImage ( 3 or 4 components only )



copyUnsupportedImageToImageData
void copyUnsupportedImageToImageData(RenderedImage ri, int depthIndex, ImageData data)(Code)



copyUnsupportedImageToImageData
void copyUnsupportedImageToImageData(BufferedImage bi, int srcX, int srcY, int dstX, int dstY, int depthIndex, int copyWidth, int copyHeight, ImageData data)(Code)



copyUnsupportedImageToImageData
void copyUnsupportedImageToImageData(RenderedImage ri, int srcX, int srcY, int dstX, int dstY, int depthIndex, int copyWidth, int copyHeight, ImageData data)(Code)



copyUnsupportedNioImageToImageData
void copyUnsupportedNioImageToImageData(NioImageBuffer nioImage, int srcX, int srcY, int dstX, int dstY, int copyWidth, int copyHeight, ImageData iData)(Code)



createBlankImageData
void createBlankImageData()(Code)



createNioImageBufferDataObject
ImageData createNioImageBufferDataObject(NioImageBuffer nioImageBuffer)(Code)



createRenderedImageDataObject
ImageData createRenderedImageDataObject(RenderedImage byRefImage, int dataWidth, int dataHeight)(Code)



createRenderedImageDataObject
ImageData createRenderedImageDataObject(RenderedImage byRefImage)(Code)



evaluateExtABGR
void evaluateExtABGR(int ext)(Code)



evaluateExtNonPowerOfTwo
void evaluateExtNonPowerOfTwo(int ext)(Code)



evaluateExtensions
void evaluateExtensions(Canvas3D canvas)(Code)



evaluateImageType
int evaluateImageType(RenderedImage ri)(Code)



getDataElementBuffer
static Object getDataElementBuffer(java.awt.image.Raster ras)(Code)



getFormat
int getFormat()(Code)
Retrieves the apiFormat of this image component object. the apiFormat of this image component object



getHeight
int getHeight()(Code)
Retrieves the height of this image component object. the height of this image component object



getImageClass
ImageComponent.ImageClass getImageClass()(Code)



getImageData
ImageData getImageData(boolean npotSupportNeeded)(Code)



getImageDataTypeIntValue
int getImageDataTypeIntValue()(Code)



getImageFormatType
ImageFormatType getImageFormatType()(Code)



getImageFormatTypeIntValue
int getImageFormatTypeIntValue(boolean powerOfTwoData)(Code)



getImageType
int getImageType()(Code)



getNumberOfComponents
int getNumberOfComponents()(Code)



getRefImage
Object getRefImage(int index)(Code)



getUnitsPerPixel
int getUnitsPerPixel()(Code)



getUsedByOffScreen
boolean getUsedByOffScreen()(Code)



getWidth
int getWidth()(Code)
Retrieves the width of this image component object. the width of this image component object



handleFrequencyChange
void handleFrequencyChange(int bit)(Code)



is3ByteRGB
boolean is3ByteRGB(RenderedImage ri)(Code)



is4ByteRGBA
boolean is4ByteRGBA(RenderedImage ri)(Code)



isByReference
boolean isByReference()(Code)



isImageTypeSupported
boolean isImageTypeSupported()(Code)



isImageTypeSupported
boolean isImageTypeSupported(NioImageBuffer nioImgBuf)(Code)



isImageTypeSupported
boolean isImageTypeSupported(RenderedImage ri)(Code)



isSubImageTypeEqual
boolean isSubImageTypeEqual(RenderedImage ri)(Code)



isYUp
boolean isYUp()(Code)



processParams
void processParams(int format, int width, int height, int depth)(Code)
Check if ImageComponent parameters have valid values.



removeUser
synchronized void removeUser(NodeComponentRetained node)(Code)



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



setByReference
void setByReference(boolean byReference)(Code)



setEnforceNonPowerOfTwoSupport
void setEnforceNonPowerOfTwoSupport(boolean npot)(Code)



setFormat
void setFormat(int format)(Code)



setImageClass
void setImageClass(RenderedImage image)(Code)



setImageClass
void setImageClass(NioImageBuffer image)(Code)



setImageFormatType
void setImageFormatType(ImageFormatType ift)(Code)



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



setNumberOfComponents
void setNumberOfComponents(int numberOfComponents)(Code)



setRefImage
void setRefImage(Object image, int index)(Code)



setUnitsPerPixel
void setUnitsPerPixel(int ipp)(Code)



setUsedByOffScreen
void setUsedByOffScreen(boolean used)(Code)



setYUp
void setYUp(boolean yUp)(Code)



updateMirrorObject
synchronized void updateMirrorObject(int component, Object value)(Code)
ImageComponent object doesn't really have mirror object. But it's using the updateMirrorObject interface to propagate the changes to the users



useBilinearFilter
boolean useBilinearFilter()(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.