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

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


                        ConvexHull hull = (ConvexHull) hullModel.getObj();
                        hull.addNode(n);
                        hull.setModel(hullModel);
                    } else if (hullModel != null) {
                        //Its not the first time the hull exist
                        ConvexHullModel model = (ConvexHullModel) hullModel;
                        model.setScale(1f);
                        hullModel.setCacheMarker(cacheMarker);
                        hulls.add((ModelImpl) hullModel);
                    } else {
                        ConvexHull ch = new ConvexHull();
                        ch.setMetaNode(parent);
View Full Code Here


    private void contractPositioning(ConvexHull hull) {
        NodeData metaNode = hull.getMetaNode().getNodeData();
        metaNode.setX(hull.x());
        metaNode.setY(hull.y());

        ConvexHullModel model = (ConvexHullModel) hull.getModel();
        model.setScale(0.9f);
        model.setScaleQuantum(-0.1f);
    }
View Full Code Here

public class CompatibilityHullModeler implements CompatibilityModeler<ConvexHull> {

    public ModelImpl initModel(Renderable n) {
        ConvexHull h = (ConvexHull) n;

        ConvexHullModel hull = new ConvexHullModel();
        hull.setObj(h);
        h.setModel(hull);

        return hull;
    }
View Full Code Here

TOP

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

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.