• Home
  • About
  • Publications
  • Contact
  • Imprint
  •  

    Vispol Tangible and Multi-Touch Interface Video

    March 16th, 2009

    This video presents the results of the Bachelor thesis of Frederic Friess at the Vislab of the Wiesbaden University of Applied Sciences. I have been Frederic’s mentor under the guidance of Prof. Dr. Doerner for this work.
    Read the rest of this entry »


    Vispol Multi-Touch Video

    March 9th, 2009

    This video demonstrates the fundamental multi-touch functions of Vispol. The demonstrated functions contain the creation and modification of persons and objects and connections. Additionally, examples for the application of the layout functions in Vispol are being introduced.

    Click here for further information about Vispol.

    You can try out the mouse version of Vispol here.


    Calculate and Set Bounds (Bounding Box) from Points in Google Maps Flash [Update]

    February 27th, 2009

    I’ve got a list of points in my database, which I want to show neatly in a Google Maps Flash Map.

    Thus, I …

    1. calculate the bounding box around these points
    2. calculate the center of this bounding box
    3. set the zoom level of the map in a way that the zoomed cutout contains all points
    4. set the center of the map
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    
    //1.
    var bounds:LatLngBounds = new LatLngBounds();
    for each(var mapObject in tripMessages){
        var currentLatLon:LatLng = new LatLng(mapObject.latitude, 
    	                                       mapObject.longitude);
        bounds.extend(currentLatLon);
    }
     
    //2.
    var center:LatLng = bounds.getCenter();
     
    //3.
    map.setZoom(map.getBoundsZoomLevel(bounds));
     
    //4.
    map.setCenter(center);

    Figure out if you are using AS3 code in an Adobe Air application

    December 19th, 2008

    I use my code in both an Adobe Flex and in an Adobe Air application. As I want to use the native menus of Adobe Air I want to prevent that my self-built menu is being added to the Air application. Thus, I need to figure out if the code is running in a Flex or in an Air application. I do this by using the following structure:

    var airApp:Boolean = false;
    try{
    if(NativeApplication.nativeApplication) airApp = true;
    }catch(error:Error){}
    if(!airApp){
    addChild(generalMenuSprite);
    }


    WordPress SEO fine-tune by Meta SEO Pack from Poradnik Webmastera