From 6778bc3981e37ab1121fb6fccef6937af79f74c5 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 19 Jul 2005 20:40:29 +0000 Subject: [PATCH] Added wrapper projects and updates of autogenerated wrappers. --- .../osgWrappers/osgDB/wrapper_osgDB.dsp | 173 +++++++++++++ .../osgWrappers/osgFX/wrapper_osgFX.dsp | 149 +++++++++++ .../osgWrappers/osgGA/wrapper_osgGA.dsp | 173 +++++++++++++ .../wrapper_osgIntrospection.dsp | 173 +++++++++++++ .../osgParticle/wrapper_osgParticle.dsp | 241 ++++++++++++++++++ .../osgProducer/wrapper_osgProducer.dsp | 133 ++++++++++ .../osgWrappers/osgSim/wrapper_osgSim.dsp | 173 +++++++++++++ .../osgTerrain/wrapper_osgTerrain.dsp | 121 +++++++++ .../osgWrappers/osgText/wrapper_osgText.dsp | 133 ++++++++++ .../osgWrappers/osgUtil/wrapper_osgUtil.dsp | 213 ++++++++++++++++ src/osgWrappers/osg/CameraNode.cpp | 25 +- src/osgWrappers/osg/FrameBufferObject.cpp | 2 + src/osgWrappers/osg/FrontFace.cpp | 2 +- .../osgIntrospection/Attributes.cpp | 132 ++++++++++ .../osgIntrospection/Comparator.cpp | 28 ++ .../osgIntrospection/ConstructorInfo.cpp | 33 +++ .../osgIntrospection/Converter.cpp | 38 +++ .../osgIntrospection/ConverterProxy.cpp | 27 ++ .../osgIntrospection/CustomAttribute.cpp | 25 ++ .../CustomAttributeProvider.cpp | 41 +++ .../osgIntrospection/Exceptions.cpp | 136 ++++++++++ src/osgWrappers/osgIntrospection/GNUmakefile | 30 +++ .../osgIntrospection/MethodInfo.cpp | 45 ++++ .../osgIntrospection/ParameterInfo.cpp | 45 ++++ .../osgIntrospection/PropertyInfo.cpp | 72 ++++++ .../osgIntrospection/ReaderWriter.cpp | 37 +++ .../osgIntrospection/Reflection.cpp | 33 +++ .../osgIntrospection/Reflector.cpp | 139 ++++++++++ src/osgWrappers/osgIntrospection/Type.cpp | 100 ++++++++ src/osgWrappers/osgIntrospection/Value.cpp | 44 ++++ src/osgWrappers/osgUtil/RenderStage.cpp | 6 + .../osgUtil/RenderStageLighting.cpp | 2 +- 32 files changed, 2716 insertions(+), 8 deletions(-) create mode 100644 VisualStudio/osgWrappers/osgDB/wrapper_osgDB.dsp create mode 100644 VisualStudio/osgWrappers/osgFX/wrapper_osgFX.dsp create mode 100644 VisualStudio/osgWrappers/osgGA/wrapper_osgGA.dsp create mode 100644 VisualStudio/osgWrappers/osgIntrospection/wrapper_osgIntrospection.dsp create mode 100644 VisualStudio/osgWrappers/osgParticle/wrapper_osgParticle.dsp create mode 100644 VisualStudio/osgWrappers/osgProducer/wrapper_osgProducer.dsp create mode 100644 VisualStudio/osgWrappers/osgSim/wrapper_osgSim.dsp create mode 100644 VisualStudio/osgWrappers/osgTerrain/wrapper_osgTerrain.dsp create mode 100644 VisualStudio/osgWrappers/osgText/wrapper_osgText.dsp create mode 100644 VisualStudio/osgWrappers/osgUtil/wrapper_osgUtil.dsp create mode 100644 src/osgWrappers/osgIntrospection/Attributes.cpp create mode 100644 src/osgWrappers/osgIntrospection/Comparator.cpp create mode 100644 src/osgWrappers/osgIntrospection/ConstructorInfo.cpp create mode 100644 src/osgWrappers/osgIntrospection/Converter.cpp create mode 100644 src/osgWrappers/osgIntrospection/ConverterProxy.cpp create mode 100644 src/osgWrappers/osgIntrospection/CustomAttribute.cpp create mode 100644 src/osgWrappers/osgIntrospection/CustomAttributeProvider.cpp create mode 100644 src/osgWrappers/osgIntrospection/Exceptions.cpp create mode 100644 src/osgWrappers/osgIntrospection/GNUmakefile create mode 100644 src/osgWrappers/osgIntrospection/MethodInfo.cpp create mode 100644 src/osgWrappers/osgIntrospection/ParameterInfo.cpp create mode 100644 src/osgWrappers/osgIntrospection/PropertyInfo.cpp create mode 100644 src/osgWrappers/osgIntrospection/ReaderWriter.cpp create mode 100644 src/osgWrappers/osgIntrospection/Reflection.cpp create mode 100644 src/osgWrappers/osgIntrospection/Reflector.cpp create mode 100644 src/osgWrappers/osgIntrospection/Type.cpp create mode 100644 src/osgWrappers/osgIntrospection/Value.cpp diff --git a/VisualStudio/osgWrappers/osgDB/wrapper_osgDB.dsp b/VisualStudio/osgWrappers/osgDB/wrapper_osgDB.dsp new file mode 100644 index 000000000..8c1e59d0a --- /dev/null +++ b/VisualStudio/osgWrappers/osgDB/wrapper_osgDB.dsp @@ -0,0 +1,173 @@ +# Microsoft Developer Studio Project File - Name="osgWrapper osgDB" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=osgWrapper osgDB - Win32 Release +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgDB.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgDB.mak" CFG="osgWrapper osgDB - Win32 Release" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "osgWrapper osgDB - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "osgWrapper osgDB - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "osgWrapper osgDB - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 opengl32.lib OpenThreadsWin32.lib /nologo /dll /pdb:none /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgDB.dll" /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /nodefaultlib + +!ELSEIF "$(CFG)" == "osgWrapper osgDB - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /vmg /GR /GX /Zi /Od /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WIN32" /D "_DEBUG" /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 opengl32.lib OpenThreadsWin32d.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgDBd.dll" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /pdb:none /nodefaultlib + +!ENDIF + +# Begin Target + +# Name "osgWrapper osgDB - Win32 Release" +# Name "osgWrapper osgDB - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgDB\Archive.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgDB\DatabasePager.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgDB\DotOsgWrapper.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgDB\DynamicLibrary.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgDB\Field.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgDB\FieldReader.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgDB\FieldReaderIterator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgDB\FileUtils.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgDB\ImageOptions.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgDB\Input.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgDB\Output.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgDB\ParameterOutput.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgDB\ReaderWriter.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgDB\ReentrantMutex.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgDB\Registry.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgDB\SharedStateManager.cpp +# End Source File + +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project + diff --git a/VisualStudio/osgWrappers/osgFX/wrapper_osgFX.dsp b/VisualStudio/osgWrappers/osgFX/wrapper_osgFX.dsp new file mode 100644 index 000000000..4c18bad2b --- /dev/null +++ b/VisualStudio/osgWrappers/osgFX/wrapper_osgFX.dsp @@ -0,0 +1,149 @@ +# Microsoft Developer Studio Project File - Name="osgWrapper osgFX" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=osgWrapper osgFX - Win32 Release +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgFX.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgFX.mak" CFG="osgWrapper osgFX - Win32 Release" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "osgWrapper osgFX - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "osgWrapper osgFX - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "osgWrapper osgFX - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 opengl32.lib OpenThreadsWin32.lib /nologo /dll /pdb:none /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgFX.dll" /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /nodefaultlib + +!ELSEIF "$(CFG)" == "osgWrapper osgFX - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /vmg /GR /GX /Zi /Od /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WIN32" /D "_DEBUG" /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 opengl32.lib OpenThreadsWin32d.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgFXd.dll" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /pdb:none /nodefaultlib + +!ENDIF + +# Begin Target + +# Name "osgWrapper osgFX - Win32 Release" +# Name "osgWrapper osgFX - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgFX\AnisotropicLighting.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgFX\BumpMapping.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgFX\Cartoon.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgFX\Effect.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgFX\MultiTextureControl.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgFX\Registry.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgFX\Scribe.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgFX\SpecularHighlights.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgFX\Technique.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgFX\Validator.cpp +# End Source File + +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project + diff --git a/VisualStudio/osgWrappers/osgGA/wrapper_osgGA.dsp b/VisualStudio/osgWrappers/osgGA/wrapper_osgGA.dsp new file mode 100644 index 000000000..805c692ad --- /dev/null +++ b/VisualStudio/osgWrappers/osgGA/wrapper_osgGA.dsp @@ -0,0 +1,173 @@ +# Microsoft Developer Studio Project File - Name="osgWrapper osgGA" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=osgWrapper osgGA - Win32 Release +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgGA.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgGA.mak" CFG="osgWrapper osgGA - Win32 Release" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "osgWrapper osgGA - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "osgWrapper osgGA - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "osgWrapper osgGA - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 opengl32.lib OpenThreadsWin32.lib /nologo /dll /pdb:none /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgGA.dll" /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /nodefaultlib + +!ELSEIF "$(CFG)" == "osgWrapper osgGA - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /vmg /GR /GX /Zi /Od /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WIN32" /D "_DEBUG" /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 opengl32.lib OpenThreadsWin32d.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgGAd.dll" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /pdb:none /nodefaultlib + +!ENDIF + +# Begin Target + +# Name "osgWrapper osgGA - Win32 Release" +# Name "osgWrapper osgGA - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgGA\AnimationPathManipulator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgGA\DriveManipulator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgGA\EventVisitor.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgGA\FlightManipulator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgGA\GUIActionAdapter.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgGA\GUIEventAdapter.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgGA\GUIEventHandler.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgGA\GUIEventHandlerVisitor.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgGA\KeySwitchMatrixManipulator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgGA\MatrixManipulator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgGA\NodeTrackerManipulator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgGA\SetSceneViewVisitor.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgGA\StateSetManipulator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgGA\TerrainManipulator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgGA\TrackballManipulator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgGA\UFOManipulator.cpp +# End Source File + +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project + diff --git a/VisualStudio/osgWrappers/osgIntrospection/wrapper_osgIntrospection.dsp b/VisualStudio/osgWrappers/osgIntrospection/wrapper_osgIntrospection.dsp new file mode 100644 index 000000000..c91747e75 --- /dev/null +++ b/VisualStudio/osgWrappers/osgIntrospection/wrapper_osgIntrospection.dsp @@ -0,0 +1,173 @@ +# Microsoft Developer Studio Project File - Name="osgWrapper osgIntrospection" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=osgWrapper osgIntrospection - Win32 Release +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgIntrospection.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgIntrospection.mak" CFG="osgWrapper osgIntrospection - Win32 Release" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "osgWrapper osgIntrospection - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "osgWrapper osgIntrospection - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "osgWrapper osgIntrospection - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 opengl32.lib OpenThreadsWin32.lib /nologo /dll /pdb:none /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgIntrospection.dll" /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /nodefaultlib + +!ELSEIF "$(CFG)" == "osgWrapper osgIntrospection - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /vmg /GR /GX /Zi /Od /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WIN32" /D "_DEBUG" /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 opengl32.lib OpenThreadsWin32d.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgIntrospectiond.dll" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /pdb:none /nodefaultlib + +!ENDIF + +# Begin Target + +# Name "osgWrapper osgIntrospection - Win32 Release" +# Name "osgWrapper osgIntrospection - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgIntrospection\Attributes.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgIntrospection\Comparator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgIntrospection\ConstructorInfo.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgIntrospection\Converter.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgIntrospection\ConverterProxy.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgIntrospection\CustomAttribute.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgIntrospection\CustomAttributeProvider.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgIntrospection\Exceptions.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgIntrospection\MethodInfo.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgIntrospection\ParameterInfo.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgIntrospection\PropertyInfo.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgIntrospection\ReaderWriter.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgIntrospection\Reflection.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgIntrospection\Reflector.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgIntrospection\Type.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgIntrospection\Value.cpp +# End Source File + +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project + diff --git a/VisualStudio/osgWrappers/osgParticle/wrapper_osgParticle.dsp b/VisualStudio/osgWrappers/osgParticle/wrapper_osgParticle.dsp new file mode 100644 index 000000000..ac328065d --- /dev/null +++ b/VisualStudio/osgWrappers/osgParticle/wrapper_osgParticle.dsp @@ -0,0 +1,241 @@ +# Microsoft Developer Studio Project File - Name="osgWrapper osgParticle" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=osgWrapper osgParticle - Win32 Release +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgParticle.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgParticle.mak" CFG="osgWrapper osgParticle - Win32 Release" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "osgWrapper osgParticle - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "osgWrapper osgParticle - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "osgWrapper osgParticle - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 opengl32.lib OpenThreadsWin32.lib /nologo /dll /pdb:none /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgParticle.dll" /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /nodefaultlib + +!ELSEIF "$(CFG)" == "osgWrapper osgParticle - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /vmg /GR /GX /Zi /Od /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WIN32" /D "_DEBUG" /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 opengl32.lib OpenThreadsWin32d.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgParticled.dll" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /pdb:none /nodefaultlib + +!ENDIF + +# Begin Target + +# Name "osgWrapper osgParticle - Win32 Release" +# Name "osgWrapper osgParticle - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\AccelOperator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\AngularAccelOperator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\CenteredPlacer.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\Counter.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\Emitter.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\ExplosionDebrisEffect.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\ExplosionEffect.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\FireEffect.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\FluidFrictionOperator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\FluidProgram.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\ForceOperator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\Interpolator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\LinearInterpolator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\ModularEmitter.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\ModularProgram.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\MultiSegmentPlacer.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\Operator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\Particle.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\ParticleEffect.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\ParticleProcessor.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\ParticleSystem.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\ParticleSystemUpdater.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\Placer.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\PointPlacer.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\Program.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\RadialShooter.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\RandomRateCounter.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\SectorPlacer.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\SegmentPlacer.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\Shooter.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\SmokeEffect.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\VariableRateCounter.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgParticle\range.cpp +# End Source File + +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project + diff --git a/VisualStudio/osgWrappers/osgProducer/wrapper_osgProducer.dsp b/VisualStudio/osgWrappers/osgProducer/wrapper_osgProducer.dsp new file mode 100644 index 000000000..48f6c039a --- /dev/null +++ b/VisualStudio/osgWrappers/osgProducer/wrapper_osgProducer.dsp @@ -0,0 +1,133 @@ +# Microsoft Developer Studio Project File - Name="osgWrapper osgProducer" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=osgWrapper osgProducer - Win32 Release +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgProducer.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgProducer.mak" CFG="osgWrapper osgProducer - Win32 Release" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "osgWrapper osgProducer - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "osgWrapper osgProducer - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "osgWrapper osgProducer - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 opengl32.lib OpenThreadsWin32.lib Producer.lib /nologo /dll /pdb:none /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgProducer.dll" /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /nodefaultlib + +!ELSEIF "$(CFG)" == "osgWrapper osgProducer - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /vmg /GR /GX /Zi /Od /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WIN32" /D "_DEBUG" /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 opengl32.lib OpenThreadsWin32d.lib Producerd.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgProducerd.dll" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /pdb:none /nodefaultlib + +!ENDIF + +# Begin Target + +# Name "osgWrapper osgProducer - Win32 Release" +# Name "osgWrapper osgProducer - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgProducer\EventAdapter.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgProducer\KeyboardMouseCallback.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgProducer\OsgCameraGroup.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgProducer\OsgSceneHandler.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgProducer\Viewer.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgProducer\ViewerEventHandler.cpp +# End Source File + +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project + diff --git a/VisualStudio/osgWrappers/osgSim/wrapper_osgSim.dsp b/VisualStudio/osgWrappers/osgSim/wrapper_osgSim.dsp new file mode 100644 index 000000000..3c11ba1dc --- /dev/null +++ b/VisualStudio/osgWrappers/osgSim/wrapper_osgSim.dsp @@ -0,0 +1,173 @@ +# Microsoft Developer Studio Project File - Name="osgWrapper osgSim" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=osgWrapper osgSim - Win32 Release +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgSim.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgSim.mak" CFG="osgWrapper osgSim - Win32 Release" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "osgWrapper osgSim - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "osgWrapper osgSim - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "osgWrapper osgSim - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 opengl32.lib OpenThreadsWin32.lib /nologo /dll /pdb:none /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgSim.dll" /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /nodefaultlib + +!ELSEIF "$(CFG)" == "osgWrapper osgSim - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /vmg /GR /GX /Zi /Od /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WIN32" /D "_DEBUG" /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 opengl32.lib OpenThreadsWin32d.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgSimd.dll" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /pdb:none /nodefaultlib + +!ENDIF + +# Begin Target + +# Name "osgWrapper osgSim - Win32 Release" +# Name "osgWrapper osgSim - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgSim\BlinkSequence.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgSim\ColorRange.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgSim\DOFTransform.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgSim\GeographicLocation.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgSim\Impostor.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgSim\ImpostorSprite.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgSim\InsertImpostorsVisitor.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgSim\LightPoint.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgSim\LightPointNode.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgSim\LightPointSystem.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgSim\MultiSwitch.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgSim\ScalarBar.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgSim\ScalarsToColors.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgSim\Sector.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgSim\SphereSegment.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgSim\VisibilityGroup.cpp +# End Source File + +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project + diff --git a/VisualStudio/osgWrappers/osgTerrain/wrapper_osgTerrain.dsp b/VisualStudio/osgWrappers/osgTerrain/wrapper_osgTerrain.dsp new file mode 100644 index 000000000..df0d52cfa --- /dev/null +++ b/VisualStudio/osgWrappers/osgTerrain/wrapper_osgTerrain.dsp @@ -0,0 +1,121 @@ +# Microsoft Developer Studio Project File - Name="osgWrapper osgTerrain" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=osgWrapper osgTerrain - Win32 Release +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgTerrain.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgTerrain.mak" CFG="osgWrapper osgTerrain - Win32 Release" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "osgWrapper osgTerrain - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "osgWrapper osgTerrain - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "osgWrapper osgTerrain - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 opengl32.lib OpenThreadsWin32.lib /nologo /dll /pdb:none /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgTerrain.dll" /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /nodefaultlib + +!ELSEIF "$(CFG)" == "osgWrapper osgTerrain - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /vmg /GR /GX /Zi /Od /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WIN32" /D "_DEBUG" /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 opengl32.lib OpenThreadsWin32d.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgTerraind.dll" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /pdb:none /nodefaultlib + +!ENDIF + +# Begin Target + +# Name "osgWrapper osgTerrain - Win32 Release" +# Name "osgWrapper osgTerrain - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgTerrain\DataSet.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgTerrain\HeightFieldNode.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgTerrain\HeightFieldRenderer.cpp +# End Source File + +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project + diff --git a/VisualStudio/osgWrappers/osgText/wrapper_osgText.dsp b/VisualStudio/osgWrappers/osgText/wrapper_osgText.dsp new file mode 100644 index 000000000..1e49a4cb2 --- /dev/null +++ b/VisualStudio/osgWrappers/osgText/wrapper_osgText.dsp @@ -0,0 +1,133 @@ +# Microsoft Developer Studio Project File - Name="osgWrapper osgText" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=osgWrapper osgText - Win32 Release +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgText.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgText.mak" CFG="osgWrapper osgText - Win32 Release" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "osgWrapper osgText - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "osgWrapper osgText - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "osgWrapper osgText - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 opengl32.lib OpenThreadsWin32.lib /nologo /dll /pdb:none /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgText.dll" /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /nodefaultlib + +!ELSEIF "$(CFG)" == "osgWrapper osgText - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /vmg /GR /GX /Zi /Od /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WIN32" /D "_DEBUG" /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 opengl32.lib OpenThreadsWin32d.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgTextd.dll" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /pdb:none /nodefaultlib + +!ENDIF + +# Begin Target + +# Name "osgWrapper osgText - Win32 Release" +# Name "osgWrapper osgText - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgText\Export.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgText\Font.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgText\String.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgText\Text.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgText\Text.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgText\Text.cpp +# End Source File + +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project + diff --git a/VisualStudio/osgWrappers/osgUtil/wrapper_osgUtil.dsp b/VisualStudio/osgWrappers/osgUtil/wrapper_osgUtil.dsp new file mode 100644 index 000000000..f80102003 --- /dev/null +++ b/VisualStudio/osgWrappers/osgUtil/wrapper_osgUtil.dsp @@ -0,0 +1,213 @@ +# Microsoft Developer Studio Project File - Name="osgWrapper osgUtil" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=osgWrapper osgUtil - Win32 Release +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgUtil.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "wrapper_osgUtil.mak" CFG="osgWrapper osgUtil - Win32 Release" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "osgWrapper osgUtil - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "osgWrapper osgUtil - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "osgWrapper osgUtil - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 opengl32.lib OpenThreadsWin32.lib /nologo /dll /pdb:none /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgUtil.dll" /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /nodefaultlib + +!ELSEIF "$(CFG)" == "osgWrapper osgUtil - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../../../lib" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /vmg /GR /GX /Zi /Od /I "../../../include" /I "../../../../OpenThreads/include" /I "../../../../Producer/include" /I "../../../../3rdParty/include" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WIN32" /D "_DEBUG" /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 opengl32.lib OpenThreadsWin32d.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"LIBC" /out:"../../../bin/osgwrapper_osgUtild.dll" /pdbtype:sept /libpath:"../../../lib" /libpath:"../../../../OpenThreads/lib/win32" /libpath:"../../../../Producer/lib" /libpath:"../../../../3rdParty/lib" +# SUBTRACT LINK32 /pdb:none /nodefaultlib + +!ENDIF + +# Begin Target + +# Name "osgWrapper osgUtil - Win32 Release" +# Name "osgWrapper osgUtil - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\CubeMapGenerator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\CullVisitor.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\DelaunayTriangulator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\DisplayRequirementsVisitor.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\GLObjectsVisitor.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\HalfWayMapGenerator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\HighlightMapGenerator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\IntersectVisitor.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\Optimizer.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\ReflectionMapGenerator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\RenderBin.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\RenderGraph.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\RenderLeaf.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\RenderStage.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\RenderStageLighting.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\RenderToTextureStage.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\SceneView.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\Simplifier.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\SmoothingVisitor.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\Statistics.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\TangentSpaceGenerator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\Tesselator.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\TransformAttributeFunctor.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\TransformCallback.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\TriStripVisitor.cpp +# End Source File + +# Begin Source File +SOURCE=..\..\..\src\osgWrappers\osgUtil\UpdateVisitor.cpp +# End Source File + +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project + diff --git a/src/osgWrappers/osg/CameraNode.cpp b/src/osgWrappers/osg/CameraNode.cpp index 72bc54e07..066558393 100644 --- a/src/osgWrappers/osg/CameraNode.cpp +++ b/src/osgWrappers/osg/CameraNode.cpp @@ -10,6 +10,7 @@ #include #include +#include #include #include #include @@ -52,9 +53,17 @@ BEGIN_ENUM_REFLECTOR(osg::CameraNode::RenderTargetImplementation) END_REFLECTOR BEGIN_ENUM_REFLECTOR(osg::CameraNode::BufferComponent) - I_EnumLabel(osg::CameraNode::COLOR_BUFFER); I_EnumLabel(osg::CameraNode::DEPTH_BUFFER); I_EnumLabel(osg::CameraNode::STENCIL_BUFFER); + I_EnumLabel(osg::CameraNode::COLOR_BUFFER); + I_EnumLabel(osg::CameraNode::COLOR_BUFFER0); + I_EnumLabel(osg::CameraNode::COLOR_BUFFER1); + I_EnumLabel(osg::CameraNode::COLOR_BUFFER2); + I_EnumLabel(osg::CameraNode::COLOR_BUFFER3); + I_EnumLabel(osg::CameraNode::COLOR_BUFFER4); + I_EnumLabel(osg::CameraNode::COLOR_BUFFER5); + I_EnumLabel(osg::CameraNode::COLOR_BUFFER6); + I_EnumLabel(osg::CameraNode::COLOR_BUFFER7); END_REFLECTOR BEGIN_OBJECT_REFLECTOR(osg::CameraNode) @@ -68,11 +77,18 @@ BEGIN_OBJECT_REFLECTOR(osg::CameraNode) I_Method0(const char *, className); I_Method0(const char *, libraryName); I_Method1(void, accept, IN, osg::NodeVisitor &, nv); + I_Method1(void, setClearColor, IN, const osg::Vec4 &, color); + I_Method0(const osg::Vec4 &, getClearColor); + I_Method1(void, setClearMask, IN, GLbitfield, mask); + I_Method0(GLbitfield, getClearMask); + I_Method1(void, setColorMask, IN, osg::ColorMask *, colorMask); + I_Method4(void, setColorMask, IN, bool, red, IN, bool, green, IN, bool, blue, IN, bool, alpha); + I_Method0(const osg::ColorMask *, getColorMask); + I_Method0(osg::ColorMask *, getColorMask); I_Method1(void, setViewport, IN, osg::Viewport *, viewport); I_Method4(void, setViewport, IN, int, x, IN, int, y, IN, int, width, IN, int, height); I_Method0(const osg::Viewport *, getViewport); I_Method0(osg::Viewport *, getViewport); - I_Method4(void, getViewport, IN, int &, x, IN, int &, y, IN, int &, width, IN, int &, height); I_Method1(void, setTransformOrder, IN, osg::CameraNode::TransformOrder, order); I_Method0(osg::CameraNode::TransformOrder, getTransformOrder); I_Method1(void, setProjectionMatrix, IN, const osg::Matrixf &, matrix); @@ -93,10 +109,6 @@ BEGIN_OBJECT_REFLECTOR(osg::CameraNode) I_Method0(const osg::Matrixd &, getViewMatrix); I_MethodWithDefaults4(void, getViewMatrixAsLookAt, IN, osg::Vec3 &, eye, , IN, osg::Vec3 &, center, , IN, osg::Vec3 &, up, , IN, float, lookDistance, 1.0f); I_Method0(osg::Matrixd, getInverseViewMatrix); - I_Method1(void, setClearColor, IN, const osg::Vec4 &, color); - I_Method0(const osg::Vec4 &, getClearColor); - I_Method1(void, setClearMask, IN, GLbitfield, mask); - I_Method0(GLbitfield, getClearMask); I_Method1(void, setRenderOrder, IN, osg::CameraNode::RenderOrder, order); I_Method0(osg::CameraNode::RenderOrder, getRenderOrder); I_Method1(void, setRenderTargetImplmentation, IN, osg::CameraNode::RenderTargetImplementation, impl); @@ -121,6 +133,7 @@ BEGIN_OBJECT_REFLECTOR(osg::CameraNode) I_ReadOnlyProperty(osg::CameraNode::BufferAttachmentMap &, BufferAttachmentMap); I_Property(const osg::Vec4 &, ClearColor); I_Property(GLbitfield, ClearMask); + I_Property(osg::ColorMask *, ColorMask); I_IndexedProperty1(GLenum, DrawBuffer, unsigned int, pos); I_ReadOnlyProperty(osg::CameraNode::DrawBufferList &, DrawBufferList); I_ReadOnlyProperty(osg::Matrixd, InverseViewMatrix); diff --git a/src/osgWrappers/osg/FrameBufferObject.cpp b/src/osgWrappers/osg/FrameBufferObject.cpp index 9f3b661ad..c278c446c 100644 --- a/src/osgWrappers/osg/FrameBufferObject.cpp +++ b/src/osgWrappers/osg/FrameBufferObject.cpp @@ -9,6 +9,7 @@ #include #include +#include #include #include #include @@ -63,6 +64,7 @@ BEGIN_VALUE_REFLECTOR(osg::FrameBufferAttachment) I_ConstructorWithDefaults3(IN, osg::Texture3D *, target, , IN, int, zoffset, , IN, int, level, 0); I_ConstructorWithDefaults3(IN, osg::TextureCubeMap *, target, , IN, int, face, , IN, int, level, 0); I_Constructor1(IN, osg::TextureRectangle *, target); + I_Constructor1(IN, osg::CameraNode::Attachment &, attachment); I_Method3(void, attach, IN, osg::State &, state, IN, GLenum, attachment_point, IN, const osg::FBOExtensions *, ext); I_Method1(int, compare, IN, const osg::FrameBufferAttachment &, fa); END_REFLECTOR diff --git a/src/osgWrappers/osg/FrontFace.cpp b/src/osgWrappers/osg/FrontFace.cpp index 86a7f98d1..256f925ba 100644 --- a/src/osgWrappers/osg/FrontFace.cpp +++ b/src/osgWrappers/osg/FrontFace.cpp @@ -30,7 +30,7 @@ END_REFLECTOR BEGIN_OBJECT_REFLECTOR(osg::FrontFace) I_BaseType(osg::StateAttribute); - I_Constructor0(); + I_ConstructorWithDefaults1(IN, osg::FrontFace::Mode, face, osg::FrontFace::COUNTER_CLOCKWISE); I_ConstructorWithDefaults2(IN, const osg::FrontFace &, ff, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY); I_Method0(osg::Object *, cloneType); I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop); diff --git a/src/osgWrappers/osgIntrospection/Attributes.cpp b/src/osgWrappers/osgIntrospection/Attributes.cpp new file mode 100644 index 000000000..106658bd6 --- /dev/null +++ b/src/osgWrappers/osgIntrospection/Attributes.cpp @@ -0,0 +1,132 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include + +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::CustomIndexAttribute) + I_BaseType(osgIntrospection::CustomAttribute); + I_Constructor1(IN, const osgIntrospection::IndexInfo *, ii); + I_Method0(const osgIntrospection::IndexInfo *, getIndexInfo); + I_ReadOnlyProperty(const osgIntrospection::IndexInfo *, IndexInfo); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::CustomPropertyAddAttribute) + I_BaseType(osgIntrospection::CustomAttribute); + I_Constructor1(IN, const osgIntrospection::PropertyAdder *, adder); + I_Method0(const osgIntrospection::PropertyAdder *, getAdder); + I_ReadOnlyProperty(const osgIntrospection::PropertyAdder *, Adder); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::CustomPropertyCountAttribute) + I_BaseType(osgIntrospection::CustomAttribute); + I_Constructor1(IN, const osgIntrospection::PropertyCounter *, counter); + I_Method0(const osgIntrospection::PropertyCounter *, getCounter); + I_ReadOnlyProperty(const osgIntrospection::PropertyCounter *, Counter); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::CustomPropertyGetAttribute) + I_BaseType(osgIntrospection::CustomAttribute); + I_Constructor1(IN, const osgIntrospection::PropertyGetter *, getter); + I_Method0(const osgIntrospection::PropertyGetter *, getGetter); + I_ReadOnlyProperty(const osgIntrospection::PropertyGetter *, Getter); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::CustomPropertyRemoveAttribute) + I_BaseType(osgIntrospection::CustomAttribute); + I_Constructor1(IN, const osgIntrospection::PropertyRemover *, remover); + I_Method0(const osgIntrospection::PropertyRemover *, getRemover); + I_ReadOnlyProperty(const osgIntrospection::PropertyRemover *, Remover); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::CustomPropertySetAttribute) + I_BaseType(osgIntrospection::CustomAttribute); + I_Constructor1(IN, const osgIntrospection::PropertySetter *, setter); + I_Method0(const osgIntrospection::PropertySetter *, getSetter); + I_ReadOnlyProperty(const osgIntrospection::PropertySetter *, Setter); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::DefaultValueAttribute) + I_BaseType(osgIntrospection::CustomAttribute); + I_Constructor1(IN, const osgIntrospection::Value &, v); + I_Method0(const osgIntrospection::Value &, getDefaultValue); + I_ReadOnlyProperty(const osgIntrospection::Value &, DefaultValue); +END_REFLECTOR + +BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgIntrospection::IndexInfo) + I_Constructor0(); + I_Method0(const osgIntrospection::ParameterInfoList &, getIndexParameters); + I_Method3(void, getIndexValueSet, IN, int, whichindex, IN, const osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, values); + I_ReadOnlyProperty(const osgIntrospection::ParameterInfoList &, IndexParameters); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::IndexTypeAttribute) + I_BaseType(osgIntrospection::CustomAttribute); + I_Constructor2(IN, int, whichindex, IN, const osgIntrospection::Type &, type); + I_Method0(int, getWhichIndex); + I_Method0(const osgIntrospection::Type &, getIndexType); + I_ReadOnlyProperty(const osgIntrospection::Type &, IndexType); + I_ReadOnlyProperty(int, WhichIndex); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::NoDefaultValueAttribute) + I_BaseType(osgIntrospection::CustomAttribute); + I_Constructor0(); +END_REFLECTOR + +BEGIN_VALUE_REFLECTOR(osgIntrospection::PropertyAdder) + I_Constructor0(); + I_Method2(void, add, IN, osgIntrospection::Value &, x, IN, const osgIntrospection::Value &, x); +END_REFLECTOR + +BEGIN_VALUE_REFLECTOR(osgIntrospection::PropertyCounter) + I_Constructor0(); + I_Method1(int, count, IN, const osgIntrospection::Value &, x); +END_REFLECTOR + +BEGIN_VALUE_REFLECTOR(osgIntrospection::PropertyGetter) + I_Constructor0(); + I_Method2(osgIntrospection::Value, get, IN, osgIntrospection::Value &, x, IN, const osgIntrospection::ValueList &, x); + I_Method1(osgIntrospection::Value, get, IN, osgIntrospection::Value &, x); + I_Method2(osgIntrospection::Value, get, IN, osgIntrospection::Value &, x, IN, int, x); + I_Method2(osgIntrospection::Value, get, IN, const osgIntrospection::Value &, x, IN, const osgIntrospection::ValueList &, x); + I_Method1(osgIntrospection::Value, get, IN, const osgIntrospection::Value &, x); + I_Method2(osgIntrospection::Value, get, IN, const osgIntrospection::Value &, x, IN, int, x); +END_REFLECTOR + +BEGIN_VALUE_REFLECTOR(osgIntrospection::PropertyRemover) + I_Constructor0(); + I_Method2(void, remove, IN, osgIntrospection::Value &, x, IN, int, x); +END_REFLECTOR + +BEGIN_VALUE_REFLECTOR(osgIntrospection::PropertySetter) + I_Constructor0(); + I_Method3(void, set, IN, osgIntrospection::Value &, x, IN, osgIntrospection::ValueList &, x, IN, const osgIntrospection::Value &, x); + I_Method2(void, set, IN, osgIntrospection::Value &, x, IN, const osgIntrospection::Value &, x); + I_Method3(void, set, IN, osgIntrospection::Value &, x, IN, int, x, IN, const osgIntrospection::Value &, x); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::PropertyTypeAttribute) + I_BaseType(osgIntrospection::CustomAttribute); + I_Constructor1(IN, const osgIntrospection::Type &, type); + I_Method0(const osgIntrospection::Type &, getPropertyType); + I_ReadOnlyProperty(const osgIntrospection::Type &, PropertyType); +END_REFLECTOR + diff --git a/src/osgWrappers/osgIntrospection/Comparator.cpp b/src/osgWrappers/osgIntrospection/Comparator.cpp new file mode 100644 index 000000000..cf9eca98b --- /dev/null +++ b/src/osgWrappers/osgIntrospection/Comparator.cpp @@ -0,0 +1,28 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include + +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgIntrospection::Comparator) + I_Constructor0(); + I_Method2(bool, isEqualTo, IN, const osgIntrospection::Value &, l, IN, const osgIntrospection::Value &, r); + I_Method2(bool, isLessThanOrEqualTo, IN, const osgIntrospection::Value &, l, IN, const osgIntrospection::Value &, r); +END_REFLECTOR + diff --git a/src/osgWrappers/osgIntrospection/ConstructorInfo.cpp b/src/osgWrappers/osgIntrospection/ConstructorInfo.cpp new file mode 100644 index 000000000..7e8b23367 --- /dev/null +++ b/src/osgWrappers/osgIntrospection/ConstructorInfo.cpp @@ -0,0 +1,33 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include + +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgIntrospection::ConstructorInfo) + I_BaseType(osgIntrospection::CustomAttributeProvider); + I_Constructor2(IN, const osgIntrospection::Type &, decltype, IN, const osgIntrospection::ParameterInfoList &, params); + I_Method0(const osgIntrospection::Type &, getDeclaringType); + I_Method0(const osgIntrospection::ParameterInfoList &, getParameters); + I_Method1(osgIntrospection::Value, createInstance, IN, osgIntrospection::ValueList &, args); + I_ReadOnlyProperty(const osgIntrospection::Type &, DeclaringType); + I_ReadOnlyProperty(const osgIntrospection::ParameterInfoList &, Parameters); +END_REFLECTOR + diff --git a/src/osgWrappers/osgIntrospection/Converter.cpp b/src/osgWrappers/osgIntrospection/Converter.cpp new file mode 100644 index 000000000..0a6816825 --- /dev/null +++ b/src/osgWrappers/osgIntrospection/Converter.cpp @@ -0,0 +1,38 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include + +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::CompositeConverter) + I_BaseType(osgIntrospection::Converter); + I_Constructor1(IN, const osgIntrospection::ConverterList &, cvt); + I_Constructor1(IN, osgIntrospection::ConverterList &, cvt); + I_Method1(osgIntrospection::Value, convert, IN, const osgIntrospection::Value &, src); +END_REFLECTOR + +BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgIntrospection::Converter) + I_Constructor0(); + I_Method1(osgIntrospection::Value, convert, IN, const osgIntrospection::Value &, x); +END_REFLECTOR + +TYPE_NAME_ALIAS(std::vector< const osgIntrospection::Converter * >, osgIntrospection::ConverterList); + +STD_VECTOR_REFLECTOR(std::vector< const osgIntrospection::Converter * >); + diff --git a/src/osgWrappers/osgIntrospection/ConverterProxy.cpp b/src/osgWrappers/osgIntrospection/ConverterProxy.cpp new file mode 100644 index 000000000..e53db9543 --- /dev/null +++ b/src/osgWrappers/osgIntrospection/ConverterProxy.cpp @@ -0,0 +1,27 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include + +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_VALUE_REFLECTOR(osgIntrospection::ConverterProxy) + I_Constructor3(IN, const osgIntrospection::Type &, source, IN, const osgIntrospection::Type &, dest, IN, const osgIntrospection::Converter *, cvt); +END_REFLECTOR + diff --git a/src/osgWrappers/osgIntrospection/CustomAttribute.cpp b/src/osgWrappers/osgIntrospection/CustomAttribute.cpp new file mode 100644 index 000000000..6e39897e9 --- /dev/null +++ b/src/osgWrappers/osgIntrospection/CustomAttribute.cpp @@ -0,0 +1,25 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include + +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_VALUE_REFLECTOR(osgIntrospection::CustomAttribute) + I_Constructor0(); +END_REFLECTOR + diff --git a/src/osgWrappers/osgIntrospection/CustomAttributeProvider.cpp b/src/osgWrappers/osgIntrospection/CustomAttributeProvider.cpp new file mode 100644 index 000000000..eb989b9ac --- /dev/null +++ b/src/osgWrappers/osgIntrospection/CustomAttributeProvider.cpp @@ -0,0 +1,41 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include + +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgIntrospection::CustomAttributeProvider) + I_Constructor0(); + I_Method0(const osgIntrospection::CustomAttributeList &, getCustomAttributes); + I_Method0(osgIntrospection::CustomAttributeList &, getCustomAttributes); + I_Method1(osgIntrospection::CustomAttributeProvider *, addAttribute, IN, const osgIntrospection::CustomAttribute *, attr); + I_Method2(bool, isDefined, IN, const osgIntrospection::Type &, type, IN, bool, inherit); + I_Method2(const osgIntrospection::CustomAttribute *, getAttribute, IN, const osgIntrospection::Type &, type, IN, bool, inherit); + I_ReadOnlyProperty(osgIntrospection::CustomAttributeList &, CustomAttributes); +END_REFLECTOR + +TYPE_NAME_ALIAS(std::vector< const osgIntrospection::CustomAttribute * >, osgIntrospection::CustomAttributeList); + +TYPE_NAME_ALIAS(std::vector< const osgIntrospection::CustomAttributeProvider * >, osgIntrospection::CustomAttributeProviderList); + +STD_VECTOR_REFLECTOR(std::vector< const osgIntrospection::CustomAttribute * >); + +STD_VECTOR_REFLECTOR(std::vector< const osgIntrospection::CustomAttributeProvider * >); + diff --git a/src/osgWrappers/osgIntrospection/Exceptions.cpp b/src/osgWrappers/osgIntrospection/Exceptions.cpp new file mode 100644 index 000000000..641b701f2 --- /dev/null +++ b/src/osgWrappers/osgIntrospection/Exceptions.cpp @@ -0,0 +1,136 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include + +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::ComparisonNotPermittedException) + I_BaseType(osgIntrospection::ReflectionException); + I_Constructor1(IN, const std::type_info &, ti); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::ComparisonOperatorNotSupportedException) + I_BaseType(osgIntrospection::ReflectionException); + I_Constructor2(IN, const std::type_info &, ti, IN, const std::string &, op); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::ConstIsConstException) + I_BaseType(osgIntrospection::ReflectionException); + I_Constructor0(); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::ConstructorNotFoundException) + I_BaseType(osgIntrospection::ReflectionException); + I_Constructor1(IN, const std::type_info &, ti); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::EmptyValueException) + I_BaseType(osgIntrospection::ReflectionException); + I_Constructor0(); +END_REFLECTOR + +BEGIN_VALUE_REFLECTOR(osgIntrospection::Exception) + I_Constructor1(IN, const std::string &, msg); + I_Method0(const std::string &, what); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::IndexValuesNotDefinedException) + I_BaseType(osgIntrospection::ReflectionException); + I_Constructor2(IN, const std::string &, name, IN, const std::string &, iname); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::InvalidFunctionPointerException) + I_BaseType(osgIntrospection::ReflectionException); + I_Constructor0(); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::InvokeNotImplementedException) + I_BaseType(osgIntrospection::ReflectionException); + I_Constructor0(); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::MethodNotFoundException) + I_BaseType(osgIntrospection::ReflectionException); + I_Constructor2(IN, const std::string &, name, IN, const std::string &, cname); +END_REFLECTOR + +BEGIN_ENUM_REFLECTOR(osgIntrospection::PropertyAccessException::AccessType) + I_EnumLabel(osgIntrospection::PropertyAccessException::GET); + I_EnumLabel(osgIntrospection::PropertyAccessException::SET); + I_EnumLabel(osgIntrospection::PropertyAccessException::IGET); + I_EnumLabel(osgIntrospection::PropertyAccessException::ISET); + I_EnumLabel(osgIntrospection::PropertyAccessException::AGET); + I_EnumLabel(osgIntrospection::PropertyAccessException::ASET); + I_EnumLabel(osgIntrospection::PropertyAccessException::ADD); + I_EnumLabel(osgIntrospection::PropertyAccessException::REMOVE); + I_EnumLabel(osgIntrospection::PropertyAccessException::COUNT); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::PropertyAccessException) + I_BaseType(osgIntrospection::ReflectionException); + I_Constructor2(IN, const std::string &, pname, IN, osgIntrospection::PropertyAccessException::AccessType, denied); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::ReflectionException) + I_BaseType(osgIntrospection::Exception); + I_Constructor1(IN, const std::string &, msg); +END_REFLECTOR + +BEGIN_ENUM_REFLECTOR(osgIntrospection::StreamingNotSupportedException::OperationType) + I_EnumLabel(osgIntrospection::StreamingNotSupportedException::ANY); + I_EnumLabel(osgIntrospection::StreamingNotSupportedException::TEXT_WRITE); + I_EnumLabel(osgIntrospection::StreamingNotSupportedException::TEXT_READ); + I_EnumLabel(osgIntrospection::StreamingNotSupportedException::BINARY_WRITE); + I_EnumLabel(osgIntrospection::StreamingNotSupportedException::BINARY_READ); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StreamingNotSupportedException) + I_BaseType(osgIntrospection::ReflectionException); + I_Constructor2(IN, osgIntrospection::StreamingNotSupportedException::OperationType, op, IN, const std::type_info &, type); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StreamReadErrorException) + I_BaseType(osgIntrospection::ReflectionException); + I_Constructor0(); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StreamWriteErrorException) + I_BaseType(osgIntrospection::ReflectionException); + I_Constructor0(); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::TypeConversionException) + I_BaseType(osgIntrospection::ReflectionException); + I_Constructor2(IN, const std::type_info &, type1, IN, const std::type_info &, type2); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::TypeIsAbstractException) + I_BaseType(osgIntrospection::ReflectionException); + I_Constructor1(IN, const std::type_info &, ti); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::TypeNotDefinedException) + I_BaseType(osgIntrospection::ReflectionException); + I_Constructor1(IN, const std::type_info &, ti); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::TypeNotFoundException) + I_BaseType(osgIntrospection::ReflectionException); + I_Constructor1(IN, const std::string &, qname); +END_REFLECTOR + diff --git a/src/osgWrappers/osgIntrospection/GNUmakefile b/src/osgWrappers/osgIntrospection/GNUmakefile new file mode 100644 index 000000000..db64ccacf --- /dev/null +++ b/src/osgWrappers/osgIntrospection/GNUmakefile @@ -0,0 +1,30 @@ +TOPDIR = ../../.. +include $(TOPDIR)/Make/makedefs + +CXXFILES =\ + Attributes.cpp\ + Comparator.cpp\ + ConstructorInfo.cpp\ + Converter.cpp\ + ConverterProxy.cpp\ + CustomAttribute.cpp\ + CustomAttributeProvider.cpp\ + Exceptions.cpp\ + MethodInfo.cpp\ + ParameterInfo.cpp\ + PropertyInfo.cpp\ + ReaderWriter.cpp\ + Reflection.cpp\ + Reflector.cpp\ + Type.cpp\ + Value.cpp\ + +LIBS += -losgIntrospection -losg -losgIntrospection $(GL_LIBS) $(OTHER_LIBS) + +OPTF = -O + +TARGET_BASENAME = osgIntrospection +include $(TOPDIR)/Make/cygwin_wrapper_def +WRAPPER = $(WRAPPER_PREFIX)$(TARGET_BASENAME).$(PLUGIN_EXT) + +include $(TOPDIR)/Make/makerules diff --git a/src/osgWrappers/osgIntrospection/MethodInfo.cpp b/src/osgWrappers/osgIntrospection/MethodInfo.cpp new file mode 100644 index 000000000..08034230f --- /dev/null +++ b/src/osgWrappers/osgIntrospection/MethodInfo.cpp @@ -0,0 +1,45 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include + +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgIntrospection::MethodInfo) + I_BaseType(osgIntrospection::CustomAttributeProvider); + I_Constructor4(IN, const std::string &, qname, IN, const osgIntrospection::Type &, decltype, IN, const osgIntrospection::Type &, rtype, IN, const osgIntrospection::ParameterInfoList &, plist); + I_Method0(const osgIntrospection::Type &, getDeclaringType); + I_Method0(const std::string &, getName); + I_Method0(const osgIntrospection::Type &, getReturnType); + I_Method0(const osgIntrospection::ParameterInfoList &, getParameters); + I_Method0(bool, isConst); + I_Method0(bool, isStatic); + I_Method1(bool, overrides, IN, const osgIntrospection::MethodInfo *, other); + I_Method2(osgIntrospection::Value, invoke, IN, const osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, args); + I_Method2(osgIntrospection::Value, invoke, IN, osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, args); + I_Method1(osgIntrospection::Value, invoke, IN, osgIntrospection::ValueList &, args); + I_Method1(osgIntrospection::Value, invoke, IN, const osgIntrospection::Value &, instance); + I_Method1(osgIntrospection::Value, invoke, IN, osgIntrospection::Value &, instance); + I_Method0(osgIntrospection::Value, invoke); + I_ReadOnlyProperty(const osgIntrospection::Type &, DeclaringType); + I_ReadOnlyProperty(const std::string &, Name); + I_ReadOnlyProperty(const osgIntrospection::ParameterInfoList &, Parameters); + I_ReadOnlyProperty(const osgIntrospection::Type &, ReturnType); +END_REFLECTOR + diff --git a/src/osgWrappers/osgIntrospection/ParameterInfo.cpp b/src/osgWrappers/osgIntrospection/ParameterInfo.cpp new file mode 100644 index 000000000..22ad9370f --- /dev/null +++ b/src/osgWrappers/osgIntrospection/ParameterInfo.cpp @@ -0,0 +1,45 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include + +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_ENUM_REFLECTOR(osgIntrospection::ParameterInfo::ParameterAttributes) + I_EnumLabel(osgIntrospection::ParameterInfo::NONE); + I_EnumLabel(osgIntrospection::ParameterInfo::IN); + I_EnumLabel(osgIntrospection::ParameterInfo::OUT); + I_EnumLabel(osgIntrospection::ParameterInfo::INOUT); +END_REFLECTOR + +BEGIN_VALUE_REFLECTOR(osgIntrospection::ParameterInfo) + I_ConstructorWithDefaults4(IN, const std::string &, name, , IN, const osgIntrospection::Type &, type, , IN, int, attribs, , IN, const osgIntrospection::Value &, defval, osgIntrospection::Value()); + I_Method0(const std::string &, getName); + I_Method0(const osgIntrospection::Type &, getParameterType); + I_Method0(int, getAttributes); + I_Method0(const osgIntrospection::Value &, getDefaultValue); + I_Method0(bool, isIn); + I_Method0(bool, isOut); + I_Method0(bool, isInOut); + I_ReadOnlyProperty(int, Attributes); + I_ReadOnlyProperty(const osgIntrospection::Value &, DefaultValue); + I_ReadOnlyProperty(const std::string &, Name); + I_ReadOnlyProperty(const osgIntrospection::Type &, ParameterType); +END_REFLECTOR + diff --git a/src/osgWrappers/osgIntrospection/PropertyInfo.cpp b/src/osgWrappers/osgIntrospection/PropertyInfo.cpp new file mode 100644 index 000000000..c160c22af --- /dev/null +++ b/src/osgWrappers/osgIntrospection/PropertyInfo.cpp @@ -0,0 +1,72 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include + +#include +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::PropertyInfo) + I_BaseType(osgIntrospection::CustomAttributeProvider); + I_Constructor5(IN, const osgIntrospection::Type &, decltype, IN, const osgIntrospection::Type &, ptype, IN, const std::string &, name, IN, const osgIntrospection::MethodInfo *, getm, IN, const osgIntrospection::MethodInfo *, setm); + I_Constructor8(IN, const osgIntrospection::Type &, decltype, IN, const osgIntrospection::Type &, ptype, IN, const std::string &, name, IN, const osgIntrospection::MethodInfo *, getm, IN, const osgIntrospection::MethodInfo *, setm, IN, const osgIntrospection::MethodInfo *, numm, IN, const osgIntrospection::MethodInfo *, addm, IN, const osgIntrospection::MethodInfo *, remm); + I_Method0(int, getNumIndices); + I_Method0(const std::string &, getName); + I_Method0(const osgIntrospection::Type &, getDeclaringType); + I_Method0(const osgIntrospection::Type &, getPropertyType); + I_Method0(const osgIntrospection::MethodInfo *, getGetMethod); + I_Method0(const osgIntrospection::MethodInfo *, getSetMethod); + I_Method0(const osgIntrospection::MethodInfo *, getCountMethod); + I_Method0(const osgIntrospection::MethodInfo *, getAddMethod); + I_Method0(const osgIntrospection::MethodInfo *, getRemoveMethod); + I_Method0(bool, canGet); + I_Method0(bool, canSet); + I_Method0(bool, canCount); + I_Method0(bool, canAdd); + I_Method0(bool, canRemove); + I_Method0(bool, isSimple); + I_Method0(bool, isIndexed); + I_Method0(bool, isArray); + I_Method0(const osgIntrospection::ParameterInfoList &, getIndexParameters); + I_Method3(void, getIndexValueSet, IN, int, whichindex, IN, const osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, values); + I_Method1(osgIntrospection::Value, getValue, IN, const osgIntrospection::Value &, instance); + I_Method1(osgIntrospection::Value, getValue, IN, osgIntrospection::Value &, instance); + I_Method2(void, setValue, IN, osgIntrospection::Value &, instance, IN, const osgIntrospection::Value &, value); + I_Method2(osgIntrospection::Value, getIndexedValue, IN, osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, indices); + I_Method2(osgIntrospection::Value, getIndexedValue, IN, const osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, indices); + I_Method3(void, setIndexedValue, IN, osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, indices, IN, const osgIntrospection::Value &, value); + I_Method1(int, getNumArrayItems, IN, const osgIntrospection::Value &, instance); + I_Method2(osgIntrospection::Value, getArrayItem, IN, const osgIntrospection::Value &, instance, IN, int, i); + I_Method2(osgIntrospection::Value, getArrayItem, IN, osgIntrospection::Value &, instance, IN, int, i); + I_Method3(void, setArrayItem, IN, osgIntrospection::Value &, instance, IN, int, i, IN, const osgIntrospection::Value &, value); + I_Method2(void, addArrayItem, IN, osgIntrospection::Value &, instance, IN, const osgIntrospection::Value &, value); + I_Method2(void, removeArrayItem, IN, osgIntrospection::Value &, instance, IN, int, i); + I_Method0(osgIntrospection::Value, getDefaultValue); + I_ReadOnlyProperty(const osgIntrospection::MethodInfo *, AddMethod); + I_ReadOnlyProperty(const osgIntrospection::MethodInfo *, CountMethod); + I_ReadOnlyProperty(const osgIntrospection::Type &, DeclaringType); + I_ReadOnlyProperty(osgIntrospection::Value, DefaultValue); + I_ReadOnlyProperty(const osgIntrospection::MethodInfo *, GetMethod); + I_ReadOnlyProperty(const osgIntrospection::ParameterInfoList &, IndexParameters); + I_ReadOnlyProperty(const std::string &, Name); + I_ReadOnlyProperty(const osgIntrospection::Type &, PropertyType); + I_ReadOnlyProperty(const osgIntrospection::MethodInfo *, RemoveMethod); + I_ReadOnlyProperty(const osgIntrospection::MethodInfo *, SetMethod); +END_REFLECTOR + diff --git a/src/osgWrappers/osgIntrospection/ReaderWriter.cpp b/src/osgWrappers/osgIntrospection/ReaderWriter.cpp new file mode 100644 index 000000000..74251c2fa --- /dev/null +++ b/src/osgWrappers/osgIntrospection/ReaderWriter.cpp @@ -0,0 +1,37 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include + +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_VALUE_REFLECTOR(osgIntrospection::ReaderWriter) + I_Constructor0(); + I_MethodWithDefaults3(std::ostream &, writeTextValue, IN, std::ostream &, x, , IN, const osgIntrospection::Value &, v, , IN, const osgIntrospection::ReaderWriter::Options *, x, 0); + I_MethodWithDefaults3(std::istream &, readTextValue, IN, std::istream &, x, , IN, osgIntrospection::Value &, v, , IN, const osgIntrospection::ReaderWriter::Options *, x, 0); + I_MethodWithDefaults3(std::ostream &, writeBinaryValue, IN, std::ostream &, x, , IN, const osgIntrospection::Value &, v, , IN, const osgIntrospection::ReaderWriter::Options *, x, 0); + I_MethodWithDefaults3(std::istream &, readBinaryValue, IN, std::istream &, x, , IN, osgIntrospection::Value &, v, , IN, const osgIntrospection::ReaderWriter::Options *, x, 0); +END_REFLECTOR + +BEGIN_VALUE_REFLECTOR(osgIntrospection::ReaderWriter::Options) + I_Constructor0(); + I_Method0(bool, getForceNumericOutput); + I_Method1(void, setForceNumericOutput, IN, bool, fno); + I_Property(bool, ForceNumericOutput); +END_REFLECTOR + diff --git a/src/osgWrappers/osgIntrospection/Reflection.cpp b/src/osgWrappers/osgIntrospection/Reflection.cpp new file mode 100644 index 000000000..b93d19a18 --- /dev/null +++ b/src/osgWrappers/osgIntrospection/Reflection.cpp @@ -0,0 +1,33 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include + +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_VALUE_REFLECTOR(osgIntrospection::Reflection) + I_Constructor0(); +END_REFLECTOR + +BEGIN_VALUE_REFLECTOR(osgIntrospection::TypeInfoCmp) + I_Constructor0(); +END_REFLECTOR + +TYPE_NAME_ALIAS(std::map< const std::type_info * COMMA osgIntrospection::Type * COMMA osgIntrospection::TypeInfoCmp >, osgIntrospection::TypeMap); + +STD_MAP_REFLECTOR(std::map< const std::type_info * COMMA osgIntrospection::Type * COMMA osgIntrospection::TypeInfoCmp >); + diff --git a/src/osgWrappers/osgIntrospection/Reflector.cpp b/src/osgWrappers/osgIntrospection/Reflector.cpp new file mode 100644 index 000000000..a515e3008 --- /dev/null +++ b/src/osgWrappers/osgIntrospection/Reflector.cpp @@ -0,0 +1,139 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include + +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdListReflector::Adder) + I_BaseType(osgIntrospection::PropertyAdder); + I_Constructor0(); + I_Method2(void, add, IN, osgIntrospection::Value &, instance, IN, const osgIntrospection::Value &, v); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdListReflector::Counter) + I_BaseType(osgIntrospection::PropertyCounter); + I_Constructor0(); + I_Method1(int, count, IN, const osgIntrospection::Value &, instance); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdListReflector::Getter) + I_BaseType(osgIntrospection::PropertyGetter); + I_Constructor0(); + I_Method2(osgIntrospection::Value, get, IN, osgIntrospection::Value &, instance, IN, int, i); + I_Method2(osgIntrospection::Value, get, IN, const osgIntrospection::Value &, instance, IN, int, i); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdListReflector::Remover) + I_BaseType(osgIntrospection::PropertyRemover); + I_Constructor0(); + I_Method2(void, remove, IN, osgIntrospection::Value &, instance, IN, int, i); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdListReflector::Setter) + I_BaseType(osgIntrospection::PropertySetter); + I_Constructor0(); + I_Method3(void, set, IN, osgIntrospection::Value &, instance, IN, int, i, IN, const osgIntrospection::Value &, v); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdMapReflector::Getter) + I_BaseType(osgIntrospection::PropertyGetter); + I_Constructor0(); + I_Method2(osgIntrospection::Value, get, IN, osgIntrospection::Value &, instance, IN, const osgIntrospection::ValueList &, indices); + I_Method2(osgIntrospection::Value, get, IN, const osgIntrospection::Value &, instance, IN, const osgIntrospection::ValueList &, indices); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdMapReflector::Indexer) + I_BaseType(osgIntrospection::IndexInfo); + I_Constructor0(); + I_Method0(const osgIntrospection::ParameterInfoList &, getIndexParameters); + I_Method3(void, getIndexValueSet, IN, int, x, IN, const osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, values); + I_ReadOnlyProperty(const osgIntrospection::ParameterInfoList &, IndexParameters); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdMapReflector::Setter) + I_BaseType(osgIntrospection::PropertySetter); + I_Constructor0(); + I_Method3(void, set, IN, osgIntrospection::Value &, instance, IN, const osgIntrospection::ValueList &, indices, IN, const osgIntrospection::Value &, v); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdPairReflector::Accessor) + I_BaseType(osgIntrospection::PropertyGetter); + I_Constructor1(IN, int, i); + I_Method1(osgIntrospection::Value, get, IN, const osgIntrospection::Value &, instance); + I_Method1(osgIntrospection::Value, get, IN, osgIntrospection::Value &, instance); + I_Method2(void, set, IN, const osgIntrospection::Value &, instance, IN, const osgIntrospection::Value &, v); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdSetReflector::Adder) + I_BaseType(osgIntrospection::PropertyAdder); + I_Constructor0(); + I_Method2(void, add, IN, osgIntrospection::Value &, instance, IN, const osgIntrospection::Value &, v); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdSetReflector::Counter) + I_BaseType(osgIntrospection::PropertyCounter); + I_Constructor0(); + I_Method1(int, count, IN, const osgIntrospection::Value &, instance); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdSetReflector::Getter) + I_BaseType(osgIntrospection::PropertyGetter); + I_Constructor0(); + I_Method2(osgIntrospection::Value, get, IN, osgIntrospection::Value &, instance, IN, int, i); + I_Method2(osgIntrospection::Value, get, IN, const osgIntrospection::Value &, instance, IN, int, i); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdSetReflector::Remover) + I_BaseType(osgIntrospection::PropertyRemover); + I_Constructor0(); + I_Method2(void, remove, IN, osgIntrospection::Value &, instance, IN, int, i); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdVectorReflector::Adder) + I_BaseType(osgIntrospection::PropertyAdder); + I_Constructor0(); + I_Method2(void, add, IN, osgIntrospection::Value &, instance, IN, const osgIntrospection::Value &, v); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdVectorReflector::Counter) + I_BaseType(osgIntrospection::PropertyCounter); + I_Constructor0(); + I_Method1(int, count, IN, const osgIntrospection::Value &, instance); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdVectorReflector::Getter) + I_BaseType(osgIntrospection::PropertyGetter); + I_Constructor0(); + I_Method2(osgIntrospection::Value, get, IN, osgIntrospection::Value &, instance, IN, int, i); + I_Method2(osgIntrospection::Value, get, IN, const osgIntrospection::Value &, instance, IN, int, i); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdVectorReflector::Remover) + I_BaseType(osgIntrospection::PropertyRemover); + I_Constructor0(); + I_Method2(void, remove, IN, osgIntrospection::Value &, instance, IN, int, i); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::StdVectorReflector::Setter) + I_BaseType(osgIntrospection::PropertySetter); + I_Constructor0(); + I_Method3(void, set, IN, osgIntrospection::Value &, instance, IN, int, i, IN, const osgIntrospection::Value &, v); +END_REFLECTOR + diff --git a/src/osgWrappers/osgIntrospection/Type.cpp b/src/osgWrappers/osgIntrospection/Type.cpp new file mode 100644 index 000000000..44d7ab8c7 --- /dev/null +++ b/src/osgWrappers/osgIntrospection/Type.cpp @@ -0,0 +1,100 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_OBJECT_REFLECTOR(osgIntrospection::Type) + I_BaseType(osgIntrospection::CustomAttributeProvider); + I_Method0(const std::type_info &, getStdTypeInfo); + I_Method0(bool, isDefined); + I_Method0(const std::string &, getName); + I_Method0(const std::string &, getNamespace); + I_Method0(std::string, getQualifiedName); + I_Method1(bool, matchesName, IN, const std::string &, name); + I_Method0(int, getNumBaseTypes); + I_Method1(const osgIntrospection::Type &, getBaseType, IN, int, i); + I_Method0(int, getNumAliases); + I_Method1(const std::string &, getAlias, IN, int, i); + I_Method0(bool, isAbstract); + I_Method0(bool, isAtomic); + I_Method0(bool, isEnum); + I_Method0(bool, isVoid); + I_Method0(bool, isPointer); + I_Method0(bool, isConstPointer); + I_Method0(bool, isNonConstPointer); + I_Method0(const osgIntrospection::Type &, getPointedType); + I_Method0(const osgIntrospection::PropertyInfoList &, getProperties); + I_Method1(void, getAllProperties, IN, osgIntrospection::PropertyInfoList &, props); + I_Method0(const osgIntrospection::ConstructorInfoList &, getConstructors); + I_Method0(const osgIntrospection::MethodInfoList &, getMethods); + I_Method1(void, getAllMethods, IN, osgIntrospection::MethodInfoList &, methods); + I_Method0(const osgIntrospection::EnumLabelMap &, getEnumLabels); + I_Method1(const osgIntrospection::ConstructorInfo *, getCompatibleConstructor, IN, const osgIntrospection::ValueList &, values); + I_Method1(const osgIntrospection::ConstructorInfo *, getConstructor, IN, const osgIntrospection::ParameterInfoList &, params); + I_Method3(const osgIntrospection::MethodInfo *, getCompatibleMethod, IN, const std::string &, name, IN, const osgIntrospection::ValueList &, values, IN, bool, inherit); + I_Method3(const osgIntrospection::MethodInfo *, getMethod, IN, const std::string &, name, IN, const osgIntrospection::ParameterInfoList &, params, IN, bool, inherit); + I_Method4(const osgIntrospection::PropertyInfo *, getProperty, IN, const std::string &, name, IN, const osgIntrospection::Type &, ptype, IN, const osgIntrospection::ParameterInfoList &, indices, IN, bool, inherit); + I_Method4(osgIntrospection::Value, invokeMethod, IN, const std::string &, name, IN, const osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, args, IN, bool, inherit); + I_Method4(osgIntrospection::Value, invokeMethod, IN, const std::string &, name, IN, osgIntrospection::Value &, instance, IN, osgIntrospection::ValueList &, args, IN, bool, inherit); + I_Method1(bool, isSubclassOf, IN, const osgIntrospection::Type &, type); + I_Method0(const osgIntrospection::ReaderWriter *, getReaderWriter); + I_Method0(const osgIntrospection::Comparator *, getComparator); + I_Method1(osgIntrospection::Value, createInstance, IN, osgIntrospection::ValueList &, args); + I_Method0(osgIntrospection::Value, createInstance); + I_ArrayProperty_G(const std::string &, Alias, Aliases, int, void); + I_ArrayProperty_G(const osgIntrospection::Type &, BaseType, BaseTypes, int, void); + I_ReadOnlyProperty(const osgIntrospection::Comparator *, Comparator); + I_ReadOnlyProperty(const osgIntrospection::ConstructorInfoList &, Constructors); + I_ReadOnlyProperty(const osgIntrospection::EnumLabelMap &, EnumLabels); + I_ReadOnlyProperty(const osgIntrospection::MethodInfoList &, Methods); + I_ReadOnlyProperty(const std::string &, Name); + I_ReadOnlyProperty(const std::string &, Namespace); + I_ReadOnlyProperty(const osgIntrospection::Type &, PointedType); + I_ReadOnlyProperty(const osgIntrospection::PropertyInfoList &, Properties); + I_ReadOnlyProperty(std::string, QualifiedName); + I_ReadOnlyProperty(const osgIntrospection::ReaderWriter *, ReaderWriter); + I_ReadOnlyProperty(const std::type_info &, StdTypeInfo); +END_REFLECTOR + +TYPE_NAME_ALIAS(std::vector< const osgIntrospection::MethodInfo * >, osgIntrospection::MethodInfoList); + +TYPE_NAME_ALIAS(std::vector< const osgIntrospection::PropertyInfo * >, osgIntrospection::PropertyInfoList); + +TYPE_NAME_ALIAS(std::vector< const osgIntrospection::ParameterInfo * >, osgIntrospection::ParameterInfoList); + +TYPE_NAME_ALIAS(std::vector< const osgIntrospection::ConstructorInfo * >, osgIntrospection::ConstructorInfoList); + +TYPE_NAME_ALIAS(std::map< int COMMA std::string >, osgIntrospection::EnumLabelMap); + +STD_MAP_REFLECTOR(std::map< int COMMA std::string >); + +STD_VECTOR_REFLECTOR(std::vector< const osgIntrospection::ConstructorInfo * >); + +STD_VECTOR_REFLECTOR(std::vector< const osgIntrospection::MethodInfo * >); + +STD_VECTOR_REFLECTOR(std::vector< const osgIntrospection::ParameterInfo * >); + +STD_VECTOR_REFLECTOR(std::vector< const osgIntrospection::PropertyInfo * >); + diff --git a/src/osgWrappers/osgIntrospection/Value.cpp b/src/osgWrappers/osgIntrospection/Value.cpp new file mode 100644 index 000000000..229c570c5 --- /dev/null +++ b/src/osgWrappers/osgIntrospection/Value.cpp @@ -0,0 +1,44 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include + +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_VALUE_REFLECTOR(osgIntrospection::Value) + I_Constructor0(); + I_Constructor1(IN, void *, v); + I_Constructor1(IN, const void *, v); + I_Constructor1(IN, const osgIntrospection::Value &, copy); + I_Method0(bool, isTypedPointer); + I_Method0(bool, isEmpty); + I_Method0(bool, isNullPointer); + I_Method0(const osgIntrospection::Type &, getType); + I_Method0(const osgIntrospection::Type &, getInstanceType); + I_Method1(osgIntrospection::Value, convertTo, IN, const osgIntrospection::Type &, outtype); + I_Method1(osgIntrospection::Value, tryConvertTo, IN, const osgIntrospection::Type &, outtype); + I_Method0(std::string, toString); + I_Method1(void, swap, IN, osgIntrospection::Value &, v); + I_ReadOnlyProperty(const osgIntrospection::Type &, InstanceType); + I_ReadOnlyProperty(const osgIntrospection::Type &, Type); +END_REFLECTOR + +TYPE_NAME_ALIAS(std::vector< osgIntrospection::Value >, osgIntrospection::ValueList); + +STD_VECTOR_REFLECTOR(std::vector< osgIntrospection::Value >); + diff --git a/src/osgWrappers/osgUtil/RenderStage.cpp b/src/osgWrappers/osgUtil/RenderStage.cpp index df8d8473e..dbb02402f 100644 --- a/src/osgWrappers/osgUtil/RenderStage.cpp +++ b/src/osgWrappers/osgUtil/RenderStage.cpp @@ -57,6 +57,10 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::RenderStage) I_Method0(double, getClearDepth); I_Method1(void, setClearStencil, IN, int, stencil); I_Method0(int, getClearStencil); + I_Method1(void, setInheritedRenderStageLightingMatrix, IN, const osg::Matrix &, matrix); + I_Method0(const osg::Matrix &, getInheritedRenderStageLightingMatrix); + I_Method1(void, setInheritedRenderStageLighting, IN, osgUtil::RenderStageLighting *, rsl); + I_Method0(osgUtil::RenderStageLighting *, getInheritedRenderStageLighting); I_Method1(void, setRenderStageLighting, IN, osgUtil::RenderStageLighting *, rsl); I_Method0(osgUtil::RenderStageLighting *, getRenderStageLighting); I_Method2(void, addPositionedAttribute, IN, osg::RefMatrix *, matrix, IN, const osg::StateAttribute *, attr); @@ -75,6 +79,8 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::RenderStage) I_Property(GLbitfield, ClearMask); I_Property(int, ClearStencil); I_Property(osg::ColorMask *, ColorMask); + I_Property(osgUtil::RenderStageLighting *, InheritedRenderStageLighting); + I_Property(const osg::Matrix &, InheritedRenderStageLightingMatrix); I_Property(osgUtil::RenderStageLighting *, RenderStageLighting); I_Property(osg::Viewport *, Viewport); END_REFLECTOR diff --git a/src/osgWrappers/osgUtil/RenderStageLighting.cpp b/src/osgWrappers/osgUtil/RenderStageLighting.cpp index efed775d4..fe3342803 100644 --- a/src/osgWrappers/osgUtil/RenderStageLighting.cpp +++ b/src/osgWrappers/osgUtil/RenderStageLighting.cpp @@ -42,7 +42,7 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::RenderStageLighting) I_Method0(void, reset); I_Method2(void, addPositionedAttribute, IN, osg::RefMatrix *, matrix, IN, const osg::StateAttribute *, attr); I_Method3(void, addPositionedTextureAttribute, IN, unsigned int, textureUnit, IN, osg::RefMatrix *, matrix, IN, const osg::StateAttribute *, attr); - I_Method2(void, draw, IN, osg::State &, state, IN, osgUtil::RenderLeaf *&, previous); + I_MethodWithDefaults3(void, draw, IN, osg::State &, state, , IN, osgUtil::RenderLeaf *&, previous, , IN, const osg::Matrix *, postMultMatrix, 0); END_REFLECTOR BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::RefMatrix >)