Owning Palette: 3D Picture Control VIs
Requires: Full Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.
Use the Transformations VIs to apply common transformations—such as rotation, translation, and scaling—to objects in a 3D scene graph.
Note LabVIEW transforms objects about their center of mass. A cone's center of mass is one-fourth of the way from the center of the base to the vertex, not equidistant between the highest and lowest point. |
Palette Object | Description |
---|---|
Clear Transformation | Clears any transformations previously applied to an object in a 3D scene by modifying the identity matrices that describe the transformations. |
Get Rotation | Returns the rotation applied to an object in a 3D scene in axis-angle form. |
Get Scale | Returns the scale factors applied to an object in a 3D scene. |
Get Translation | Returns the translation applied to an object in a 3D scene. |
Rotate Object | Rotates an object in a 3D scene by the values Axis and Angle. This VI performs a relative rotation from the object's current position. |
Rotate X-axis | Rotates an object about the X-axis. |
Rotate Y-axis | Rotates an object about the Y-axis. |
Rotate Z-axis | Rotates an object about the Z-axis. |
Scale Object | Uniformly scales an object in a 3D scene by the factors you specify. This VI performs a relative scale from the object's current position. |
Set Rotation | Clears any rotations previously applied to an object in a 3D scene and rotates the object by the values Axis and Angle. This VI performs an absolute rotation from the object's initial position. |
Set Scale | Clears any previous scale operation applied to an object in a 3D scene and applies the scaling factors you specify. This VI performs an absolute scale from the object's initial position. |
Set Translation | Clears any translations previously applied to an object in a 3D scene and translates the object by the vector you specify. This VI performs an absolute translation from the object's initial position. |
Translate Object | Translates an object in a 3D scene by the vector you specify. This VI performs a relative translation from the object's current position. |