-/*******************************************************************************\r
- * Copyright (c) 2007- VTT Technical Research Centre of Finland.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- * VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.proconf.g3d.scenegraph;\r
-\r
-import java.util.Collection;\r
-\r
-import org.simantics.db.Graph;\r
-import org.simantics.db.Resource;\r
-import org.simantics.proconf.g3d.stubs.G3DNode;\r
-\r
-import com.jme.scene.Node;\r
-\r
-public interface IGraphicsNode {\r
-\r
- public IGraphicsNode getParent();\r
-\r
- public Node getGroup();\r
-\r
- public Resource getResource();\r
-\r
- /**\r
- * Disposes the node. Disposing of node that has children is not allowed.\r
- */\r
- public void dispose();\r
-\r
- public void updateTransform(Graph graph);\r
- \r
- public G3DNode getG3DNode(Graph graph);\r
- \r
- public void addChild(IGraphicsNode node);\r
- public void removeChild(IGraphicsNode node);\r
- public Collection<IGraphicsNode> getChildren();\r
-\r
- \r
-\r
-}
\ No newline at end of file