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);
}
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);
}
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);
}
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);
}
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);
}
Aggregations