Examples of resetOctant()


Examples of org.gephi.visualization.apiimpl.ModelImpl.resetOctant()

        for (Octant o : leaves) {
            for (cleanObjectsIterator.setNode(o.getTree(classID)); cleanObjectsIterator.hasNext();) {
                ModelImpl obj = cleanObjectsIterator.next();
                if (!obj.isCacheMatching(cacheMarker)) {
                    removeObject(classID, obj);
                    obj.resetOctant();
                    if (vizController.getVizConfig().isCleanDeletedModels()) {
                        obj.cleanModel();
                    }
                }
            }
View Full Code Here

Examples of org.gephi.visualization.apiimpl.ModelImpl.resetOctant()

            ParamAVLTree<ModelImpl> tree = o.getTree(classID);

            //Reset octants in objects
            for (cleanObjectsIterator.setNode(tree); cleanObjectsIterator.hasNext();) {
                ModelImpl obj = cleanObjectsIterator.next();
                obj.resetOctant();
                obj.cleanModel();
                obj.destroy();
            }

            //Empty the tree
View Full Code Here

Examples of org.gephi.visualization.apiimpl.ModelImpl.resetOctant()

            if (o.isRequiringUpdatePosition()) {
                for (updatePositionIterator.setNode(o.getTree(classID)); updatePositionIterator.hasNext();) {
                    ModelImpl obj = updatePositionIterator.next();
                    if (!obj.isInOctreeLeaf(o)) {
                        o.removeObject(classID, obj);
                        obj.resetOctant();
                        addObject(classID, obj);
                        //TODO break the loop somehow
                    }
                }
            }
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.