﻿

# Transformations VIs

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

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 ObjectDescription
Clear TransformationClears any transformations previously applied to an object in a 3D scene by modifying the identity matrices that describe the transformations.
Get RotationReturns the rotation applied to an object in a 3D scene in axis-angle form.
Get ScaleReturns the scale factors applied to an object in a 3D scene.
Get TranslationReturns the translation applied to an object in a 3D scene.
Rotate ObjectRotates 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-axisRotates an object about the X-axis.
Rotate Y-axisRotates an object about the Y-axis.
Rotate Z-axisRotates an object about the Z-axis.
Scale ObjectUniformly 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 RotationClears 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 ScaleClears 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 TranslationClears 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 ObjectTranslates an object in a 3D scene by the vector you specify. This VI performs a relative translation from the object's current position.