]> gerrit.simantics Code Review - simantics/3d.git/blob - org.simantics.plant3d/scl/Plant3d/Scenegraph/P3DNode.scl
Refactoring of SCL interfaces for g3d.
[simantics/3d.git] / org.simantics.plant3d / scl / Plant3d / Scenegraph / P3DNode.scl
1 import "G3D/Math/Vector3d"
2 import "G3D/Math/Quat4d"
3
4 importJava "org.simantics.plant3d.scenegraph.P3DNode" where
5   data P3DNode
6   
7   getName :: P3DNode -> Maybe String
8   setName :: P3DNode -> String -> ()
9   
10   getOrientation :: P3DNode -> Quat4d
11   getPosition :: P3DNode -> Vector3d
12   
13   setOrientation :: P3DNode -> Quat4d -> ()
14   setPosition :: P3DNode -> Vector3d -> ()
15   
16   getWorldOrientation :: P3DNode -> Quat4d
17   getWorldPosition :: P3DNode -> Vector3d
18   
19   setWorldOrientation :: P3DNode -> Quat4d -> ()
20   setWorldPosition :: P3DNode -> Vector3d -> ()