HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
metrics.h File Reference
#include "pxr/pxr.h"
#include "pxr/usd/usdGeom/api.h"
#include "pxr/base/tf/token.h"
#include "pxr/usd/usd/common.h"
+ Include dependency graph for metrics.h:

Go to the source code of this file.

Classes

class  UsdGeomLinearUnits
 

Functions

USDGEOM_API TfToken UsdGeomGetStageUpAxis (const UsdStageWeakPtr &stage)
 
USDGEOM_API bool UsdGeomSetStageUpAxis (const UsdStageWeakPtr &stage, const TfToken &axis)
 
USDGEOM_API TfToken UsdGeomGetFallbackUpAxis ()
 
USDGEOM_API double UsdGeomGetStageMetersPerUnit (const UsdStageWeakPtr &stage)
 
USDGEOM_API bool UsdGeomStageHasAuthoredMetersPerUnit (const UsdStageWeakPtr &stage)
 
USDGEOM_API bool UsdGeomSetStageMetersPerUnit (const UsdStageWeakPtr &stage, double metersPerUnit)
 
USDGEOM_API bool UsdGeomLinearUnitsAre (double authoredUnits, double standardUnits, double epsilon=1e-5)
 

Detailed Description

Schema and utilities for encoding various spatial and geometric metrics of a UsdStage and its contents.

Definition in file metrics.h.