cct.j3d
Class VerticesObjectProperties

java.lang.Object
  extended by cct.j3d.VerticesObjectProperties

public class VerticesObjectProperties
extends java.lang.Object

Title:

Description:

Copyright: Copyright (c) 2007

Company: ANU


Field Summary
(package private) static java.util.LinkedHashMap availableTransp
           
(package private)  boolean backFaceNormalFlip
           
(package private)  int cullFace
           
(package private)  boolean Lit
           
static int POINTS
           
(package private)  int polygonMode
           
static int SOLID
           
(package private)  int Style
           
(package private) static java.lang.String[] Style_name
           
(package private) static java.lang.String[] Transp_modes
           
(package private)  float Transparency
           
(package private)  int transparencyMode
           
(package private)  boolean Visible
           
static int WIREFRAME
           
 
Constructor Summary
VerticesObjectProperties()
           
 
Method Summary
 javax.media.j3d.Appearance getAppearence(javax.vecmath.Color3f objColor)
           
static java.lang.String[] getAvailablePolygonModes()
           
static java.lang.String[] getAvailableTranspModes()
           
static int getDefaultPolygonMode()
           
static int getDefaultTranspMode()
           
 int getPolygonMode()
           
static int getRenderingMode(java.lang.String mode)
           
static java.lang.String getRenderingModeAsString(int mode)
           
 int getStyle()
           
 java.lang.String getStyleAsString()
           
 float getTransparency()
           
 int getTransparencyMode()
           
static int getTransparencyMode(java.lang.String mode)
           
static java.lang.String getTransparencyModeAsString(int mode)
           
 boolean isLit()
           
static void main(java.lang.String[] args)
           
 void setLit(boolean lit)
           
 void setPolygonMode(int mode)
          Sets the polygon rasterization mode.
 void setStyle(int style)
           
 void setTransparency(float value)
           
 void setTransparencyMode(int mode)
           
static void validateRenderingMode(int mode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOLID

public static final int SOLID
See Also:
Constant Field Values

WIREFRAME

public static final int WIREFRAME
See Also:
Constant Field Values

POINTS

public static final int POINTS
See Also:
Constant Field Values

Style_name

static final java.lang.String[] Style_name

Transp_modes

static final java.lang.String[] Transp_modes

availableTransp

static final java.util.LinkedHashMap availableTransp

Visible

boolean Visible

Lit

boolean Lit

Style

int Style

transparencyMode

int transparencyMode

Transparency

float Transparency

polygonMode

int polygonMode

cullFace

int cullFace

backFaceNormalFlip

boolean backFaceNormalFlip
Constructor Detail

VerticesObjectProperties

public VerticesObjectProperties()
Method Detail

main

public static void main(java.lang.String[] args)

setLit

public void setLit(boolean lit)

isLit

public boolean isLit()

getStyle

public int getStyle()

setStyle

public void setStyle(int style)

getStyleAsString

public java.lang.String getStyleAsString()

getTransparencyMode

public int getTransparencyMode()

setTransparencyMode

public void setTransparencyMode(int mode)

getTransparency

public float getTransparency()

setTransparency

public void setTransparency(float value)
Parameters:
value - float - the appearance's transparency in the range [0.0, 1.0] with 0.0 being fully opaque and 1.0 being fully transparent

getPolygonMode

public int getPolygonMode()

setPolygonMode

public void setPolygonMode(int mode)
Sets the polygon rasterization mode.

Parameters:
mode - int - Could be PolygonAttributes.POLYGON_FILL, PolygonAttributes.POLYGON_LINE, or PolygonAttributes.POLYGON_POINT

getAppearence

public javax.media.j3d.Appearance getAppearence(javax.vecmath.Color3f objColor)

getAvailablePolygonModes

public static java.lang.String[] getAvailablePolygonModes()

getAvailableTranspModes

public static java.lang.String[] getAvailableTranspModes()

getDefaultPolygonMode

public static int getDefaultPolygonMode()

getDefaultTranspMode

public static int getDefaultTranspMode()

getTransparencyModeAsString

public static java.lang.String getTransparencyModeAsString(int mode)

getRenderingMode

public static int getRenderingMode(java.lang.String mode)

getRenderingModeAsString

public static java.lang.String getRenderingModeAsString(int mode)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

validateRenderingMode

public static void validateRenderingMode(int mode)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

getTransparencyMode

public static int getTransparencyMode(java.lang.String mode)