All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
xformOp.h File Reference
#include "pxr/pxr.h"
#include "pxr/usd/usdGeom/api.h"
#include "pxr/usd/usd/attribute.h"
#include "pxr/usd/usd/attributeQuery.h"
#include "pxr/usd/usdGeom/tokens.h"
#include <string>
#include <vector>
#include <typeinfo>
#include <hboost/variant.hpp>
#include "pxr/base/tf/staticTokens.h"
+ Include dependency graph for xformOp.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  UsdGeomXformOp





Macro Definition Documentation


Definition at line 47 of file xformOp.h.

Function Documentation


Provides TfToken's for use in conjunction with UsdGeomXformable::Add XformOp() and UsdGeomXformOp::GetOpType(), to establish op type.

The component operation names and their meanings are:

  • translate - XYZ translation
  • scale - XYZ scale
  • rotateX - rotation about the X axis, in degrees
  • rotateY - rotation about the Y axis, in degrees
  • rotateZ - rotation about the Z axis, in degrees
  • rotateXYZ, rotateXZY, rotateYXZ, rotateYZX, rotateZXY, rotateZYX
    • a set of three canonical Euler rotations, packed into a single Vec3, for conciseness and efficiency of reading. The \em first axis named is the most local, so a single rotateXYZ is equivalent to the ordered ops "rotateZ rotateY rotateX". See also note on rotation packing order.
  • orient - arbitrary axis/angle rotation, expressed as a quaternion
  • transform - 4x4 matrix transformation
  • resetXformStack - when appearing as the first op, instructs client that the transform stack should be cleared of any inherited transformation prior to processing the rest of the prims ops. It is an error for resetXformStack to appear anywhere other than as the first element in xformOpOrder.