|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvrml.Field
vrml.ConstField
vrml.field.ConstSFImage
public class ConstSFImage
Represents a read-only VRML SFImage field in Java.
Constructor Summary | |
---|---|
ConstSFImage(int width,
int height,
int components,
byte[] pixels)
Construct a new SFImage field using the given values. |
Method Summary | |
---|---|
int |
getComponents()
Get the number of components in an SFImage. |
int |
getHeight()
Get the height of the SFImage. |
void |
getPixels(byte[] pixels)
Get a 2-dimensional array of pixels representing the SFImage. |
int |
getWidth()
Get the width of the SFImage. |
Methods inherited from class vrml.ConstField |
---|
clone |
Methods inherited from class vrml.Field |
---|
dispose, finalize, getPeer, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConstSFImage(int width, int height, int components, byte[] pixels)
width
- Initial width of SFImage.height
- Initial height of SFImage.components
- Number of components in SFImage.pixels
- 2-dimensional pixel image.Method Detail |
---|
public int getWidth()
public int getHeight()
public int getComponents()
public void getPixels(byte[] pixels)
pixels
- 2-dimensional pixel array.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |