FreeWRL/FreeX3D  3.0.0
MFImage.java
1 package org.web3d.x3d.sai;
2 import java.awt.image.*;
3 
4 public interface MFImage extends MField {
5 
6  public int getWidth(int imgIndex);
7  public int getHeight(int imgIndex);
8  public int getComponents(int imgIndex);
9  public void getPixels(int imgIndex, int[] pixels);
10  public WritableRenderedImage getImage(int imgIndex);
11  public void setImage(int imgIndex, RenderedImage img);
12  public void setSubImage(int imgIndex, RenderedImage img, int srcWidth, int srcHeight, int srcXOffset, int srcYOffset, int destXOffset, int destYOffset);
13  public void set1Value(int index, int value);
14  public void set1Value(int imgIndex, int width, int height, int components, int[] pixels);
15  public void setValue(int[] value);
16  public void setImage(RenderedImage[] img);
17  public void append(RenderedImage value);
18  public void insertValue(int index, RenderedImage value);
19 }