-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathInputGeometryNode.h
46 lines (35 loc) · 973 Bytes
/
InputGeometryNode.h
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
41
42
43
44
45
46
#ifndef __InputGeometryNode_h__
#define __InputGeometryNode_h__
#include <maya/MPxNode.h>
class Input;
class InputGeometryNode : public MPxNode
{
public:
static void *creator();
static MStatus initialize();
public:
static MString typeName;
static MTypeId typeId;
static MObject inputTransform;
static MObject inputGeometry;
static MObject inputComponents;
static MObject primComponentGroup;
static MObject pointComponentGroup;
static MObject unlockNormals;
static MObject materialPerFace;
static MObject allowFacetSet;
static MObject preserveScale;
static MObject ignoreTransform;
static MObject objectShadingGroup;
static MObject outputNodeId;
public:
InputGeometryNode();
virtual ~InputGeometryNode();
virtual MStatus compute(const MPlug &plug, MDataBlock &dataBlock);
private:
void clearInput();
bool checkInput(MDataBlock &dataBlock);
private:
Input *myInput;
};
#endif