forked from sideeffects/HoudiniEngineForMaya
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInputMergeNode.h
More file actions
40 lines (29 loc) · 695 Bytes
/
InputMergeNode.h
File metadata and controls
40 lines (29 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef __InputMergeNode_h__
#define __InputMergeNode_h__
#include <maya/MPxNode.h>
#include <HAPI/HAPI_Common.h>
class InputMergeNode : public MPxNode
{
public:
static void* creator();
static MStatus initialize();
public:
static MString typeName;
static MTypeId typeId;
static MObject inputTransform;
static MObject inputNode;
static MObject outputNodeId;
public:
InputMergeNode();
virtual ~InputMergeNode();
virtual MStatus compute(
const MPlug &plug,
MDataBlock &dataBlock
);
private:
void clearInput();
bool checkInput(MDataBlock &dataBlock);
private:
HAPI_NodeId myGeometryNodeId;
};
#endif