Package org.gephi.visualization.config

Examples of org.gephi.visualization.config.GraphicalConfiguration


        light3XPosition.setValue(Float.valueOf(light3.getDirection()[0]));
        light3YPosition.setValue(Float.valueOf(light3.getDirection()[1]));
        light3ZPosition.setValue(Float.valueOf(light3.getDirection()[2]));

        //OpenGLInfo
        GraphicalConfiguration gc = VizController.getInstance().getDrawable().getGraphicalConfiguration();
        if (gc != null) {
            openInfoText.setText(gc.getVendor() + "\n" + gc.getRenderer() + "\nOpenGL " + gc.getVersionStr());
        }
    }
View Full Code Here


    @Override
    public void init(GLAutoDrawable drawable) {
        GL gl = drawable.getGL();

        graphicalConfiguration = new GraphicalConfiguration();
        graphicalConfiguration.checkGeneralCompatibility(gl);

        //Reinit viewport, to ensure reshape to perform
        viewport = BufferUtil.newIntBuffer(4);
View Full Code Here

        light3XPosition.setValue(Float.valueOf(light3.getDirection()[0]));
        light3YPosition.setValue(Float.valueOf(light3.getDirection()[1]));
        light3ZPosition.setValue(Float.valueOf(light3.getDirection()[2]));

        //OpenGLInfo
        GraphicalConfiguration gc = VizController.getInstance().getDrawable().getGraphicalConfiguration();
        if (gc != null) {
            openInfoText.setText(gc.getVendor() + "\n" + gc.getRenderer() + "\nOpenGL2 " + gc.getVersionStr());
        }
    }
View Full Code Here

    @Override
    public void init(GLAutoDrawable drawable) {
        GL2 gl = drawable.getGL().getGL2();

        graphicalConfiguration = new GraphicalConfiguration();
        graphicalConfiguration.checkGeneralCompatibility(gl);

        //Reinit viewport, to ensure reshape to perform
        viewport = Buffers.newDirectIntBuffer(4);
View Full Code Here

TOP

Related Classes of org.gephi.visualization.config.GraphicalConfiguration

Copyright © 2018 www.massapicom. 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.