35 #ifndef IECOREMAYA_FROMMAYAUNITPLUGCONVERTER_H
36 #define IECOREMAYA_FROMMAYAUNITPLUGCONVERTER_H
38 #include "IECoreMaya/FromMayaPlugConverter.h"
40 #include "IECore/NumericParameter.h"
47 class FromMayaUnitPlugConverter :
public FromMayaPlugConverter
52 FromMayaUnitPlugConverter(
const MPlug &plug );
54 IECORE_RUNTIMETYPED_DECLARETEMPLATE( FromMayaUnitPlugConverter, FromMayaPlugConverter )
56 IECore::IntParameterPtr angleUnitParameter();
57 IECore::ConstIntParameterPtr angleUnitParameter() const;
59 IECore::IntParameterPtr distanceUnitParameter();
60 IECore::ConstIntParameterPtr distanceUnitParameter() const;
62 IECore::IntParameterPtr timeUnitParameter();
63 IECore::ConstIntParameterPtr timeUnitParameter() const;
67 virtual
IECore::ObjectPtr doConversion(
IECore::ConstCompoundObjectPtr operands ) const;
71 IECore::IntParameterPtr m_angleUnitParameter;
72 IECore::IntParameterPtr m_distanceUnitParameter;
73 IECore::IntParameterPtr m_timeUnitParameter;
75 static Description<FromMayaUnitPlugConverter> m_angleDescription;
76 static Description<FromMayaUnitPlugConverter> m_distanceDescription;
77 static Description<FromMayaUnitPlugConverter> m_timeDescription;
81 typedef FromMayaUnitPlugConverter<
float> FromMayaUnitPlugConverterf;
82 typedef FromMayaUnitPlugConverter<
double> FromMayaUnitPlugConverterd;
86 #endif // IECOREMAYA_FROMMAYAUNITPLUGCONVERTER_H
The IECoreMaya namespace holds all the functionality of libIECoreMaya.
Definition: BoolParameterHandler.h:44
This namespace contains all components of the core library.
Definition: AddSmoothSkinningInfluencesOp.h:43