added: travMask to csm viewport
[opensg.git] / Source / Base / Field / OSGBaseSFields.h
blob6eb50cecca3b7c212b57ed68e141487d57f40ff8
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 _OSGBASESFIELDS_H_
40 #define _OSGBASESFIELDS_H_
41 #ifdef __sgi
42 #pragma once
43 #endif
45 #include "OSGSField.h"
46 #include "OSGBaseFieldTraits.h"
48 OSG_BEGIN_NAMESPACE
50 #ifndef DOXYGEN_SHOULD_SKIP_THIS
52 /*! \ingroup GrpBaseFieldSingle */
53 typedef SField<Color3f> SFColor3f;
56 /*! \ingroup GrpBaseFieldSingle */
57 typedef SField<Color3fx> SFColor3fx;
60 /*! \ingroup GrpBaseFieldSingle */
61 typedef SField<Color4f> SFColor4f;
64 /*! \ingroup GrpBaseFieldSingle */
65 typedef SField<Color4fx> SFColor4fx;
68 /*! \ingroup GrpBaseFieldSingle */
69 typedef SField<Color3ub> SFColor3ub;
72 /*! \ingroup GrpBaseFieldSingle */
73 typedef SField<Color4ub> SFColor4ub;
76 /*! \ingroup GrpBaseFieldSingle */
77 typedef SField<std::string> SFString;
80 /*! \ingroup GrpBaseFieldSingle */
81 typedef SField<Time, 1> SFTime;
84 /*! \ingroup GrpBaseFieldSingle */
85 typedef SField<BoxVolume> SFBoxVolume;
88 /*! \ingroup GrpBaseFieldSingle */
89 typedef SField<BitVector, 1> SFBitVector;
92 /*! \ingroup GrpBaseFieldSingle */
93 typedef SField<GLenum, 1> SFGLenum;
96 /*! \ingroup GrpBaseFieldSingle */
97 typedef SField<Plane> SFPlane;
99 #else // these are the doxygen hacks
101 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
102 struct SFColor3f : public SField<Color3f> {};
103 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
104 struct SFColor3fx : public SField<Color3fx> {};
105 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
106 struct SFColor4f : public SField<Color4f> {};
107 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
108 struct SFColor4fx : public SField<Color4fx> {};
109 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
110 struct SFColor3ub : public SField<Color3ub> {};
111 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
112 struct SFColor4ub : public SField<Color4ub> {};
113 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
114 struct SFString : public SField<std::string> {};
115 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
116 struct SFTime : public SField<Time, 1> {};
117 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
118 struct SFBoxVolume : public SField<BoxVolume> {};
119 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
120 struct SFBitVector : public SField<BitVector, 1> {};
121 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
122 struct SFGLenum : public SField<GLenum, 1> {};
123 /*! \ingroup GrpBaseFieldSingle \ingroup GrpLibOSGBase */
124 struct SFPlane : public SField<Plane> {};
126 #endif // these are the doxygen hacks
128 OSG_END_NAMESPACE
130 #endif /* _OSGBASESFIELDS_H_ */