HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdNurbsPatchTrimCurveSchema::Builder Class Reference

#include <nurbsPatchTrimCurveSchema.h>

Public Member Functions

HD_API BuilderSetCounts (const HdIntArrayDataSourceHandle &counts)
 
HD_API BuilderSetOrders (const HdIntArrayDataSourceHandle &orders)
 
HD_API BuilderSetVertexCounts (const HdIntArrayDataSourceHandle &vertexCounts)
 
HD_API BuilderSetKnots (const HdDoubleArrayDataSourceHandle &knots)
 
HD_API BuilderSetRanges (const HdVec2dArrayDataSourceHandle &ranges)
 
HD_API BuilderSetPoints (const HdVec3dArrayDataSourceHandle &points)
 
HD_API HdContainerDataSourceHandle Build ()
 Returns a container data source containing the members set thus far. More...
 

Detailed Description

Utility class for setting sparse sets of child data source fields to be filled as arguments into BuildRetained. Because all setter methods return a reference to the instance, this can be used in the "builder pattern" form.

Definition at line 101 of file nurbsPatchTrimCurveSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdNurbsPatchTrimCurveSchema::Builder::Build ( )

Returns a container data source containing the members set thus far.

HD_API Builder& HdNurbsPatchTrimCurveSchema::Builder::SetCounts ( const HdIntArrayDataSourceHandle counts)
HD_API Builder& HdNurbsPatchTrimCurveSchema::Builder::SetKnots ( const HdDoubleArrayDataSourceHandle knots)
HD_API Builder& HdNurbsPatchTrimCurveSchema::Builder::SetOrders ( const HdIntArrayDataSourceHandle orders)
HD_API Builder& HdNurbsPatchTrimCurveSchema::Builder::SetPoints ( const HdVec3dArrayDataSourceHandle points)
HD_API Builder& HdNurbsPatchTrimCurveSchema::Builder::SetRanges ( const HdVec2dArrayDataSourceHandle ranges)
HD_API Builder& HdNurbsPatchTrimCurveSchema::Builder::SetVertexCounts ( const HdIntArrayDataSourceHandle vertexCounts)

The documentation for this class was generated from the following file: