OpenSeesMatlabVisPolyscope¤
Interactive Polyscope visualization interface available as opsMAT.vis.polyscope. It provides consistent in-window controls for model inspection, mode-shape animation, and nodal, frame, shell, plane, and solid response histories.
1 2 3 4 5 6 7 8 | |
Recommended interactive backend
Use Polyscope for new interactive visualization workflows that require static exploration or animation. Use OpenSeesMatlabVis when you need a regular MATLAB figure or a single-step MATLAB GUI plot.
plotter.OpenSeesMatlabVisPolyscope
¤
Bases: handle
Polyscope visualisation interface for OpenSeesMatlab.
This object is attached to the main vis interface as vis.polyscope, so users can write:
1 2 3 | |
Each function opens an interactive Polyscope window with in-window ImGui controls (and ImPlot for nodal-response histories). The default backend is 'openGL3_glfw'; use opts.polyscope.backend = 'openGL_mock' for headless rendering or automated tests.
Methods:
-
plotModel–Open the Polyscope model viewer.
-
plotEigen–Open the Polyscope eigen-mode viewer.
-
plotNodalResponse–Open the Polyscope nodal-response viewer.
-
plotFrameResponse–Open the Polyscope frame-response viewer.
-
plotShellResponse–Open the Polyscope shell-response viewer.
-
plotContinuumResponse–Open the Polyscope continuum-response viewer.
plotModel(opts: struct = struct())
¤
Open the Polyscope model viewer.
Usage:
1 | |
plotEigen(varargin)
¤
Open the Polyscope eigen-mode viewer.
Usage:
1 | |
If eigenData is omitted it is collected from the current model. The mode number can be picked directly in the GUI; modeTag only selects the mode shown on startup.
plotNodalResponse(nodeRespData: struct, opts: struct = struct())
¤
Open the Polyscope nodal-response viewer.
Usage:
1 | |
Input arguments:
-
nodeRespData(struct) –Nodal response data, typically obtained from
opsmat.post.getNodalResponse(odbTag). The struct must include an odbTag field so the corresponding model information can be loaded.
plotFrameResponse(frameRespData: struct, respType="", respComponent="", responseLocation="", stepIdx="absMax", opts: struct = struct())
¤
Open the Polyscope frame-response viewer.
Usage:
1 | |
Input arguments:
-
frameRespData(struct) –Frame response data, typically obtained from
opsmat.post.getFrameResponse(odbTag). The struct must include an odbTag field so the corresponding model information can be loaded.
plotShellResponse(respData: struct, respType="SecForceAtGP", respComponent="mxx", fiberPoint="top", responseLocation="", stepIdx="absMax", opts: struct = struct())
¤
Open the Polyscope shell-response viewer.
Usage:
1 | |
Input arguments:
-
respData(struct) –Shell response data, typically obtained from
opsmat.post.getShellResponse(odbTag). The struct must include an odbTag field so the corresponding model information can be loaded.
plotContinuumResponse(respData: struct, eleType="", respType="StressAtGP", respComponent="sxx", responseLocation="", stepIdx="absMax", opts: struct = struct())
¤
Open the Polyscope continuum-response viewer.
Usage:
1 | |
Input arguments:
-
respData(struct) –Continuum response data, typically obtained from
opsmat.post.getContinuumResponse(odbTag). The struct must include an odbTag field so the corresponding model information can be loaded.