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

#include <nurbsCurvesSchema.h>

Public Member Functions

HD_API BuilderSetCurveVertexCounts (const HdIntArrayDataSourceHandle &curveVertexCounts)
 
HD_API BuilderSetOrder (const HdIntArrayDataSourceHandle &order)
 
HD_API BuilderSetKnots (const HdDoubleArrayDataSourceHandle &knots)
 
HD_API BuilderSetRanges (const HdVec2dArrayDataSourceHandle &ranges)
 
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 93 of file nurbsCurvesSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdNurbsCurvesSchema::Builder::Build ( )

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

HD_API Builder& HdNurbsCurvesSchema::Builder::SetCurveVertexCounts ( const HdIntArrayDataSourceHandle curveVertexCounts)
HD_API Builder& HdNurbsCurvesSchema::Builder::SetKnots ( const HdDoubleArrayDataSourceHandle knots)
HD_API Builder& HdNurbsCurvesSchema::Builder::SetOrder ( const HdIntArrayDataSourceHandle order)
HD_API Builder& HdNurbsCurvesSchema::Builder::SetRanges ( const HdVec2dArrayDataSourceHandle ranges)

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