Search in sources :

Example 1 with GreebleSkel

use of org.twak.viewTrace.facades.GreebleSkel in project chordatlas by twak.

the class SkelGen method setSkel.

public synchronized void setSkel(PlanSkeleton skel, Output output, SuperFace sf) {
    removeGeometryFor(sf);
    Node house;
    OnClick onclick = new OnClick() {

        @Override
        public void selected(Output output, Node house2, SuperEdge se) {
            SkelGen.this.selected(skel, house2, sf, se);
        }
    };
    GreebleSkel greeble = new GreebleSkel(tweed);
    house = greeble.showSkeleton(output, onclick);
    gNode.attachChild(house);
    geometry.put(sf, house);
    tweed.getRootNode().updateGeometricState();
    tweed.getRootNode().updateModelBound();
    tweed.gainFocus();
}
Also used : GreebleSkel(org.twak.viewTrace.facades.GreebleSkel) Node(com.jme3.scene.Node) Output(org.twak.camp.Output) SuperEdge(org.twak.tweed.gen.SuperEdge) OnClick(org.twak.viewTrace.facades.GreebleSkel.OnClick)

Aggregations

Node (com.jme3.scene.Node)1 Output (org.twak.camp.Output)1 SuperEdge (org.twak.tweed.gen.SuperEdge)1 GreebleSkel (org.twak.viewTrace.facades.GreebleSkel)1 OnClick (org.twak.viewTrace.facades.GreebleSkel.OnClick)1