All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
xformOp.h File Reference
+ 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.

Classes

class  UsdGeomXformOp
 Schema wrapper for UsdAttribute for authoring and computing transformation operations, as consumed by UsdGeomXformable schema. More...
 

Macros

#define USDGEOM_XFORM_OP_TYPES
 

Functions

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

Macro Definition Documentation

◆ USDGEOM_XFORM_OP_TYPES

#define USDGEOM_XFORM_OP_TYPES

Definition at line 29 of file xformOp.h.

Function Documentation

◆ TF_DECLARE_PUBLIC_TOKENS()

TF_DECLARE_PUBLIC_TOKENS ( UsdGeomXformOpTypes  ,
USDGEOM_API  ,
USDGEOM_XFORM_OP_TYPES   
)

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.