de.grogra.math
Class Tuple3fType

java.lang.Object
  extended by de.grogra.reflect.MemberDecorator
      extended by de.grogra.reflect.TypeDecorator
          extended by de.grogra.persistence.ManageableType
              extended by de.grogra.persistence.SCOType
                  extended by de.grogra.math.Tuple3fType
All Implemented Interfaces:
Member, Type

public class Tuple3fType
extends SCOType


Nested Class Summary
 
Nested classes/interfaces inherited from class de.grogra.persistence.SCOType
SCOType.Field
 
Nested classes/interfaces inherited from class de.grogra.persistence.ManageableType
ManageableType.ArrayComponent
 
Field Summary
static Tuple3fType $TYPE
           
static SCOType COLOR
           
protected static int FIELD_COUNT
           
static SCOType POINT
           
static SCOType VECTOR
           
static SCOType.Field x$FIELD
           
static SCOType.Field y$FIELD
           
static SCOType.Field z$FIELD
           
 
Fields inherited from class de.grogra.persistence.SCOType
representative
 
Fields inherited from class de.grogra.persistence.ManageableType
FIELD_NAME_SERIALIZATION, FIELD_NODE_SERIALIZATION, finished, LIST_SERIALIZATION
 
Fields inherited from interface de.grogra.reflect.Type
BOOLEAN, BYTE, CHAR, CLASS, DOUBLE, FLOAT, FLOATING_POINT, INT, INTEGRAL, INVALID, LOCAL_CLASS_MODIFIERS, LONG, MEMBER_CLASS_MODIFIERS, MEMBER_INTERFACE_MODIFIERS, NULL, NUMBER, NUMERIC, OBJECT, SHORT, STRING, TOP_LEVEL_CLASS_MODIFIERS, TOP_LEVEL_INTERFACE_MODIFIERS, TYPE, TYPE_0, VOID
 
Fields inherited from interface de.grogra.reflect.Member
ABSTRACT, ACCESS_MODIFIERS, ARRAY, BRIDGE, CONSTANT, FINAL, INTERFACE, JAVA_MODIFIERS, LOCAL_CLASS, MIN_UNUSED_MODIFIER, NATIVE, PRIVATE, PROTECTED, PUBLIC, STATIC, STRICT, SYNCHRONIZED, SYNTHETIC, TRANSIENT, VARARGS, VOLATILE
 
Constructor Summary
Tuple3fType(java.lang.Class c, SCOType supertype)
           
Tuple3fType(Tuple3f representative, SCOType supertype)
           
 
Method Summary
protected  java.lang.Object cloneNonsharedObject(java.lang.Object o, boolean deep)
           
static int colorToInt(Tuple3f color)
           
protected  float getFloat(java.lang.Object o, int id)
           
protected  java.lang.Object newInstance(java.lang.Object repr)
           
static void setColor(Tuple3f color, int rgb)
           
protected  void setFloat(java.lang.Object o, int id, float value)
           
 
Methods inherited from class de.grogra.persistence.SCOType
addManagedField, addManagedField, getBoolean, getByte, getChar, getDouble, getInt, getLong, getObject, getRepresentative, getShort, isWritable, newInstance, setBoolean, setByte, setChar, setDouble, setInt, setLong, setObject, setShort, validate
 
Methods inherited from class de.grogra.persistence.ManageableType
addManagedField, cloneManageable, cloneObject, cloneObject, forClass, forName, forType, getFCOFields, getManageableSupertype, getManagedField, getManagedField, getManagedFieldCount, getSerializationMethod, getSupertype, isAssignableFrom, isSerializable, read, readObject, replaceType, resolveAliasField, setObject, setSerializable, setSerializationMethod, write
 
Methods inherited from class de.grogra.reflect.TypeDecorator
createArray, getArrayType, getBinaryName, getComponentType, getDeclaredField, getDeclaredFieldCount, getDeclaredInterface, getDeclaredInterfaceCount, getDeclaredMethod, getDeclaredMethodCount, getDeclaredType, getDeclaredTypeCount, getDefaultElementValue, getImplementationClass, getLookup, getPackage, getTypeId, getTypeLoader, isInstance, isStringSerializable, toString, undecorate, valueOf
 
Methods inherited from class de.grogra.reflect.MemberDecorator
getDeclaredAnnotation, getDeclaredAnnotationCount, getDeclaringType, getDecoratedMember, getDescriptor, getModifiers, getName, getSimpleName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.grogra.reflect.Member
getDeclaredAnnotation, getDeclaredAnnotationCount, getDeclaringType, getDescriptor, getModifiers, getName, getSimpleName
 

Field Detail

$TYPE

public static final Tuple3fType $TYPE

COLOR

public static final SCOType COLOR

FIELD_COUNT

protected static final int FIELD_COUNT
See Also:
Constant Field Values

POINT

public static final SCOType POINT

VECTOR

public static final SCOType VECTOR

x$FIELD

public static final SCOType.Field x$FIELD

y$FIELD

public static final SCOType.Field y$FIELD

z$FIELD

public static final SCOType.Field z$FIELD
Constructor Detail

Tuple3fType

public Tuple3fType(java.lang.Class c,
                   SCOType supertype)

Tuple3fType

public Tuple3fType(Tuple3f representative,
                   SCOType supertype)
Method Detail

cloneNonsharedObject

protected java.lang.Object cloneNonsharedObject(java.lang.Object o,
                                                boolean deep)
Overrides:
cloneNonsharedObject in class ManageableType

colorToInt

public static int colorToInt(Tuple3f color)

getFloat

protected float getFloat(java.lang.Object o,
                         int id)
Overrides:
getFloat in class SCOType

newInstance

protected java.lang.Object newInstance(java.lang.Object repr)
Overrides:
newInstance in class SCOType

setColor

public static void setColor(Tuple3f color,
                            int rgb)

setFloat

protected void setFloat(java.lang.Object o,
                        int id,
                        float value)
Overrides:
setFloat in class SCOType