StatArgs#

Fully qualified name: usd_optimize::StatArgs

class StatArgs#

Toggles for what statistics to capture.

Lifecycle

Basic functions

StatArgs()#

Constructor.

virtual ~StatArgs()#

Destructor.

StatArgs(const StatArgs&) = delete#

Disable copy.

StatArgs &operator=(const StatArgs&) = delete#

Disable assign.

Calculate Disjoint Meshes

Can be expensive to calculate.

Default: false

bool getDisjoint() const#

Getter.

void setDisjoint(bool value)#

Setter.

Count Primvars

Counts the number of primvar attributes and the number of values they have.

The value count is based on the flattened number of values (i.e. for indexed primvars the number of indices are counted, not the unique values). Default: false

bool getCountPrimvars() const#

Getter.

void setCountPrimvars(bool value)#

Setter.

Count Time Samples

Default: false

bool getTimeSamples() const#

Getter.

void setTimeSamples(bool value)#

Setter.

Split Collocated

Whether to consider collocated points part of a disjoint mesh.

Default: false

bool getSplitCollocated() const#

Getter.

void setSplitCollocated(bool value)#

Setter.

TimeCode

The UsdTimeCode to collect stats at.

Default: UsdTimeCode::Default()

PXR_NS::UsdTimeCode getTimeCode() const#

Getter.

void setTimeCode(const PXR_NS::UsdTimeCode &timeCode)#

Setter.