You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/userguide/basics.visualisation.rst
+28-22Lines changed: 28 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,28 +64,6 @@ For example, meshes can have different colors for the vertices, the edges, and t
64
64
And the colors of vertices, edges, and faces can be specified individually, per element.
65
65
See the section about mesh visualisation for more information.
66
66
67
-
Object Transformation
68
-
=====================
69
-
70
-
All scene objects have a transformation matrix that can be used to transform the object in the visualisation,
71
-
independently of the geometry of the underlying data object.
72
-
The default transformation matrix is the identity matrix, which means that the visualised geometry is the same as the geometry represented by the data.
For more information about working with transformations in COMPAS, see :doc:`basics.geometry.transformations`.
88
-
89
67
Scene Hierarchy
90
68
===============
91
69
@@ -115,6 +93,34 @@ To use a different scene object as the parent, the parent attribute of the scene
115
93
>>> boxobj.parent
116
94
PointObject
117
95
96
+
Object Frame And Transformation
97
+
=====================
98
+
99
+
Every scene objects can have a reference "frame" that represents its local coordinate system relative to the frame of its hierarchical parent.
100
+
In addition, an object can also have a local "transformation" which orientates this object from its frame.
101
+
The final transformation of an object relative to the world coordinate system is the aggregated multiplication of all its hierarchical ancesters' frames,
102
+
together with its own local frame and transformation. This prorperty can be accessed through the read-only attribute "worldtransformation".
0 commit comments