@GraphType(Plant3D.URIs.Plant)
public class P3DRootNode extends ParentNode<INode> implements IG3DNode, NodeMapProvider<Resource, vtkProp, INode> {
-
+ // Vertical direction that determines the interpretation of rotation angle origin
+ protected Vector3d upVector = new Vector3d(0.0, 1.0, 0.0);
+
@RelatedElementsAdd(Plant3D.URIs.children)
public void addChild(INode node) {
//public void addChild(IP3DVisualNode node) {
public TurnComponent createTurn() {
return new TurnComponent();
}
+
+ public Vector3d getUpVector() {
+ return upVector;
+ }
}