Examples of Ramp


Examples of javara.world.physical.Ramp

        if (attrs.getValue("thickness") != null)
          thickness = Float.parseFloat(attrs.getValue("thickness"));
        if (attrs.getValue("hologram") != null)
          isHologram = parseBoolean(attrs.getValue("hologram"));

        Ramp ramp = new Ramp(world, base, top, width, thickness, color, isHologram);
        world.addWorldObject(ramp);
      }
      else if (localName.equalsIgnoreCase("dome")) {
        Vector3f center;
        ColorRGBA color;
View Full Code Here

Examples of ptolemy.actor.lib.Ramp

        director.iterations.setExpression("2400");
        setDirector(director);

        // Create the actors, and set their parameters.
        // First, the source, which counts up from 0.0 in steps of pi/100.
        Ramp ramp = new Ramp(this, "Ramp");
        ramp.step.setExpression("PI/100.0");

        // Next, the expression, for which we have to create an input port.
        Expression expression = new Expression(this, "Expression");
        TypedIOPort expInput = new TypedIOPort(expression, "ramp");
View Full Code Here

Examples of ptolemy.actor.lib.Ramp

        // director.addDebugListener(new StreamListener());
        Manager manager = new Manager(w, "manager");
        toplevel.setManager(manager);

        Ramp ramp = new Ramp(toplevel, "ramp");
        Recorder recorder = new Recorder(toplevel, "recorder");
        recorder.capacity.setExpression("0");
        toplevel.connect(ramp.output, recorder.input);

        director.iterations.setExpression("10000");
View Full Code Here

Examples of ptolemy.actor.lib.Ramp

public class TestModel extends TypedCompositeActor {
    public TestModel(Workspace workspace) throws Exception {
        super(workspace);

        // Construct the model.
        Ramp ramp = new Ramp(this, "ramp");
        _rec = new Recorder(this, "rec");
        connect(ramp.output, _rec.input);

        // Attach a director.
        SDFDirector dir = new SDFDirector(this, "director");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.