added: travMask to csm viewport
[opensg.git] / Source / Base / Field / OSGBaseMFields.h
blob7b44d47ce02550d667fb29b2cc7055b99b7e9fae
1 /*---------------------------------------------------------------------------*\
2 * OpenSG *
3 * *
4 * *
5 * Copyright (C) 2003 by the OpenSG Forum *
6 * *
7 * www.opensg.org *
8 * *
9 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
10 * *
11 \*---------------------------------------------------------------------------*/
12 /*---------------------------------------------------------------------------*\
13 * License *
14 * *
15 * This library is free software; you can redistribute it and/or modify it *
16 * under the terms of the GNU Library General Public License as published *
17 * by the Free Software Foundation, version 2. *
18 * *
19 * This library is distributed in the hope that it will be useful, but *
20 * WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
22 * Library General Public License for more details. *
23 * *
24 * You should have received a copy of the GNU Library General Public *
25 * License along with this library; if not, write to the Free Software *
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
27 * *
28 \*---------------------------------------------------------------------------*/
29 /*---------------------------------------------------------------------------*\
30 * Changes *
31 * *
32 * *
33 * *
34 * *
35 * *
36 * *
37 \*---------------------------------------------------------------------------*/
39 #ifndef _OSGBASEMFIELDS_H_
40 #define _OSGBASEMFIELDS_H_
41 #ifdef __sgi
42 #pragma once
43 #endif
45 #include "OSGMField.h"
46 #include "OSGBaseFieldTraits.h"
48 OSG_BEGIN_NAMESPACE
50 #ifndef DOXYGEN_SHOULD_SKIP_THIS
52 /*! \ingroup GrpBaseFieldMulti */
53 typedef MField<Color3f> MFColor3f;
56 /*! \ingroup GrpBaseFieldMulti */
57 typedef MField<Color3fx> MFColor3fx;
60 /*! \ingroup GrpBaseFieldMulti */
61 typedef MField<Color4f> MFColor4f;
64 /*! \ingroup GrpBaseFieldMulti */
65 typedef MField<Color4fx> MFColor4fx;
68 /*! \ingroup GrpBaseFieldMulti */
69 typedef MField<Color3ub> MFColor3ub;
72 /*! \ingroup GrpBaseFieldMulti */
73 typedef MField<Color4ub> MFColor4ub;
76 /*! \ingroup GrpBaseFieldMulti */
77 typedef MField<std::string> MFString;
80 /*! \ingroup GrpBaseFieldMulti */
81 typedef MField<Time, 1> MFTime;
84 /*! \ingroup GrpBaseFieldMulti */
85 typedef MField<BoxVolume> MFBoxVolume;
88 /*! \ingroup GrpBaseFieldMulti */
89 typedef MField<BitVector, 1> MFBitVector;
92 /*! \ingroup GrpBaseFieldMulti */
93 typedef MField<GLenum, 1> MFGLenum;
96 /*! \ingroup GrpBaseFieldMulti */
97 typedef MField<Plane> MFPlane;
99 #else // these are the doxygen hacks
101 /*! \ingroup GrpBaseFieldMulti \ingroup GrpLibOSGBase */
102 struct MFColor3f : public MField<Color3f> {};
103 /*! \ingroup GrpBaseFieldMulti \ingroup GrpLibOSGBase */
104 struct MFColor3fx : public MField<Color3fx> {};
105 /*! \ingroup GrpBaseFieldMulti \ingroup GrpLibOSGBase */
106 struct MFColor4f : public MField<Color4f> {};
107 /*! \ingroup GrpBaseFieldMulti \ingroup GrpLibOSGBase */
108 struct MFColor4fx : public MField<Color4fx> {};
109 /*! \ingroup GrpBaseFieldMulti \ingroup GrpLibOSGBase */
110 struct MFColor3ub : public MField<Color3ub> {};
111 /*! \ingroup GrpBaseFieldMulti \ingroup GrpLibOSGBase */
112 struct MFColor4ub : public MField<Color4ub> {};
113 /*! \ingroup GrpBaseFieldMulti \ingroup GrpLibOSGBase */
114 struct MFString : public MField<std::string> {};
115 /*! \ingroup GrpBaseFieldMulti \ingroup GrpLibOSGBase */
116 struct MFTime : public MField<Time, 1> {};
117 /*! \ingroup GrpBaseFieldMulti \ingroup GrpLibOSGBase */
118 struct MFBoxVolume : public MField<BoxVolume> {};
119 /*! \ingroup GrpBaseFieldMulti \ingroup GrpLibOSGBase */
120 struct MFBitVector : public MField<BitVector, 1> {};
121 /*! \ingroup GrpBaseFieldMulti \ingroup GrpLibOSGBase */
122 struct MFGLenum : public MField<GLenum, 1> {};
123 /*! \ingroup GrpBaseFieldMulti \ingroup GrpLibOSGBase */
124 struct MFPlane : public MField<Plane> {};
126 #endif // these are the doxygen hacks
128 OSG_END_NAMESPACE
130 #endif /* _OSGBASEMFIELDS_H_ */