org.xith3d.effects.celshading
Class CelShadingFactory

java.lang.Object
  extended by org.xith3d.effects.celshading.CelShadingFactory
Direct Known Subclasses:
AssemblyCelShadingFactory, SimpleCelShadingFactory

public abstract class CelShadingFactory
extends java.lang.Object

Insert type comment here.


Constructor Summary
CelShadingFactory()
           
 
Method Summary
protected abstract  Shape3D createMainShape(Geometry geometry)
           
static Shape3D createOutlineShape(Geometry geometry)
           
protected  Appearance getBaseAppearance()
           
static float getOutlineLineWidth()
           
static Texture2D getTexture()
           
 void prepareForCelShading(Geometry geometry, GroupNode group)
           
static void setOutlineLineWidth(float width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CelShadingFactory

public CelShadingFactory()
Method Detail

getTexture

public static final Texture2D getTexture()

setOutlineLineWidth

public static final void setOutlineLineWidth(float width)

getOutlineLineWidth

public static final float getOutlineLineWidth()

createOutlineShape

public static final Shape3D createOutlineShape(Geometry geometry)

getBaseAppearance

protected Appearance getBaseAppearance()

createMainShape

protected abstract Shape3D createMainShape(Geometry geometry)

prepareForCelShading

public final void prepareForCelShading(Geometry geometry,
                                       GroupNode group)