18 #ifndef __HUSD_PropertyHandle_h__
19 #define __HUSD_PropertyHandle_h__
29 #define HUSD_PROPERTY_VALUETYPE "usdvaluetype"
30 #define HUSD_PROPERTY_VALUETYPE_RELATIONSHIP "relationship"
31 #define HUSD_PROPERTY_VALUETYPE_XFORM "xform"
32 #define HUSD_PROPERTY_VALUETYPE_RAMP "ramp"
33 #define HUSD_PROPERTY_VALUE_ORDERED "usdvalueordered"
34 #define HUSD_PROPERTY_APISCHEMA "usdapischema"
35 #define HUSD_PROPERTY_VALUENAME "usdvaluename"
36 #define HUSD_PROPERTY_RAMPCOUNTNAME "usdrampcountname"
37 #define HUSD_PROPERTY_RAMPBASISNAME "usdrampbasisname"
38 #define HUSD_PROPERTY_RAMPBASISISARRAY "usdrampbasisisarray"
39 #define HUSD_PROPERTY_RAMPBASISSUFFIX "_basis"
40 #define HUSD_PROPERTY_RAMPPOSNAME "usdrampposname"
41 #define HUSD_PROPERTY_RAMPPOSSUFFIX "_pos"
42 #define HUSD_PROPERTY_CONTROLPARM "usdcontrolparm"
43 #define HUSD_PROPERTY_XFORM_PARM_PREFIX "xformparmprefix"
44 #define HUSD_PROPERTY_ISCUSTOM "usdiscustomattrib"
45 #define HUSD_PROPERTY_ISCONNECTION "usdisconnection"
46 #define HUSD_PROPERTY_KEEPCOLLECTIONS "keepcollections"
50 #define HUSD_PROPERTY_RAMPVALUEATTR_KEY "rampvalueattr"
51 #define HUSD_PROPERTY_RAMPCOUNTATTR_KEY "rampcountattr"
52 #define HUSD_PROPERTY_RAMPBASISATTR_KEY "rampbasisattr"
53 #define HUSD_PROPERTY_RAMPBASISISARRAY_KEY "rampbasisisarray"
54 #define HUSD_PROPERTY_RAMPPOSATTR_KEY "rampposattr"
59 #define HUSD_PROPERTY_XFORMOP_INCLUDE_LOOKAT "HoudiniIncludeLookAt"
63 #define HUSD_PROPERTY_LOOKAT_ENABLE "lookatenable"
64 #define HUSD_PROPERTY_LOOKAT_PRIM "lookatprim"
65 #define HUSD_PROPERTY_LOOKAT_POSITION "lookatposition"
66 #define HUSD_PROPERTY_LOOKAT_UPVECMETHOD "upvecmethod"
67 #define HUSD_PROPERTY_LOOKAT_UPVECMETHOD_XAXIS "xaxis"
68 #define HUSD_PROPERTY_LOOKAT_UPVECMETHOD_YAXIS "yaxis"
69 #define HUSD_PROPERTY_LOOKAT_UPVECMETHOD_CUSTOM "custom"
70 #define HUSD_PROPERTY_LOOKAT_UPVEC "upvec"
71 #define HUSD_PROPERTY_LOOKAT_TWIST "twist"
93 {
return myPrimHandle.dataHandle(); }
95 {
return myPrimHandle.overrides(); }
97 {
return myPrimHandle.postLayers(); }
99 {
return myPrimHandle; }
103 bool isCustom()
const;
104 bool isXformOp()
const;
111 void createScriptedParms(
114 bool prepend_control_parm,
115 bool prefix_xform_parms)
const;
123 void createScriptedConnectionParms(
126 bool prepend_control_parm)
const;
135 createScriptedControlParm(
139 bool add_value_control_items =
true,
140 bool add_connection_control_items =
false);
143 getScriptedControlDisableCondition(
const HUSD_ConstOverridesPtr & overrides() const override
const HUSD_DataHandle & dataHandle() const override
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
const HUSD_PrimHandle & primHandle() const
const HUSD_ConstPostLayersPtr & postLayers() const override