j3d.org Aviatrix3D

org.j3d.aviatrix3d
Class TextureComponent2D

java.lang.Object
  extended byorg.j3d.aviatrix3d.SceneGraphObject
      extended byorg.j3d.aviatrix3d.NodeComponent
          extended byorg.j3d.aviatrix3d.TextureComponent
              extended byorg.j3d.aviatrix3d.TextureComponent2D
Direct Known Subclasses:
ByteTextureComponent2D, ImageTextureComponent2D

public abstract class TextureComponent2D
extends TextureComponent

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

Version:
$Revision: 1.2 $
Author:
Justin Couch

Field Summary
protected  int height
          The height
 
Fields inherited from class org.j3d.aviatrix3d.TextureComponent
data, format, FORMAT_BGR, FORMAT_BGRA, FORMAT_INTENSITY_ALPHA, FORMAT_RGB, FORMAT_RGBA, FORMAT_SINGLE_COMPONENT, invertY, numLevels, size, type, TYPE_BYTE, TYPE_INT, width
 
Fields inherited from class org.j3d.aviatrix3d.NodeComponent
liveCount
 
Fields inherited from class org.j3d.aviatrix3d.SceneGraphObject
alive, updateHandler, WRITE_TIMING_MSG
 
Constructor Summary
TextureComponent2D(int numLevels)
          Constructs an image with default values.
 
Method Summary
 int getHeight()
          Get the height of this image.
 
Methods inherited from class org.j3d.aviatrix3d.TextureComponent
clearData, convertImage, getData, getFormat, getNumLevels, getWidth, isYUp
 
Methods inherited from class org.j3d.aviatrix3d.NodeComponent
addParent, getParents, hasChanged, numParents, removeParent, renderState, restoreState
 
Methods inherited from class org.j3d.aviatrix3d.SceneGraphObject
checkForCyclicChild, checkForCyclicParent, dataChanged, 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

Constructor Detail

TextureComponent2D

public TextureComponent2D(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.

j3d.org Aviatrix3D

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