| java.lang.Object javax.media.j3d.IndexedObject javax.media.j3d.SceneGraphObjectRetained javax.media.j3d.NodeComponentRetained javax.media.j3d.ImageComponentRetained javax.media.j3d.ImageComponent2DRetained
ImageComponent2DRetained | class ImageComponent2DRetained extends ImageComponentRetained (Code) | | This class defines a 2D image component.
This is used for texture images, background images and raster components
of Shape3D nodes.
|
Method Summary | |
void | clearLive(int refCount) | RenderedImage | getImage() Retrieves a copy of the image in this ImageComponent2D object. | NioImageBuffer | getNioImage() Retrieves the reference of the nio image in this ImageComponent2D object. | void | set(NioImageBuffer image) This method handles NioImageBuffer
Refers or copies the specified NioImageBuffer to this 2D image component object. | void | set(RenderedImage image) This method handles both BufferedImage and RenderedImage
Copies the specified RenderedImage to this 2D image component object. | void | setSubImage(RenderedImage image, int width, int height, int srcX, int srcY, int dstX, int dstY) | void | updateData(ImageComponent2D.Updater updater, int x, int y, int width, int height) Update data.
x and y specifies the x & y offset of the image data in
ImageComponent. |
ImageComponent2DRetained | ImageComponent2DRetained()(Code) | | |
clearLive | void clearLive(int refCount)(Code) | | |
getImage | RenderedImage getImage()(Code) | | Retrieves a copy of the image in this ImageComponent2D object.
a new RenderedImage object created from the image in thisImageComponent2D object |
getNioImage | NioImageBuffer getNioImage()(Code) | | Retrieves the reference of the nio image in this ImageComponent2D object.
|
set | void set(NioImageBuffer image)(Code) | | This method handles NioImageBuffer
Refers or copies the specified NioImageBuffer to this 2D image component object.
Parameters: image - NioImageBuffer object containing the image.The format and size must be the same as the current format in thisImageComponent2D object. |
set | void set(RenderedImage image)(Code) | | This method handles both BufferedImage and RenderedImage
Copies the specified RenderedImage to this 2D image component object.
Parameters: image - RenderedImage object containing the image.The format and size must be the same as the current format in thisImageComponent2D object. |
setSubImage | void setSubImage(RenderedImage image, int width, int height, int srcX, int srcY, int dstX, int dstY)(Code) | | |
updateData | void updateData(ImageComponent2D.Updater updater, int x, int y, int width, int height)(Code) | | Update data.
x and y specifies the x & y offset of the image data in
ImageComponent. It assumes that the origin is (0, 0).
|
Methods inherited from javax.media.j3d.ImageComponentRetained | synchronized void addUser(NodeComponentRetained node)(Code)(Java Doc) void convertImageDataFromABGRToRGBA()(Code)(Java Doc) void copyImageByBlock(BufferedImage bi, int depthIndex, ImageData data)(Code)(Java Doc) void copyImageLineByLine(BufferedImage bi, int srcX, int srcY, int dstX, int dstY, int depthIndex, int copyWidth, int copyHeight, ImageData data)(Code)(Java Doc) void copySupportedImageToImageData(RenderedImage ri, int srcX, int srcY, int dstX, int dstY, int depthIndex, int copyWidth, int copyHeight, ImageData data)(Code)(Java Doc) void copySupportedImageToImageData(RenderedImage ri, int depthIndex, ImageData data)(Code)(Java Doc) void copyToRefImage(int depth)(Code)(Java Doc) void copyToRefImageWithFormatConversion(int depth)(Code)(Java Doc) void copyUnsupportedImageToImageData(RenderedImage ri, int depthIndex, ImageData data)(Code)(Java Doc) void copyUnsupportedImageToImageData(BufferedImage bi, int srcX, int srcY, int dstX, int dstY, int depthIndex, int copyWidth, int copyHeight, ImageData data)(Code)(Java Doc) void copyUnsupportedImageToImageData(RenderedImage ri, int srcX, int srcY, int dstX, int dstY, int depthIndex, int copyWidth, int copyHeight, ImageData data)(Code)(Java Doc) void copyUnsupportedNioImageToImageData(NioImageBuffer nioImage, int srcX, int srcY, int dstX, int dstY, int copyWidth, int copyHeight, ImageData iData)(Code)(Java Doc) void createBlankImageData()(Code)(Java Doc) ImageData createNioImageBufferDataObject(NioImageBuffer nioImageBuffer)(Code)(Java Doc) ImageData createRenderedImageDataObject(RenderedImage byRefImage, int dataWidth, int dataHeight)(Code)(Java Doc) ImageData createRenderedImageDataObject(RenderedImage byRefImage)(Code)(Java Doc) void evaluateExtABGR(int ext)(Code)(Java Doc) void evaluateExtNonPowerOfTwo(int ext)(Code)(Java Doc) void evaluateExtensions(Canvas3D canvas)(Code)(Java Doc) int evaluateImageType(RenderedImage ri)(Code)(Java Doc) static Object getDataElementBuffer(java.awt.image.Raster ras)(Code)(Java Doc) int getFormat()(Code)(Java Doc) int getHeight()(Code)(Java Doc) ImageComponent.ImageClass getImageClass()(Code)(Java Doc) ImageData getImageData(boolean npotSupportNeeded)(Code)(Java Doc) int getImageDataTypeIntValue()(Code)(Java Doc) ImageFormatType getImageFormatType()(Code)(Java Doc) int getImageFormatTypeIntValue(boolean powerOfTwoData)(Code)(Java Doc) int getImageType()(Code)(Java Doc) int getNumberOfComponents()(Code)(Java Doc) Object getRefImage(int index)(Code)(Java Doc) int getUnitsPerPixel()(Code)(Java Doc) boolean getUsedByOffScreen()(Code)(Java Doc) int getWidth()(Code)(Java Doc) void handleFrequencyChange(int bit)(Code)(Java Doc) boolean is3ByteRGB(RenderedImage ri)(Code)(Java Doc) boolean is4ByteRGBA(RenderedImage ri)(Code)(Java Doc) boolean isByReference()(Code)(Java Doc) boolean isImageTypeSupported()(Code)(Java Doc) boolean isImageTypeSupported(NioImageBuffer nioImgBuf)(Code)(Java Doc) boolean isImageTypeSupported(RenderedImage ri)(Code)(Java Doc) boolean isSubImageTypeEqual(RenderedImage ri)(Code)(Java Doc) boolean isYUp()(Code)(Java Doc) void processParams(int format, int width, int height, int depth)(Code)(Java Doc) synchronized void removeUser(NodeComponentRetained node)(Code)(Java Doc) final void sendMessage(int attrMask, Object attr)(Code)(Java Doc) void setByReference(boolean byReference)(Code)(Java Doc) void setEnforceNonPowerOfTwoSupport(boolean npot)(Code)(Java Doc) void setFormat(int format)(Code)(Java Doc) void setImageClass(RenderedImage image)(Code)(Java Doc) void setImageClass(NioImageBuffer image)(Code)(Java Doc) void setImageFormatType(ImageFormatType ift)(Code)(Java Doc) void setLive(boolean inBackgroundGroup, int refCount)(Code)(Java Doc) void setNumberOfComponents(int numberOfComponents)(Code)(Java Doc) void setRefImage(Object image, int index)(Code)(Java Doc) void setUnitsPerPixel(int ipp)(Code)(Java Doc) void setUsedByOffScreen(boolean used)(Code)(Java Doc) void setYUp(boolean yUp)(Code)(Java Doc) synchronized void updateMirrorObject(int component, Object value)(Code)(Java Doc) boolean useBilinearFilter()(Code)(Java Doc)
|
Fields inherited from javax.media.j3d.IndexedObject | int[][] listIdx(Code)(Java Doc)
|
|
|