Cortex  10.0.0-a4
VectorTypedParameter.h
1 //
3 // Copyright (c) 2007-2009, Image Engine Design Inc. All rights reserved.
4 //
5 // Redistribution and use in source and binary forms, with or without
6 // modification, are permitted provided that the following conditions are
7 // met:
8 //
9 // * Redistributions of source code must retain the above copyright
10 // notice, this list of conditions and the following disclaimer.
11 //
12 // * Redistributions in binary form must reproduce the above copyright
13 // notice, this list of conditions and the following disclaimer in the
14 // documentation and/or other materials provided with the distribution.
15 //
16 // * Neither the name of Image Engine Design nor the names of any
17 // other contributors to this software may be used to endorse or
18 // promote products derived from this software without specific prior
19 // written permission.
20 //
21 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
22 // IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
23 // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
24 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
25 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
26 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
27 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
28 // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
29 // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
30 // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 //
34 
35 #ifndef IE_CORE_VECTORTYPEDPARAMETER_H
36 #define IE_CORE_VECTORTYPEDPARAMETER_H
37 
38 #include <vector>
39 
40 #include "IECore/VectorTypedData.h"
41 #include "IECore/TypedParameter.h"
42 
43 namespace IECore
44 {
45 
46 typedef TypedParameter<std::vector<bool> > BoolVectorParameter;
47 typedef TypedParameter<std::vector<int> > IntVectorParameter;
48 typedef TypedParameter<std::vector<float> > FloatVectorParameter;
49 typedef TypedParameter<std::vector<double> > DoubleVectorParameter;
50 typedef TypedParameter<std::vector<std::string> > StringVectorParameter;
51 typedef TypedParameter<std::vector<Imath::V2i> > V2iVectorParameter;
52 typedef TypedParameter<std::vector<Imath::V3i> > V3iVectorParameter;
53 typedef TypedParameter<std::vector<Imath::V2f> > V2fVectorParameter;
54 typedef TypedParameter<std::vector<Imath::V3f> > V3fVectorParameter;
55 typedef TypedParameter<std::vector<Imath::V2d> > V2dVectorParameter;
56 typedef TypedParameter<std::vector<Imath::V3d> > V3dVectorParameter;
57 typedef TypedParameter<std::vector<Imath::Box3f> > Box3fVectorParameter;
58 typedef TypedParameter<std::vector<Imath::Box3d> > Box3dVectorParameter;
59 typedef TypedParameter<std::vector<Imath::M33f> > M33fVectorParameter;
60 typedef TypedParameter<std::vector<Imath::M44f> > M44fVectorParameter;
61 typedef TypedParameter<std::vector<Imath::M33d> > M33dVectorParameter;
62 typedef TypedParameter<std::vector<Imath::M44d> > M44dVectorParameter;
63 typedef TypedParameter<std::vector<Imath::Quatf> > QuatfVectorParameter;
64 typedef TypedParameter<std::vector<Imath::Quatd> > QuatdVectorParameter;
65 typedef TypedParameter<std::vector<Imath::Color3f> > Color3fVectorParameter;
66 typedef TypedParameter<std::vector<Imath::Color4f> > Color4fVectorParameter;
67 
68 IE_CORE_DECLAREPTR( BoolVectorParameter );
69 IE_CORE_DECLAREPTR( IntVectorParameter );
70 IE_CORE_DECLAREPTR( FloatVectorParameter );
71 IE_CORE_DECLAREPTR( DoubleVectorParameter );
72 IE_CORE_DECLAREPTR( StringVectorParameter );
73 IE_CORE_DECLAREPTR( V2iVectorParameter );
74 IE_CORE_DECLAREPTR( V3iVectorParameter );
75 IE_CORE_DECLAREPTR( V2fVectorParameter );
76 IE_CORE_DECLAREPTR( V3fVectorParameter );
77 IE_CORE_DECLAREPTR( V2dVectorParameter );
78 IE_CORE_DECLAREPTR( V3dVectorParameter );
79 IE_CORE_DECLAREPTR( Box3fVectorParameter );
80 IE_CORE_DECLAREPTR( Box3dVectorParameter );
81 IE_CORE_DECLAREPTR( M33fVectorParameter );
82 IE_CORE_DECLAREPTR( M44fVectorParameter );
83 IE_CORE_DECLAREPTR( M33dVectorParameter );
84 IE_CORE_DECLAREPTR( M44dVectorParameter );
85 IE_CORE_DECLAREPTR( QuatfVectorParameter );
86 IE_CORE_DECLAREPTR( QuatdVectorParameter );
87 IE_CORE_DECLAREPTR( Color3fVectorParameter );
88 IE_CORE_DECLAREPTR( Color4fVectorParameter );
89 
90 }
91 
92 #endif // IE_CORE_VECTORTYPEDPARAMETER_H
This namespace contains all components of the core library.
Definition: AddSmoothSkinningInfluencesOp.h:43