org.jagatoo.loaders.models.tds.chunks
Enum TDSChunkType

java.lang.Object
  extended by java.lang.Enum<TDSChunkType>
      extended by org.jagatoo.loaders.models.tds.chunks.TDSChunkType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TDSChunkType>

public enum TDSChunkType
extends java.lang.Enum<TDSChunkType>

The IDs of all the chunks support


Enum Constant Summary
AMBIENT_LIGHT
           
BIT_MAP
           
COLOR_24
           
COLOR_F
           
CURRENT_FRAME
           
DCUE_BGND
           
DEFAULT_VIEW
           
DISTANCE_CUE
           
DL_OFF
           
DL_SHADOWED
           
DL_SPOTLIGHT
           
DUMMY_CHUNK
           
FACE_ARRAY
           
FLOAT_PERCENTAGE
           
FOG
           
FOG_BGND
           
HI_SHADOW_BIAS
           
HIERARCHY
           
HIERARCHY_FRAMES
           
HIERARCHY_HEADER
           
HIERARCHY_LINK
           
HIERARCHY_NODE
           
INSTANCE_NAME
           
INT_PERCENTAGE
           
LO_SHADOW_BIAS
           
M3D_VERSION
           
M3DMAGIC
           
MAPPING_CENTRE
           
MAPPING_ORIENTATION
           
MAPPING_RETILE
           
MAPPING_SCALE
           
MASTER_SCALE
           
MAT_ADDITIVE
           
MAT_AMBIENT
           
MAT_BUMPMAP
           
MAT_DECAL
           
MAT_DIFFUSE
           
MAT_ENTRY
           
MAT_MAPNAME
           
MAT_NAME
           
MAT_OPACMAP
           
MAT_REFLMAP
           
MAT_SELF_ILLUM
           
MAT_SHADING
           
MAT_SHININESS
           
MAT_SHININESS_STRENGTH
           
MAT_SPECULAR
           
MAT_TEXMAP
           
MAT_TRANSPARENCY
           
MAT_TWO_SIDE
           
MAT_WIRE
           
MAT_WIRESIZE
           
MESH_MATRIX
           
MESH_VERSION
           
MMAGIC
           
MSH_MAT_GROUP
           
N_CAMERA
           
N_DIRECT_LIGHT
           
N_TRI_OBJECT
           
NAMED_OBJECT
           
NODE_ID
           
OBJ_DOESNT_CAST
           
OBJ_HIDDEN
           
OBJ_MATTE
           
OBJ_VIS_LOFTER
           
OBJECT_LINK_NULL
           
PIVOT
           
POINT_ARRAY
           
POINT_FLAG_ARRAY
           
POS_TRACK_TAG
           
PROJECT_FILE
           
ROT_TRACK_TAG
           
SCL_TRACK_TAG
           
SHADOW_MAP_SIZE
           
SHADOW_RANGE
           
SHADOW_SAMPLES
           
SMOOTH_GROUP
           
SOLID_BGND
           
TEX_VERTS
           
USE_BIT_MAP
           
USE_DISTANCE_CUE
           
USE_FOG
           
USE_SOLID_BGND
           
USE_V_GRADIENT
           
V_GRADIENT
           
VIEW_BACK
           
VIEW_BOTTOM
           
VIEW_CAMERA
           
VIEW_FRONT
           
VIEW_LEFT
           
VIEW_RIGHT
           
VIEW_TOP
           
VIEW_USER
           
VIEW_WINDOW
           
 
Method Summary
 int getID()
           
static TDSChunkType valueOf(int id)
           
static TDSChunkType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TDSChunkType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

M3DMAGIC

public static final TDSChunkType M3DMAGIC

MMAGIC

public static final TDSChunkType MMAGIC

MESH_VERSION

public static final TDSChunkType MESH_VERSION

M3D_VERSION

public static final TDSChunkType M3D_VERSION

COLOR_F

public static final TDSChunkType COLOR_F

COLOR_24

public static final TDSChunkType COLOR_24

INT_PERCENTAGE

public static final TDSChunkType INT_PERCENTAGE

FLOAT_PERCENTAGE

public static final TDSChunkType FLOAT_PERCENTAGE

MASTER_SCALE

public static final TDSChunkType MASTER_SCALE

BIT_MAP

public static final TDSChunkType BIT_MAP

USE_BIT_MAP

public static final TDSChunkType USE_BIT_MAP

SOLID_BGND

public static final TDSChunkType SOLID_BGND

USE_SOLID_BGND

public static final TDSChunkType USE_SOLID_BGND

V_GRADIENT

public static final TDSChunkType V_GRADIENT

USE_V_GRADIENT

public static final TDSChunkType USE_V_GRADIENT

LO_SHADOW_BIAS

public static final TDSChunkType LO_SHADOW_BIAS

HI_SHADOW_BIAS

public static final TDSChunkType HI_SHADOW_BIAS

SHADOW_MAP_SIZE

public static final TDSChunkType SHADOW_MAP_SIZE

SHADOW_SAMPLES

public static final TDSChunkType SHADOW_SAMPLES

SHADOW_RANGE

public static final TDSChunkType SHADOW_RANGE

AMBIENT_LIGHT

public static final TDSChunkType AMBIENT_LIGHT

FOG

public static final TDSChunkType FOG

USE_FOG

public static final TDSChunkType USE_FOG

FOG_BGND

public static final TDSChunkType FOG_BGND

DISTANCE_CUE

public static final TDSChunkType DISTANCE_CUE

USE_DISTANCE_CUE

public static final TDSChunkType USE_DISTANCE_CUE

DCUE_BGND

public static final TDSChunkType DCUE_BGND

