17 #include <AL/usdmaya/ForwardDeclares.h>
19 #include "AL/maya/utils/NodeHelper.h"
20 #include "AL/usdmaya/utils/ForwardDeclares.h"
21 #include "AL/maya/utils/MayaHelperMacros.h"
22 #include "maya/MObjectHandle.h"
23 #include "maya/MPxTransform.h"
84 :
public MPxTransform,
85 public AL::maya::utils::NodeHelper
95 AL_MAYA_DECLARE_NODE();
100 AL_DECL_ATTRIBUTE(primPath);
101 AL_DECL_ATTRIBUTE(inStageData);
102 AL_DECL_ATTRIBUTE(time);
103 AL_DECL_ATTRIBUTE(timeOffset);
104 AL_DECL_ATTRIBUTE(timeScalar);
105 AL_DECL_ATTRIBUTE(localTranslateOffset);
106 AL_DECL_ATTRIBUTE(pushToPrim);
107 AL_DECL_ATTRIBUTE(readAnimatedValues);
112 AL_DECL_ATTRIBUTE(outTime);
126 {
return kParallel; }
128 inline const MObject getProxyShape()
const
129 {
return proxyShapeHandle.object(); }
137 MStatus validateAndSetValue(
const MPlug& plug,
const MDataHandle& handle,
const MDGContext& context)
override;
138 MPxTransformationMatrix* createTransformationMatrix()
override;
139 MStatus compute(
const MPlug &plug, MDataBlock &datablock)
override;
140 void postConstructor()
override;
141 MBoundingBox boundingBox()
const override;
142 MStatus connectionMade(
const MPlug& plug,
const MPlug& otherPlug,
bool asSrc)
override;
143 MStatus connectionBroken(
const MPlug& plug,
const MPlug& otherPlug,
bool asSrc)
override;
144 bool isBounded()
const override
146 bool treatAsTransform()
const override
153 void updateTransform(MDataBlock& dataBlock);
158 bool updateTransformInProgress =
false;
235 MObjectHandle proxyShapeHandle;