Search in sources :

Example 11 with ControlPanel

use of artisynth.core.gui.ControlPanel in project artisynth_core by artisynth.

the class SingleQuadpyramid method createControlPanel.

private void createControlPanel(FemModel3d mod) {
    ControlPanel panel = new ControlPanel("options");
    FemControlPanel.addFem3dControls(panel, mod, mod);
    panel.pack();
    addControlPanel(panel);
    panel.setVisible(true);
    Main.getMain().arrangeControlPanels(this);
}
Also used : ControlPanel(artisynth.core.gui.ControlPanel) FemControlPanel(artisynth.core.gui.FemControlPanel)

Example 12 with ControlPanel

use of artisynth.core.gui.ControlPanel in project artisynth_core by artisynth.

the class SingleQuadtet method createControlPanel.

private void createControlPanel(FemModel3d mod) {
    ControlPanel panel = new ControlPanel("options");
    FemControlPanel.addFem3dControls(panel, mod, mod);
    panel.pack();
    addControlPanel(panel);
    panel.setVisible(true);
    Main.getMain().arrangeControlPanels(this);
}
Also used : ControlPanel(artisynth.core.gui.ControlPanel) FemControlPanel(artisynth.core.gui.FemControlPanel)

Example 13 with ControlPanel

use of artisynth.core.gui.ControlPanel in project artisynth_core by artisynth.

the class SingleWedge method createControlPanel.

private void createControlPanel(FemModel3d mod) {
    ControlPanel panel = new ControlPanel("options");
    FemControlPanel.addFem3dControls(panel, mod, mod);
    panel.pack();
    addControlPanel(panel);
    panel.setVisible(true);
    Main.getMain().arrangeControlPanels(this);
}
Also used : ControlPanel(artisynth.core.gui.ControlPanel) FemControlPanel(artisynth.core.gui.FemControlPanel)

Example 14 with ControlPanel

use of artisynth.core.gui.ControlPanel in project artisynth_core by artisynth.

the class SpongeDemo method addControlPanel.

public void addControlPanel() {
    panel = new ControlPanel("options", "LiveUpdate");
    panel.setScrollable(true);
    addControls(panel);
    addControlPanel(panel);
}
Also used : ControlPanel(artisynth.core.gui.ControlPanel) FemControlPanel(artisynth.core.gui.FemControlPanel)

Example 15 with ControlPanel

use of artisynth.core.gui.ControlPanel in project artisynth_core by artisynth.

the class QuadraticLockingDemo method addControlPanel.

public void addControlPanel() {
    myControlPanel = new ControlPanel("options", "LiveUpdate");
    myControlPanel.addWidget("tetMaterial", myTetMod, "material");
    myControlPanel.addWidget("tetSoftIncomp", myTetMod, "softIncompMethod");
    myControlPanel.addWidget("quadtetMaterial", myQuadtetMod, "material");
    myControlPanel.addWidget("quadtetSoftIncomp", myQuadtetMod, "softIncompMethod");
    myControlPanel.addWidget("hexMaterial", myHexMod, "material");
    myControlPanel.addWidget("hexSoftIncomp", myHexMod, "softIncompMethod");
    addControlPanel(myControlPanel);
    Main.getMain().arrangeControlPanels(this);
}
Also used : ControlPanel(artisynth.core.gui.ControlPanel)

Aggregations

ControlPanel (artisynth.core.gui.ControlPanel)35 FemControlPanel (artisynth.core.gui.FemControlPanel)10 Point (artisynth.core.mechmodels.Point)3 File (java.io.File)3 IOException (java.io.IOException)3 InternalErrorException (maspack.util.InternalErrorException)3 LabeledComponentBase (maspack.widgets.LabeledComponentBase)3 CollisionManager (artisynth.core.mechmodels.CollisionManager)2 MechModel (artisynth.core.mechmodels.MechModel)2 RigidBody (artisynth.core.mechmodels.RigidBody)2 WayPoint (artisynth.core.probes.WayPoint)2 RootModel (artisynth.core.workspace.RootModel)2 BooleanSelector (maspack.widgets.BooleanSelector)2 Main (artisynth.core.driver.Main)1 FemModel3d (artisynth.core.femmodels.FemModel3d)1 FemMuscleModel (artisynth.core.femmodels.FemMuscleModel)1 MuscleBundle (artisynth.core.femmodels.MuscleBundle)1 LinearAxialMuscle (artisynth.core.materials.LinearAxialMuscle)1 AxialSpring (artisynth.core.mechmodels.AxialSpring)1 Muscle (artisynth.core.mechmodels.Muscle)1