DEFAULT_VIEW

public static final TDSChunkType DEFAULT_VIEW

VIEW_TOP

public static final TDSChunkType VIEW_TOP

VIEW_BOTTOM

public static final TDSChunkType VIEW_BOTTOM

VIEW_LEFT

public static final TDSChunkType VIEW_LEFT

VIEW_RIGHT

public static final TDSChunkType VIEW_RIGHT

VIEW_FRONT

public static final TDSChunkType VIEW_FRONT

VIEW_BACK

public static final TDSChunkType VIEW_BACK

VIEW_USER

public static final TDSChunkType VIEW_USER

VIEW_CAMERA

public static final TDSChunkType VIEW_CAMERA

VIEW_WINDOW

public static final TDSChunkType VIEW_WINDOW

NAMED_OBJECT

public static final TDSChunkType NAMED_OBJECT

OBJ_HIDDEN

public static final TDSChunkType OBJ_HIDDEN

OBJ_VIS_LOFTER

public static final TDSChunkType OBJ_VIS_LOFTER

OBJ_DOESNT_CAST

public static final TDSChunkType OBJ_DOESNT_CAST

OBJ_MATTE

public static final TDSChunkType OBJ_MATTE

N_TRI_OBJECT

public static final TDSChunkType N_TRI_OBJECT

POINT_ARRAY

public static final TDSChunkType POINT_ARRAY

POINT_FLAG_ARRAY

public static final TDSChunkType POINT_FLAG_ARRAY

FACE_ARRAY

public static final TDSChunkType FACE_ARRAY

MSH_MAT_GROUP

public static final TDSChunkType MSH_MAT_GROUP

TEX_VERTS

public static final TDSChunkType TEX_VERTS

SMOOTH_GROUP

public static final TDSChunkType SMOOTH_GROUP

MESH_MATRIX

public static final TDSChunkType MESH_MATRIX

N_DIRECT_LIGHT

public static final TDSChunkType N_DIRECT_LIGHT

DL_SPOTLIGHT

public static final TDSChunkType DL_SPOTLIGHT

DL_OFF

public static final TDSChunkType DL_OFF

DL_SHADOWED

public static final TDSChunkType DL_SHADOWED

N_CAMERA

public static final TDSChunkType N_CAMERA

MAT_ENTRY

public static final TDSChunkType MAT_ENTRY

MAT_NAME

public static final TDSChunkType MAT_NAME

MAT_AMBIENT

public static final TDSChunkType MAT_AMBIENT

MAT_DIFFUSE

public static final TDSChunkType MAT_DIFFUSE

MAT_SPECULAR

public static final TDSChunkType MAT_SPECULAR

MAT_SHININESS

public static final TDSChunkType MAT_SHININESS

MAT_SHININESS_STRENGTH

public static final TDSChunkType MAT_SHININESS_STRENGTH

MAT_TRANSPARENCY

public static final TDSChunkType MAT_TRANSPARENCY

MAT_WIRE

public static final TDSChunkType MAT_WIRE

MAT_WIRESIZE

public static final TDSChunkType MAT_WIRESIZE

MAT_SELF_ILLUM

public static final TDSChunkType MAT_SELF_ILLUM

MAT_TWO_SIDE

public static final TDSChunkType MAT_TWO_SIDE

MAT_DECAL

public static final TDSChunkType MAT_DECAL

MAT_ADDITIVE

public static final TDSChunkType MAT_ADDITIVE

MAT_SHADING

public static final TDSChunkType MAT_SHADING

MAT_TEXMAP

public static final TDSChunkType MAT_TEXMAP

MAT_OPACMAP

public static final TDSChunkType MAT_OPACMAP

MAT_REFLMAP

public static final TDSChunkType MAT_REFLMAP

MAT_BUMPMAP

public static final TDSChunkType MAT_BUMPMAP

MAT_MAPNAME

public static final TDSChunkType MAT_MAPNAME

HIERARCHY

public static final TDSChunkType HIERARCHY

HIERARCHY_HEADER

public static final TDSChunkType HIERARCHY_HEADER

HIERARCHY_NODE

public static final TDSChunkType HIERARCHY_NODE

HIERARCHY_FRAMES

public static final TDSChunkType HIERARCHY_FRAMES

CURRENT_FRAME

public static final TDSChunkType CURRENT_FRAME

HIERARCHY_LINK

public static final TDSChunkType HIERARCHY_LINK

INSTANCE_NAME

public static final TDSChunkType INSTANCE_NAME

PIVOT

public static final TDSChunkType PIVOT

POS_TRACK_TAG

public static final TDSChunkType POS_TRACK_TAG

ROT_TRACK_TAG

public static final TDSChunkType ROT_TRACK_TAG

SCL_TRACK_TAG

public static final TDSChunkType SCL_TRACK_TAG

NODE_ID

public static final TDSChunkType NODE_ID

OBJECT_LINK_NULL

public static final TDSChunkType OBJECT_LINK_NULL

DUMMY_CHUNK

public static final TDSChunkType DUMMY_CHUNK

PROJECT_FILE

public static final TDSChunkType PROJECT_FILE

MAPPING_RETILE

public static final TDSChunkType MAPPING_RETILE

MAPPING_CENTRE

public static final TDSChunkType MAPPING_CENTRE

MAPPING_SCALE

public static final TDSChunkType MAPPING_SCALE

MAPPING_ORIENTATION

public static final TDSChunkType MAPPING_ORIENTATION
Method Detail

values

public static TDSChunkType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TDSChunkType c : TDSChunkType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TDSChunkType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getID

public final int getID()

valueOf

public static final TDSChunkType valueOf(int id)