Cortex  10.0.0-a4
Public Member Functions | List of all members
IECoreMaya::FromMayaShapeConverter::Description< T > Class Template Reference

#include <FromMayaShapeConverter.h>

Public Member Functions

 Description (MFn::Type fromType, IECore::TypeId resultType, bool defaultConversion)
 

Detailed Description

template<class T>
class IECoreMaya::FromMayaShapeConverter::Description< T >

Creating a static instance of one of these (templated on your Converter type) within your class will register your converter with the factory mechanism.

Constructor & Destructor Documentation

template<class T>
IECoreMaya::FromMayaShapeConverter::Description< T >::Description ( MFn::Type  fromType,
IECore::TypeId  resultType,
bool  defaultConversion 
)
Parameters
fromTypeThe maya type which can be converted.
resultTypeThe cortex type which will result from the conversion.
defaultConversionShould be true if this conversion is the "best" for a given fromType. If this is true then this is the converter that will be used when create() is called without specifying a resultType.

The documentation for this class was generated from the following file: