35 #ifndef IE_COREMAYA_TOMAYAMESHCONVERTER_H
36 #define IE_COREMAYA_TOMAYAMESHCONVERTER_H
38 #include "maya/MFnMesh.h"
40 #include "IECore/MeshPrimitive.h"
42 #include "IECoreMaya/ToMayaObjectConverter.h"
47 class ToMayaMeshConverter;
48 IE_CORE_DECLAREPTR( ToMayaMeshConverter );
66 virtual bool doConversion( IECore::ConstObjectPtr from, MObject &to, IECore::ConstCompoundObjectPtr operands )
const;
68 typedef ToMayaObjectConverterDescription<ToMayaMeshConverter> Description;
69 static Description g_meshDataDescription;
70 static Description g_meshDescription;
74 void assignDefaultShadingGroup( MObject &shape )
const;
75 void addUVSet( MFnMesh &fnMesh,
const MIntArray &polygonCounts,
const IECore::MeshPrimitive *mesh, IECore::PrimitiveVariableMap::const_iterator &uvIt )
const;
81 #endif // IE_COREMAYA_TOMAYAMESHCONVERTER_H
virtual bool doConversion(IECore::ConstObjectPtr from, MObject &to, IECore::ConstCompoundObjectPtr operands) const
Definition: ToMayaObjectConverter.h:52
Definition: MeshPrimitive.h:56
static bool setMeshInterpolationAttribute(MObject &object, std::string interpolation="linear")
Definition: ToMayaMeshConverter.h:52
The IECoreMaya namespace holds all the functionality of libIECoreMaya.
Definition: BoolParameterHandler.h:44