// **********************************************************************
//
// Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.6.3
//
// <auto-generated>
//
// Generated from file `visualization.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//

(function(module, require, exports)
{
    var Ice = require("ice").Ice;
    var __M = Ice.__M;
    var jderobot = __M.require(module, 
    [
        "jderobot/common",
        "jderobot/primitives"
    ]).jderobot;
    
    var Slice = Ice.Slice;

    jderobot.Color = Slice.defineStruct(
        function(r, g, b)
        {
            this.r = r !== undefined ? r : 0.0;
            this.g = g !== undefined ? g : 0.0;
            this.b = b !== undefined ? b : 0.0;
        },
        false,
        function(__os)
        {
            __os.writeFloat(this.r);
            __os.writeFloat(this.g);
            __os.writeFloat(this.b);
        },
        function(__is)
        {
            this.r = __is.readFloat();
            this.g = __is.readFloat();
            this.b = __is.readFloat();
        },
        12, 
        true);

    /**
     * Interface to the Visualization interaction.
     **/
    jderobot.Visualization = Slice.defineObject(
        undefined,
        Ice.Object, undefined, 1,
        [
            "::Ice::Object",
            "::jderobot::Visualization"
        ],
        -1, undefined, undefined, false);

    jderobot.VisualizationPrx = Slice.defineProxy(Ice.ObjectPrx, jderobot.Visualization.ice_staticId, undefined);

    Slice.defineOperations(jderobot.Visualization, jderobot.VisualizationPrx,
    {
        "drawSegment": [, , , , , , [[jderobot.Segment], [jderobot.Color]], , , , ],
        "drawPoint": [, , , , , , [[jderobot.Point], [jderobot.Color]], , , , ],
        "clearAll": [, , , , , , , , , , ]
    });
    exports.jderobot = jderobot;
}
(typeof(global) !== "undefined" && typeof(global.process) !== "undefined" ? module : undefined,
 typeof(global) !== "undefined" && typeof(global.process) !== "undefined" ? require : this.Ice.__require,
 typeof(global) !== "undefined" && typeof(global.process) !== "undefined" ? exports : this));
