Aviatrix3D
2.1.0

org.j3d.aviatrix3d
Class TextureComponent3D

java.lang.Object
  extended by org.j3d.aviatrix3d.SceneGraphObject
      extended by org.j3d.aviatrix3d.NodeComponent
          extended by org.j3d.aviatrix3d.TextureComponent
              extended by org.j3d.aviatrix3d.TextureComponent3D
All Implemented Interfaces:
TextureSource
Direct Known Subclasses:
ByteBufferTextureComponent3D, ByteTextureComponent3D, ImageTextureComponent3D

public abstract class TextureComponent3D
extends TextureComponent

A marker interface to ensure a Texture component contains 3D data

Version:
$Revision: 1.7 $
Author:
Justin Couch

Field Summary
protected  int depth
          The depth
protected  int height
          The height
 
Fields inherited from class org.j3d.aviatrix3d.TextureComponent
copyBuffer, data, format, invertY, numLevels, size, type, TYPE_BYTE, TYPE_INT, width
 
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
 
Fields inherited from interface org.j3d.aviatrix3d.TextureSource
FORMAT_BGR, FORMAT_BGRA, FORMAT_INTENSITY_ALPHA, FORMAT_LUMINANCE_ALPHA, FORMAT_RGB, FORMAT_RGBA, FORMAT_SINGLE_COMPONENT
 
Constructor Summary
TextureComponent3D(int numLevels)
          Constructs an image with default values.
 
Method Summary
 int getDepth()
          Get the current depth of the image component.
 int getHeight()
          Get the height of this image.
 
Methods inherited from class org.j3d.aviatrix3d.TextureComponent
addUpdateListener, bytesPerPixel, checkCopyBufferSize, clearData, clearLocalData, convertImage, getData, getFormat, getNumLevels, getWidth, isYUp, removeUpdateListener, sendTextureUpdate
 
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, setLive, setUpdateHandler, setUserData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

height

protected int height
The height


depth

protected int depth
The depth

Constructor Detail

TextureComponent3D

public TextureComponent3D(int numLevels)
Constructs an image with default values.

Parameters:
numLevels - The number of mipmap levels to create
Method Detail

getHeight

public int getHeight()
Get the height of this image.

Returns:
the height.

getDepth

public int getDepth()
Get the current depth of the image component.

Returns:
A value >= 0

Aviatrix3D
2.1.0

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