35 #ifndef IECOREGL_TOGLCONVERTER_H
36 #define IECOREGL_TOGLCONVERTER_H
38 #include "IECoreGL/Export.h"
39 #include "IECoreGL/TypeIds.h"
41 #include "IECore/FromCoreConverter.h"
42 #include "IECore/CompoundObject.h"
47 IE_CORE_FORWARDDECLARE( ToGLConverter )
49 class IECOREGL_API ToGLConverter : public
IECore::FromCoreConverter
68 IECore::RunTimeTypedPtr convert();
73 static ToGLConverterPtr create( IECore::ConstObjectPtr
object,
IECore::TypeId resultType=IECore::RunTimeTypedTypeId );
94 static ToGLConverterPtr creator( IECore::ConstObjectPtr
object );
101 virtual IECore::RunTimeTypedPtr doConversion( IECore::ConstObjectPtr src, IECore::ConstCompoundObjectPtr operands )
const = 0;
105 typedef ToGLConverterPtr (*CreatorFn)( IECore::ConstObjectPtr object );
113 typedef std::multimap<IECore::TypeId, Registration> Registrations;
114 static Registrations ®istrations();
120 #include "IECoreGL/ToGLConverter.inl"
122 #endif // IECOREGL_TOGLCONVERTER_H
Definition: FromCoreConverter.h:48
Definition: ToGLConverter.h:51
The namespace within which all CoreGL functionality is defined.
Definition: AlphaTexture.h:41
TypeId
Definition: TypeIds.h:46
IECore::Object InputType
Definition: ToGLConverter.h:61
Definition: ToGLConverter.h:88
Definition: RunTimeTyped.h:211
This namespace contains all components of the core library.
Definition: AddSmoothSkinningInfluencesOp.h:43