Examples of MeshPlotter


Examples of bs.bs2d.gui.plot.MeshPlotter

    @Override
    public void init(Object data) {
        if(data instanceof TriMesh2D){
            mesh = (TriMesh2D) data;
       
            meshPlotter = new MeshPlotter(mesh);
            applyViewSettings();
            content.setPlotObject(meshPlotter, true);

            controls.init(meshPlotter);
        } else if(MainGUI.DEBUG_LOADCASE) {
            try {
                mesh = MeshReader.readMesh(BSConstants.getTempFile("msh"));
               
                meshPlotter = new MeshPlotter(mesh);
                applyViewSettings();
                content.setPlotObject(meshPlotter, true);
               
                controls.init(meshPlotter);
            } catch (Exception ex) {
View Full Code Here

Examples of bs.bs2d.gui.plot.MeshPlotter

       
        mesh = getMesh(inputFile, clmin, clmax);
    }
   
    public void showMesh(){
        meshPlotter = new MeshPlotter(mesh);
        applyViewSettings();
        content.setPlotObject(meshPlotter, true);
    }
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.