35 #ifndef IE_COREMAYA_FROMMAYAIMAGECONVERTER_H
36 #define IE_COREMAYA_FROMMAYAIMAGECONVERTER_H
41 #include "IECoreMaya/FromMayaConverter.h"
43 #include "IECore/Object.h"
44 #include "IECore/SimpleTypedParameter.h"
46 #include "IECoreImage/ImagePrimitive.h"
48 #include "maya/MImage.h"
54 IE_CORE_FORWARDDECLARE( FromMayaImageConverter );
68 const MImage &
image()
const;
70 IECore::BoolParameterPtr depthParameter();
71 IECore::BoolParameterPtr depthParameter()
const;
75 virtual IECore::ObjectPtr
doConversion( IECore::ConstCompoundObjectPtr operands )
const;
77 IECore::BoolParameterPtr m_depthParameter;
87 void writeChannels( IECoreImage::ImagePrimitivePtr target,
const std::vector< std::string > &channelNames )
const;
89 void writeDepth( IECoreImage::ImagePrimitivePtr target,
const float *depth )
const;
95 #endif // IE_COREMAYA_FROMMAYAIMAGECONVERTER_H
Definition: FromMayaConverter.h:48
const MImage & image() const
The MImage which will be converted by the convert() function.
virtual IECore::ObjectPtr doConversion(IECore::ConstCompoundObjectPtr operands) const
The IECoreMaya namespace holds all the functionality of libIECoreMaya.
Definition: BoolParameterHandler.h:44
Definition: FromMayaImageConverter.h:58