Cortex  10.0.0-a4
ToMayaNumericDataConverter.h
1 //
2 // Copyright (c) 2007-2011, Image Engine Design Inc. All rights reserved.
3 //
4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are
6 // met:
7 //
8 // * Redistributions of source code must retain the above copyright
9 // notice, this list of conditions and the following disclaimer.
10 //
11 // * Redistributions in binary form must reproduce the above copyright
12 // notice, this list of conditions and the following disclaimer in the
13 // documentation and/or other materials provided with the distribution.
14 //
15 // * Neither the name of Image Engine Design nor the names of any
16 // other contributors to this software may be used to endorse or
17 // promote products derived from this software without specific prior
18 // written permission.
19 //
20 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
21 // IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22 // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27 // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28 // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29 // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 //
33 
34 #ifndef IE_COREMAYA_TOMAYANUMERICDATACONVERTER_H
35 #define IE_COREMAYA_TOMAYANUMERICDATACONVERTER_H
36 
37 #include "IECoreMaya/ToMayaObjectConverter.h"
38 
39 #include "IECore/VectorTypedData.h"
40 
41 #include "maya/MString.h"
42 
43 namespace IECoreMaya
44 {
45 
49 {
50 
51  public :
52 
53  ToMayaNumericDataConverter( IECore::ConstObjectPtr object );
54 
55  protected :
56 
57  virtual bool doConversion( IECore::ConstObjectPtr from, MObject &to, IECore::ConstCompoundObjectPtr operands ) const;
58 
59  private :
60 
69 };
70 
71 IE_CORE_DECLAREPTR( ToMayaNumericDataConverter );
72 
73 } // namespace IECoreMaya
74 
75 #endif // IE_COREMAYA_TOMAYANUMERICDATACONVERTER_H
Definition: ToMayaObjectConverter.h:52
virtual bool doConversion(IECore::ConstObjectPtr from, MObject &to, IECore::ConstCompoundObjectPtr operands) const
Definition: ToMayaNumericDataConverter.h:48
The IECoreMaya namespace holds all the functionality of libIECoreMaya.
Definition: BoolParameterHandler.h:44