-
Notifications
You must be signed in to change notification settings - Fork 0
/
stooge_plugin.h
60 lines (51 loc) · 1.17 KB
/
stooge_plugin.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#ifndef _STOOGE_PLUGIN_H_
#define _STOOGE_PLUGIN_H_
#define STOOGE_BONE_WEIGHT_COUNT 4
#define STOOGE_SKELETON_SUFFIX ".skel"
#define STOOGE_MESH_SUFFIX ".mesh"
#define STOOGE_RIG_SUFFIX ".rig"
#define STOOGE_ANIM_SUFFIX ".anim"
#define NOEXPORT_SUFFIX "DONTEXPORT"
#define EXPORT_SUFFIX "_EXPORT"
//cleanup command class
class stoogeClean : public MPxCommand
{
public:
stoogeClean();
virtual MStatus doIt( const MArgList& );
static void* creator();
};
//export command class
class stoogeExport : public MPxCommand
{
public:
stoogeExport();
virtual MStatus doIt( const MArgList& );
static void* creator();
};
//bone saw command class
class boneSaw : public MPxCommand
{
public:
boneSaw();
virtual MStatus doIt( const MArgList& );
static void* creator();
};
//bone optimize command (marks bones to ignore)
class boneOptimize : public MPxCommand
{
public:
boneOptimize();
virtual MStatus doIt( const MArgList& );
static void* creator();
bool markUnusedBones( void );
};
//stooge flatten command (for flattening scale)
class stoogeFlatten : public MPxCommand
{
public:
stoogeFlatten();
virtual MStatus doIt( const MArgList& );
static void* creator();
};
#endif