]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.plant3d/scl/plant3d/scenegraph/P3DParentNode.scl
SCL bindings to some G3D and Plant3D Java classes
[simantics/3d.git] / org.simantics.plant3d / scl / plant3d / scenegraph / P3DParentNode.scl
diff --git a/org.simantics.plant3d/scl/plant3d/scenegraph/P3DParentNode.scl b/org.simantics.plant3d/scl/plant3d/scenegraph/P3DParentNode.scl
new file mode 100644 (file)
index 0000000..05e7c1f
--- /dev/null
@@ -0,0 +1,20 @@
+import "g3d/math/Vector3d"
+import "g3d/math/Quat4d"
+
+importJava "org.simantics.plant3d.scenegraph.P3DParentNode" where
+  data P3DParentNode
+  
+  getName :: P3DParentNode -> Maybe String
+  setName :: P3DParentNode -> String -> ()
+  
+  getOrientation :: P3DParentNode -> Quat4d
+  getPosition :: P3DParentNode -> Vector3d
+  
+  setOrientation :: P3DParentNode -> Quat4d -> ()
+  setPosition :: P3DParentNode -> Vector3d -> ()
+  
+  getWorldOrientation :: P3DParentNode -> Quat4d
+  getWorldPosition :: P3DParentNode -> Vector3d
+  
+  setWorldOrientation :: P3DParentNode -> Quat4d -> ()
+  setWorldPosition :: P3DParentNode -> Vector3d -> ()
\ No newline at end of file