Class AppearanceFactory

java.lang.Object
repast.simphony.visualization.visualization3D.AppearanceFactory

public class AppearanceFactory extends Object
Version:
$Revision: 1.1 $ $Date: 2006/01/06 22:35:19 $
Author:
Nick Collier
  • Constructor Details

    • AppearanceFactory

      public AppearanceFactory()
  • Method Details

    • setColoredAppearance

      public static org.jogamp.java3d.Appearance setColoredAppearance(org.jogamp.java3d.Appearance appearance, Color color)
    • setTransparentAppearance

      public static org.jogamp.java3d.Appearance setTransparentAppearance(org.jogamp.java3d.Appearance appearance, int mode, float transVal)
    • createAppearance

      public static org.jogamp.java3d.Appearance createAppearance()
    • setMaterialAppearance

      public static org.jogamp.java3d.Appearance setMaterialAppearance(org.jogamp.java3d.Appearance appearance, Color color)
      Sets the material of the specified to appearance to the specified color. This will create a new Appearance if the specified appearance is null.
      Parameters:
      appearance -
      color - the color to set the diffuse color of the material to.
      Returns:
      an appearance whose material is the specified color. If the specified appearance is not null, then it will be return having had its material's color set appropriately.
    • setPolygonAppearance

      public static org.jogamp.java3d.Appearance setPolygonAppearance(org.jogamp.java3d.Appearance appearance, AppearanceFactory.PolygonDraw draw)