fixed: auto_ptr -> unique_ptr
[opensg.git] / Source / System / State / Shader / SHL / OSGSimpleSHLFunctions.h
blob32226a63216e693a14638f29b606e4bb8b86a7d7
1 /*---------------------------------------------------------------------------*\
2 * OpenSG *
3 * *
4 * *
5 * Copyright (C) 2000-2002 by the OpenSG Forum *
6 * *
7 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
8 * *
9 \*---------------------------------------------------------------------------*/
10 /*---------------------------------------------------------------------------*\
11 * License *
12 * *
13 * This library is free software; you can redistribute it and/or modify it *
14 * under the terms of the GNU Library General Public License as published *
15 * by the Free Software Foundation, version 2. *
16 * *
17 * This library is distributed in the hope that it will be useful, but *
18 * WITHOUT ANY WARRANTY; without even the implied warranty of *
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
20 * Library General Public License for more details. *
21 * *
22 * You should have received a copy of the GNU Library General Public *
23 * License along with this library; if not, write to the Free Software *
24 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
25 * *
26 \*---------------------------------------------------------------------------*/
27 /*---------------------------------------------------------------------------*\
28 * Changes *
29 * *
30 * *
31 * *
32 * *
33 * *
34 * *
35 \*---------------------------------------------------------------------------*/
37 #ifndef _OSGSHLFUNCTIONS_H_
38 #define _OSGSHLFUNCTIONS_H_
39 #ifdef __sgi
40 #pragma once
41 #endif
43 #include "OSGSimpleSHLChunk.h"
46 OSG_BEGIN_NAMESPACE
48 /*! \ingroup GrpSystemShaderSHLFuncs
50 OSG_SYSTEM_DLLMAPPING
51 std::string generate1DConvolutionFilterFPString(Real32 fBlurWidth,
52 bool vertical,
53 bool tex2D,
54 Int32 imgWidth,
55 Int32 imgHeight);
57 OSG_SYSTEM_DLLMAPPING
58 SimpleSHLChunkTransitPtr generate1DConvolutionFilterFP(Real32 fBlurWidth,
59 bool vertical,
60 bool tex2D,
61 Int32 imgWidth,
62 Int32 imgHeight);
64 /*! \ingroup GrpSystemShaderSHLFuncs
66 OSG_SYSTEM_DLLMAPPING
67 SimpleSHLChunkTransitPtr generate2DShrinkHalfFilterFP(UInt32 uiTexCoord = 0);
69 OSG_END_NAMESPACE
71 #endif /* _OSGSHLFUNCTIONS_H_ */