at.tuwien.ifs.somtoolbox.apps
Class SecondLifeFileReaderMain

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.apps.SecondLifeFileReaderMain

public class SecondLifeFileReaderMain
extends Object

Main class to SecondLifeInputFileReader

Version:
$Id: SecondLifeFileReaderMain.java 3929 2010-11-09 12:08:24Z mayer $
Author:
Robert Neumayer

Constructor Summary
SecondLifeFileReaderMain()
           
 
Method Summary
static Point3d[][] aggregateLines(double[][][] centroids, int aggregationTargetNumberOfComponents, DistanceFunctionType lineDistanceFunction)
           
static double[][][] getCentroidsPerAvatar(int k, double[][][] positions)
           
static double[][][] getSnappedCentroids(double[][][] centroids, double xSize, double ySize, double zSize, DistanceFunctionType lineDistanceFunction)
           
static void main(String[] args)
           
static void plot(double[][][] positions, double[][][] centroids, double[][][] snappedCentroids, double xSize, double ySize, double zSize)
           
static void plot(double[][][] snappedCentroids, double xSize, double ySize, double zSize)
           
static void writeOut(String fileName, double[][][] data)
           
static void writeOut(String fileName, String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecondLifeFileReaderMain

public SecondLifeFileReaderMain()
Method Detail

plot

public static void plot(double[][][] snappedCentroids,
                        double xSize,
                        double ySize,
                        double zSize)

plot

public static void plot(double[][][] positions,
                        double[][][] centroids,
                        double[][][] snappedCentroids,
                        double xSize,
                        double ySize,
                        double zSize)

getSnappedCentroids

public static double[][][] getSnappedCentroids(double[][][] centroids,
                                               double xSize,
                                               double ySize,
                                               double zSize,
                                               DistanceFunctionType lineDistanceFunction)

getCentroidsPerAvatar

public static double[][][] getCentroidsPerAvatar(int k,
                                                 double[][][] positions)

aggregateLines

public static Point3d[][] aggregateLines(double[][][] centroids,
                                         int aggregationTargetNumberOfComponents,
                                         DistanceFunctionType lineDistanceFunction)

writeOut

public static void writeOut(String fileName,
                            double[][][] data)

writeOut

public static void writeOut(String fileName,
                            String s)

main

public static void main(String[] args)
Parameters:
args - Command Line args