Loading...
Searching...
No Matches
rileyClippingPlaneSchema.h
Go to the documentation of this file.
1//
2// Copyright 2023 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
8
9/* ************************************************************************** */
10/* ** ** */
11/* ** This file is generated by a script. ** */
12/* ** ** */
13/* ** Do not edit it directly (unless it is within a CUSTOM CODE section)! ** */
14/* ** Edit hdSchemaDefs.py instead to make changes. ** */
15/* ** ** */
16/* ************************************************************************** */
17
18#ifndef EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_RILEY_CLIPPING_PLANE_SCHEMA_H
19#define EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_RILEY_CLIPPING_PLANE_SCHEMA_H
20
22
23#include "hdPrman/api.h"
25
26#include "pxr/imaging/hd/schema.h"
27#include "pxr/imaging/hd/version.h"
28
29// --(BEGIN CUSTOM CODE: Includes)--
30// --(END CUSTOM CODE: Includes)--
31
32PXR_NAMESPACE_OPEN_SCOPE
33
34// --(BEGIN CUSTOM CODE: Declares)--
35// --(END CUSTOM CODE: Declares)--
36
37#define HD_PRMAN_RILEY_CLIPPING_PLANE_SCHEMA_TOKENS \
38 (rileyClippingPlane) \
39 (xform) \
40 (params) \
41
42TF_DECLARE_PUBLIC_TOKENS(HdPrmanRileyClippingPlaneSchemaTokens, HDPRMAN_API,
43 HD_PRMAN_RILEY_CLIPPING_PLANE_SCHEMA_TOKENS);
44
45//-----------------------------------------------------------------------------
46
47
48class HdPrmanRileyClippingPlaneSchema : public HdSchema
49{
50public:
53
54 HdPrmanRileyClippingPlaneSchema(HdContainerDataSourceHandle container)
55 : HdSchema(container) {}
56
62 HDPRMAN_API
63 static HdPrmanRileyClippingPlaneSchema GetFromParent(
64 const HdContainerDataSourceHandle &fromParentContainer);
65
67
68// --(BEGIN CUSTOM CODE: Schema Methods)--
69// --(END CUSTOM CODE: Schema Methods)--
70
73
74 HDPRMAN_API
75 HdMatrixDataSourceHandle GetXform()
76#if HD_API_VERSION >= 66
77 const;
78#else
79 ;
80#endif
81
82
83 HDPRMAN_API
85#if HD_API_VERSION >= 66
86 const;
87#else
88 ;
89#endif
90
91
93
96
99 HDPRMAN_API
100 static const TfToken &GetSchemaToken();
101
104 HDPRMAN_API
105 static const HdDataSourceLocator &GetDefaultLocator();
106
108
117
119 HDPRMAN_API
120 static const HdDataSourceLocator &GetXformLocator();
121
123 HDPRMAN_API
124 static const HdDataSourceLocator &GetParamsLocator();
126
129
137 HDPRMAN_API
138 static HdContainerDataSourceHandle
139 BuildRetained(
140 const HdMatrixDataSourceHandle &xform,
141 const HdContainerDataSourceHandle &params
142 );
143
151 {
152 public:
153 HDPRMAN_API
154 Builder &SetXform(
155 const HdMatrixDataSourceHandle &xform);
156 HDPRMAN_API
157 Builder &SetParams(
158 const HdContainerDataSourceHandle &params);
159
161 HDPRMAN_API
162 HdContainerDataSourceHandle Build();
163
164 private:
165 HdMatrixDataSourceHandle _xform;
166 HdContainerDataSourceHandle _params;
167
168 };
169
171};
172
173PXR_NAMESPACE_CLOSE_SCOPE
174
175#endif
Represents an object that can identify the location of a data source.
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
HDPRMAN_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
Schema to describe RtParamList.
Schema classes represent a structured view of the inherently unstructured container data source passe...
Definition: schema.h:26
Token for efficient comparison, assignment, and hashing of known strings.
Definition: token.h:71
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
Definition: staticTokens.h:92