j3d.org Aviatrix3D

org.j3d.aviatrix3d
Interface ImageTextureComponent

All Known Implementing Classes:
ImageTextureComponent2D, ImageTextureComponent3D

public interface ImageTextureComponent

A texture component that wraps an AWT Image.

Version:
$Revision: 1.3 $
Author:
Alan Hudson

Method Summary
 void updateSubImage(int srcX, int srcY, int destX, int destY, int width, int height, int lvl, java.awt.image.RenderedImage img)
          Update a sub-section of the image data with the new pixel values.
 

Method Detail

updateSubImage

public void updateSubImage(int srcX,
                           int srcY,
                           int destX,
                           int destY,
                           int width,
                           int height,
                           int lvl,
                           java.awt.image.RenderedImage img)
                    throws InvalidWriteTimingException
Update a sub-section of the image data with the new pixel values. Not implemented yet.

Parameters:
srcX - The starting X offset in the existing image space
srcY - The starting Y offset in the existing image space
destX - The starting X offset in the existing image space
destY - The starting Y offset in the existing image space
width - The width of the section to replace
height - The height of the section to replace
img - The image to take data from
Throws:
InvalidWriteTimingException - An attempt was made to write outside of the NodeUpdateListener callback method

j3d.org Aviatrix3D

Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - j3d.org