|
Aviatrix3D 2.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.j3d.aviatrix3d.SceneGraphObject
org.j3d.aviatrix3d.NodeComponent
org.j3d.aviatrix3d.Texture
org.j3d.aviatrix3d.Texture3D
public class Texture3D
Describes the 3D (volume) texture properties of an object.
| Field Summary |
|---|
| Fields inherited from class org.j3d.aviatrix3d.NodeComponent |
|---|
lastParent, liveCount, parentList |
| Fields inherited from class org.j3d.aviatrix3d.SceneGraphObject |
|---|
alive, LISTENER_SET_TIMING_ERR_PROP, updateHandler |
| Constructor Summary | |
|---|---|
Texture3D()
Constructs a texture with default values. |
|
Texture3D(int format,
TextureComponent3D singleImage)
Constructs a texture using just a single image, thus setting it initially as MODE_BASE_LEVEL. |
|
| Method Summary | |
|---|---|
int |
compareTo(Texture tex)
Compares this object with the specified object for order. |
boolean |
equals(Texture tex)
Compares this object with the specified object to check for equivalence. |
int |
getBoundaryModeR()
Get the current boundary handling for the R parameter. |
int |
getBoundaryModeT()
Get the current boundary handling for the T parameter. |
int |
getDepth()
Get the depth of the texture in pixels. |
int |
getHeight()
Get the height of the texture in pixels. |
void |
postRender(javax.media.opengl.GL gl)
Restore all openGL state to the given drawable |
void |
render(javax.media.opengl.GL gl)
Issue ogl commands needed for this component |
void |
setBoundaryModeR(int mode)
Set the boundary handling for the T parameter. |
void |
setBoundaryModeT(int mode)
Set the boundary handling for the T parameter. |
void |
setSources(int mipMapMode,
int format,
TextureSource[] texSources,
int num)
Set a new collection of sources for this texture to use. |
| Methods inherited from class org.j3d.aviatrix3d.NodeComponent |
|---|
addParent, getParents, numParents, removeParent |
| Methods inherited from class org.j3d.aviatrix3d.SceneGraphObject |
|---|
checkForCyclicChild, checkForCyclicParent, dataChanged, getAppUpdateWriteTimingMessage, getBoundsWriteTimingMessage, getDataWriteTimingMessage, getUserData, isLive, setUserData |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Texture3D()
public Texture3D(int format,
TextureComponent3D singleImage)
| Method Detail |
|---|
public void setSources(int mipMapMode,
int format,
TextureSource[] texSources,
int num)
throws InvalidWriteTimingException
setSources in class TexturemipMapMode - Flag stating the type of texture mode to useformat - Image format to use for grayscale sourcestexSources - The source data to use, single for base levelnum - The valid number of sources to use from the array
java.lang.IllegalArgumentException - Source must be 3D texture data
InvalidWriteTimingException - An attempt was made to write outside
of the NodeUpdateListener callback methodpublic int compareTo(Texture tex)
compareTo in class Texturetex - The texture instance to be compared
public boolean equals(Texture tex)
equals in class Texturetex - The texture instance to be compared
public void render(javax.media.opengl.GL gl)
gl - The gl context to draw withpublic void postRender(javax.media.opengl.GL gl)
gl - The gl context to draw with
public void setBoundaryModeR(int mode)
throws InvalidWriteTimingException
mode - The new mode.
InvalidWriteTimingException - An attempt was made to write outside
of the NodeUpdateListener data changed callback methodpublic int getBoundaryModeR()
public void setBoundaryModeT(int mode)
throws InvalidWriteTimingException
mode - The new mode.
InvalidWriteTimingException - An attempt was made to write outside
of the NodeUpdateListener data changed callback methodpublic int getBoundaryModeT()
public int getDepth()
public int getHeight()
|
Aviatrix3D 2.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||