v_sim.Node¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
number |
r/w |
an integer that corresponds to its position in the entry file, it references also the node itself in the array ‘fromNumberToVisuNode’ of the |
|
posElement |
r/w |
an integer that is the position of the |
|
posNode |
r/w |
an integer that is the position of the node itself in the array ‘nodes’ of the |
|
rendered |
r/w |
a boolean to store if the node is drwn or not. |
|
translation |
[ |
r/w |
an array of three floating point values that translates the node to its drawn position from (x, y, z) ; |
xyz |
[ |
r/w |
an array of three floating point values that positions the node in (x, y, z) ; |
Methods¶
|
|
|
|
|
Details¶
- class v_sim.Node¶
Structure to store primary data of a node.
- getVisibility()¶
- Returns:
true if the node is rendered, false otherwise.
- Return type:
This method is used get the status of the drawing state of a node.
- newValues(xyz)¶
- Parameters:
xyz ([
float]) – the coordinates to set.
Set the coordinates and set all other values to default.
- setCoordinates(xyz)¶
- Parameters:
xyz ([
float]) – new cartesian coordinates.- Returns:
Trueif the calling method should emitv_sim.NodeArray::position-changedsignal.- Return type:
This method is used to change coordinates of self.
New in version 3.7.