artofillusion.texture
Class Mapping3D

java.lang.Object
  extended by artofillusion.texture.TextureMapping
      extended by artofillusion.texture.Mapping3D
Direct Known Subclasses:
LinearMapping3D

public abstract class Mapping3D
extends TextureMapping

Mapping3D is an abstract class describing a linear mapping between 3D texture coordinates and 3D space.


Field Summary
 
Fields inherited from class artofillusion.texture.TextureMapping
BACK_ONLY, FRONT_AND_BACK, FRONT_ONLY
 
Constructor Summary
Mapping3D(Object3D theObject, Texture theTexture)
           
 
Method Summary
 Object3D getObject()
          Get the object this mapping is applied to.
 Texture getTexture()
          Get the Texture associated with this TextureMapping.
static boolean legalMapping(Object3D obj, Texture tex)
           
 
Methods inherited from class artofillusion.texture.TextureMapping
appliesTo, appliesToFace, copy, duplicate, duplicate, getDisplacement, getEditingPanel, getName, getParameters, getTextureSpec, getTransparency, mapTriangle, setAppliesTo, setParameters, writeToFile
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mapping3D

public Mapping3D(Object3D theObject,
                 Texture theTexture)
Method Detail

getTexture

public Texture getTexture()
Description copied from class: TextureMapping
Get the Texture associated with this TextureMapping.

Specified by:
getTexture in class TextureMapping

getObject

public Object3D getObject()
Description copied from class: TextureMapping
Get the object this mapping is applied to.

Specified by:
getObject in class TextureMapping

legalMapping

public static boolean legalMapping(Object3D obj,
                                   Texture tex)


Copyright © 1999-2011 by Peter Eastman.