#include <nurbsPatchSchema.h>
|
|
static HD_API const TfToken & | GetSchemaToken () |
|
static HD_API const
HdDataSourceLocator & | GetDefaultLocator () |
|
|
static HD_API
HdContainerDataSourceHandle | BuildRetained (const HdIntDataSourceHandle &uVertexCount, const HdIntDataSourceHandle &vVertexCount, const HdIntDataSourceHandle &uOrder, const HdIntDataSourceHandle &vOrder, const HdDoubleArrayDataSourceHandle &uKnots, const HdDoubleArrayDataSourceHandle &vKnots, const HdTokenDataSourceHandle &uForm, const HdTokenDataSourceHandle &vForm, const HdVec2dDataSourceHandle &uRange, const HdVec2dDataSourceHandle &vRange, const HdContainerDataSourceHandle &trimCurve, const HdTokenDataSourceHandle &orientation, const HdBoolDataSourceHandle &doubleSided) |
|
static HD_API
HdTokenDataSourceHandle | BuildFormDataSource (const TfToken &form) |
|
static HD_API
HdTokenDataSourceHandle | BuildOrientationDataSource (const TfToken &orientation) |
|
Definition at line 63 of file nurbsPatchSchema.h.
HdNurbsPatchSchema::HdNurbsPatchSchema |
( |
HdContainerDataSourceHandle |
container | ) |
|
|
inline |
Retrieves a container data source with the schema's default name token "nurbsPatch" from the parent container and constructs a HdNurbsPatchSchema instance. Because the requested container data source may not exist, the result should be checked with IsDefined() or a bool comparison before use.
Definition at line 69 of file nurbsPatchSchema.h.
Returns token data source for use as form value.
The following values will be stored statically and reused for future calls:
- HdNurbsPatchSchemaTokens->open
- HdNurbsPatchSchemaTokens->closed
- HdNurbsPatchSchemaTokens->periodic
Returns token data source for use as orientation value.
The following values will be stored statically and reused for future calls:
- HdNurbsPatchSchemaTokens->leftHanded
- HdNurbsPatchSchemaTokens->rightHanded
static HD_API HdContainerDataSourceHandle HdNurbsPatchSchema::BuildRetained |
( |
const HdIntDataSourceHandle & |
uVertexCount, |
|
|
const HdIntDataSourceHandle & |
vVertexCount, |
|
|
const HdIntDataSourceHandle & |
uOrder, |
|
|
const HdIntDataSourceHandle & |
vOrder, |
|
|
const HdDoubleArrayDataSourceHandle & |
uKnots, |
|
|
const HdDoubleArrayDataSourceHandle & |
vKnots, |
|
|
const HdTokenDataSourceHandle & |
uForm, |
|
|
const HdTokenDataSourceHandle & |
vForm, |
|
|
const HdVec2dDataSourceHandle & |
uRange, |
|
|
const HdVec2dDataSourceHandle & |
vRange, |
|
|
const HdContainerDataSourceHandle & |
trimCurve, |
|
|
const HdTokenDataSourceHandle & |
orientation, |
|
|
const HdBoolDataSourceHandle & |
doubleSided |
|
) |
| |
|
static |
- Deprecated:
- Use Builder instead.
Builds a container data source which includes the provided child data sources. Parameters with nullptr values are excluded. This is a low-level interface. For cases in which it's desired to define the container with a sparse set of child fields, the Builder class is often more convenient and readable.
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container representing this schema is found by default.
static HD_API HdNurbsPatchSchema HdNurbsPatchSchema::GetFromParent |
( |
const HdContainerDataSourceHandle & |
fromParentContainer | ) |
|
|
static |
Retrieves a container data source with the schema's default name token "nurbsPatch" from the parent container and constructs a HdNurbsPatchSchema instance. Because the requested container data source may not exist, the result should be checked with IsDefined() or a bool comparison before use.
static HD_API const TfToken& HdNurbsPatchSchema::GetSchemaToken |
( |
| ) |
|
|
static |
Returns a token where the container representing this schema is found in a container by default.
The documentation for this class was generated from the following file: