Package org.gephi.visualization.opengl.compatibility.objects

Examples of org.gephi.visualization.opengl.compatibility.objects.NodeDiskModel


        this.config = VizController.getInstance().getVizConfig();
    }

    @Override
    public ModelImpl initModel(Renderable n) {
        NodeDiskModel obj = new NodeDiskModel();
        obj.setObj((NodeData) n);
        obj.setSelected(false);
        obj.setDragDistanceFromMouse(new float[2]);
        obj.modelType = SHAPE_DISK64;
        obj.modelBorderType = BORDER64;
        n.setModel(obj);

        chooseModel(obj);
View Full Code Here


        return obj;
    }

    @Override
    public void chooseModel(ModelImpl object3d) {
        NodeDiskModel obj = (NodeDiskModel) object3d;
        if (config.isDisableLOD()) {
            obj.modelType = SHAPE_DISK64;
            obj.modelBorderType = BORDER64;
            return;
        }
View Full Code Here

TOP

Related Classes of org.gephi.visualization.opengl.compatibility.objects.NodeDiskModel

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.