18 #include "pandatoolbase.h"
20 #include "config_maya.h"
22 #include "pre_maya_include.h"
23 #include <maya/MFnAttribute.h>
24 #include <maya/MPlug.h>
25 #include <maya/MStatus.h>
26 #include <maya/MFnDependencyNode.h>
27 #include <maya/MObject.h>
28 #include <maya/MString.h>
29 #include <maya/MVector.h>
30 #include "post_maya_include.h"
35 get_maya_plug(MObject &node,
const string &attribute_name, MPlug &plug);
38 is_connected(MObject &node,
const string &attribute_name);
40 template<
class ValueType>
42 get_maya_attribute(MObject &node,
const string &attribute_name,
45 template<
class ValueType>
47 set_maya_attribute(MObject &node,
const string &attribute_name,
51 has_attribute(MObject &node,
const string &attribute_name);
54 remove_attribute(MObject &node,
const string &attribute_name);
57 get_bool_attribute(MObject &node,
const string &attribute_name,
61 get_angle_attribute(MObject &node,
const string &attribute_name,
65 get_vec2_attribute(MObject &node,
const string &attribute_name,
69 get_vec3_attribute(MObject &node,
const string &attribute_name,
73 get_vec2d_attribute(MObject &node,
const string &attribute_name,
77 get_vec3d_attribute(MObject &node,
const string &attribute_name,
81 get_mat4d_attribute(MObject &node,
const string &attribute_name,
88 get_enum_attribute(MObject &node,
const string &attribute_name,
92 get_string_attribute(MObject &node,
const string &attribute_name,
96 set_string_attribute(MObject &node,
const string &attribute_name,
100 describe_maya_attribute(MObject &node,
const string &attribute_name);
103 describe_compound_attribute(MObject &node);
106 string_mfndata_type(MFnData::Type type);
109 list_maya_attributes(MObject &node);
114 INLINE ostream &operator << (ostream &out,
const MString &str);
115 INLINE ostream &operator << (ostream &out,
const MVector &vec);
117 #include "maya_funcs.I"
118 #include "maya_funcs.T"
This is the base class for all three-component vectors and points.
This is a 4-by-4 transform matrix.
This is the base class for all two-component vectors and points.
This is the base class for all two-component vectors and points.
This is the base class for all three-component vectors and points.