sonification.datatransform
Class Sonification_Object_Transform

java.lang.Object
  extended by sonification.datatransform.Sonification_Object_Transform

public class Sonification_Object_Transform
extends java.lang.Object

This class builds the list of all objects for the core class Sonification_Core.java. more options: standard ... formula


Constructor Summary
Sonification_Object_Transform(java.util.LinkedList llsonification_object_original, java.util.HashMap hsonification_object_original)
          Creates a new instance of Sonification_Object_Transform
 
Method Summary
 void buildStandardTransformedList(java.util.LinkedList llsonification_object_original)
          Function builds basically an object list with transformed values for each Sonification_Object_Value.java.
 java.util.LinkedList getOriginalList()
           
 java.util.HashMap getOriginalListMap()
           
 java.util.LinkedList getTransformedList()
          Function returns a linked list with recently transformed object list.
 java.util.HashMap getTransformedListMap()
           
static void objectTransformation(java.lang.String sobjectname, java.lang.String transformationname)
           
static void objectTransformation(java.lang.String sobjectname, java.lang.String transformationname, int ivalue)
           
 void update(java.util.LinkedList llsonification_object_original)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sonification_Object_Transform

public Sonification_Object_Transform(java.util.LinkedList llsonification_object_original,
                                     java.util.HashMap hsonification_object_original)
Creates a new instance of Sonification_Object_Transform

Parameters:
llsonification_object_original - Object list from calling class - original list of objects.
Method Detail

update

public void update(java.util.LinkedList llsonification_object_original)

buildStandardTransformedList

public void buildStandardTransformedList(java.util.LinkedList llsonification_object_original)
Function builds basically an object list with transformed values for each Sonification_Object_Value.java. Every value of the object list should be mapped into a value between 0 and 1. The transformation will be performed for every single x and y value of every Sonification_Object_Value.java object in the object list. In detail the function: -determines the minimum and maximum and the range. -creates a new object list and fills it with transformed values Formula is (old_value-minimum)/range = new_value

Parameters:
llsonification_object_original - Object list from calling class - original list of objects.

objectTransformation

public static void objectTransformation(java.lang.String sobjectname,
                                        java.lang.String transformationname)

objectTransformation

public static void objectTransformation(java.lang.String sobjectname,
                                        java.lang.String transformationname,
                                        int ivalue)

getTransformedList

public java.util.LinkedList getTransformedList()
Function returns a linked list with recently transformed object list.

Returns:
Linked list with transformed objects.

getTransformedListMap

public java.util.HashMap getTransformedListMap()

getOriginalList

public java.util.LinkedList getOriginalList()

getOriginalListMap

public java.util.HashMap getOriginalListMap()