j3d-vrml97-0.1.0

vrml.field
Class SFImage

java.lang.Object
  extended by vrml.Field
      extended by vrml.field.SFImage
All Implemented Interfaces:
Cloneable

public class SFImage
extends Field

Description of the Class


Field Summary
 
Fields inherited from class vrml.Field
implField
 
Constructor Summary
SFImage(int w, int h, int d, byte[] p)
          Constructor for the SFImage object
SFImage(SFImage init)
          Constructor for the SFImage object
 
Method Summary
 Object clone()
          Description of the Method
 int getComponents()
          Gets the components attribute of the SFImage object
 int getHeight()
          Gets the height attribute of the SFImage object
 void getPixels(byte[] p)
          Gets the pixels attribute of the SFImage object
 int getWidth()
          Gets the width attribute of the SFImage object
 void setValue(ConstSFImage i)
          Sets the value attribute of the SFImage object
 void setValue(int w, int h, int d, byte[] p)
          Sets the value attribute of the SFImage object
 void setValue(SFImage i)
          Sets the value attribute of the SFImage object
 
Methods inherited from class vrml.Field
getImpl, markWriteable
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SFImage

public SFImage(SFImage init)
Constructor for the SFImage object

Parameters:
init - Description of the Parameter

SFImage

public SFImage(int w,
               int h,
               int d,
               byte[] p)
Constructor for the SFImage object

Parameters:
w - Description of the Parameter
h - Description of the Parameter
d - Description of the Parameter
p - Description of the Parameter
Method Detail

clone

public Object clone()
Description of the Method

Specified by:
clone in class Field
Returns:
Description of the Return Value

getWidth

public int getWidth()
Gets the width attribute of the SFImage object

Returns:
The width value

getHeight

public int getHeight()
Gets the height attribute of the SFImage object

Returns:
The height value

getComponents

public int getComponents()
Gets the components attribute of the SFImage object

Returns:
The components value

getPixels

public void getPixels(byte[] p)
Gets the pixels attribute of the SFImage object

Parameters:
p - Description of the Parameter

setValue

public void setValue(int w,
                     int h,
                     int d,
                     byte[] p)
Sets the value attribute of the SFImage object

Parameters:
w - The new value value
h - The new value value
d - The new value value
p - The new value value

setValue

public void setValue(ConstSFImage i)
Sets the value attribute of the SFImage object

Parameters:
i - The new value value

setValue

public void setValue(SFImage i)
Sets the value attribute of the SFImage object

Parameters:
i - The new value value

j3d-vrml97-0.1.0

Todo: put BSD License reference here..