/******************************************************************************* * Copyright (c) 2012, 2013 Association for Decentralized Information Management in * Industry THTH ry. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * VTT Technical Research Centre of Finland - initial API and implementation *******************************************************************************/ package org.simantics.g3d.scenegraph; import javax.vecmath.Quat4d; import javax.vecmath.Vector3d; import org.eclipse.core.runtime.IAdaptable; import org.simantics.g3d.scenegraph.base.INode; public interface IG3DNode extends INode, IAdaptable { public Vector3d getPosition(); public void setPosition(Vector3d position); public Quat4d getOrientation(); public void setOrientation(Quat4d orientation); public Vector3d getWorldPosition(); public Quat4d getWorldOrientation(); public Vector3d getWorldPosition(Vector3d localPosition); public Quat4d getWorldOrientation(Quat4d localOrientation); public Vector3d getLocalPosition(Vector3d worldPosition); public Quat4d getLocalOrientation(Quat4d worldOrientation); public void setWorldPosition(Vector3d position); public void setWorldOrientation(Quat4d orientation); }