The unique ID of the node.
Deselects the node, resizing it to default and changing its color to the default color.
Deselects the node, resizing it to default and changing its color to the default color.
Unit, since it has the side effect of deselecting the node
Retrieves the current position in the 3d scene of the node.
Retrieves the current position in the 3d scene of the node.
the current position of the node
Renders the node so that it doesn't show it as moving.
Moves the node to the specified position in the 3d scene.
Moves the node to the specified position in the 3d scene. IMPORTANT: don't use other methods to move this node
the new position of the node
the position of the scene's camera, since the label could also get rotated
whether the movement shown as a red arrow should be updated or not
Unit, since it has the side effect of moving the node
Checks if the cube of the node is intersecting with the provided node's mesh.
Checks if the cube of the node is intersecting with the provided node's mesh. ATTENTION: this is inaccurate if the the nodes are rotated.
the node to check for intersection
whether the two nodes are intersecting
Rotates the label of the node so that the label faces the camera
Rotates the label of the node so that the label faces the camera
the camera position
Unit, since it has the side effect of rotating the node's label
Selects the node, making it bigger and changing its color to the selection color.
Selects the node, making it bigger and changing its color to the selection color.
Unit, since it has the side effect of selecting the node
Sets the color of the colored sphere that surrounds the node
Sets the color of the colored sphere that surrounds the node
the new color of the sphere.
Unit, since it has the side effect of setting the sphere's color
Sets the radius of the colored sphere that surrounds the node
Sets the radius of the colored sphere that surrounds the node
the new radius of the sphere. If the value is 0 the sphere should be deactivated.
Unit, since it has the side effect of setting the sphere's radius
Sets the scale of the node's label.
Sets the scale of the node's label. ATTENTION: big labels cause performance issues.
the new scale of the label
Unit, since it has the side effect of setting the scale of the node's label
Sets the color of the shape that represents the current node
Sets the color of the shape that represents the current node
the new color of the cube.
Unit, since it has the side effect of setting the cube's color
Sets the scale of the shape representing the node.
Sets the scale of the shape representing the node.
the new scale of the node
Unit, since it has the side effect of setting the scale of the node
Sets the radius of the outlined sphere that surrounds the node
Sets the radius of the outlined sphere that surrounds the node
the new radius of the sphere. If the value is 0 the sphere should be deactivated.
Unit, since it has the side effect of setting the sphere's radius
Sets the text of the node's label.
Sets the text of the node's label. Don't use very long strings if possible, to keep the label near the node.
the new text to set
this is needed if the label is currently deactivated, so it can face the camera
Unit, since it has the side effect of setting the text of the node's label
(Since version ) see corresponding Javadoc for more information.
Interface of a single node of the 3d network. With this interface it's possible to move the node, set the text, the colors, select or deselect, etc.