0024699: Visualization - prototype interoperation of TKOpenGl viewer with Direct3D...
authordln <dln@opencascade.com>
Tue, 3 Jun 2014 06:11:33 +0000 (10:11 +0400)
committerbugmaster <bugmaster@opencascade.com>
Fri, 10 Oct 2014 11:06:42 +0000 (15:06 +0400)
commit15534713ba8b6057a50c8e680e360aedcd705eca
treee4294acadabe07062f3a1d8790032e686863769f
parent2ab7a755c288fee209b05d95a304a447002ff7e2
0024699: Visualization - prototype interoperation of TKOpenGl viewer with Direct3D viewer

Add new C# sample which allow to render the OCCT scene to a Direct3D context in a WPF application.
DirectX SDK is required in order to build this sample.
115 files changed:
dox/FILES_HTML.txt
dox/overview/overview.md
samples/CSharp/CSharp.sln [moved from samples/CSharp/CSharp-vc10.sln with 94% similarity]
samples/CSharp/CSharp_D3D.sln [moved from samples/CSharp/CSharp-vc9.sln with 59% similarity]
samples/CSharp/OCCTProxy/OCCTProxy.cpp
samples/CSharp/OCCTProxy/OCCTProxy.vcxproj
samples/CSharp/OCCTProxy_D3D/BridgeFBO.cxx [new file with mode: 0644]
samples/CSharp/OCCTProxy_D3D/BridgeFBO.hxx [new file with mode: 0644]
samples/CSharp/OCCTProxy_D3D/Direct3DProxy.cpp [new file with mode: 0644]
samples/CSharp/OCCTProxy_D3D/OCCTProxyD3D.cpp [new file with mode: 0644]
samples/CSharp/OCCTProxy_D3D/OCCTProxy_D3D.vcproj [new file with mode: 0644]
samples/CSharp/OCCTProxy_D3D/OCCTProxy_D3D.vcxproj [new file with mode: 0644]
samples/CSharp/ReadMe.md
samples/CSharp/ReadMe_D3D.md [new file with mode: 0644]
samples/CSharp/WPF_D3D/About.xaml [copied from samples/CSharp/WPF/About.xaml with 89% similarity]
samples/CSharp/WPF_D3D/About.xaml.cs [copied from samples/CSharp/WPF/About.xaml.cs with 97% similarity]
samples/CSharp/WPF_D3D/App.xaml [copied from samples/CSharp/WPF/App.xaml with 91% similarity]
samples/CSharp/WPF_D3D/App.xaml.cs [copied from samples/CSharp/WPF/App.xaml.cs with 92% similarity]
samples/CSharp/WPF_D3D/D3DViewer.cs [new file with mode: 0644]
samples/CSharp/WPF_D3D/IECommands.cs [copied from samples/CSharp/WPF/IECommands.cs with 98% similarity]
samples/CSharp/WPF_D3D/IE_WPF_D3D.csproj [copied from samples/CSharp/WPF/IE_WPF.csproj with 83% similarity]
samples/CSharp/WPF_D3D/MainWindow.xaml [copied from samples/CSharp/WPF/MainWindow.xaml with 90% similarity]
samples/CSharp/WPF_D3D/MainWindow.xaml.cs [new file with mode: 0644]
samples/CSharp/WPF_D3D/MaterialDlg.xaml [copied from samples/CSharp/WPF/MaterialDlg.xaml with 96% similarity]
samples/CSharp/WPF_D3D/MaterialDlg.xaml.cs [copied from samples/CSharp/WPF/MaterialDlg.xaml.cs with 95% similarity]
samples/CSharp/WPF_D3D/OCCViewer.cs [new file with mode: 0644]
samples/CSharp/WPF_D3D/Properties/AssemblyInfo.cs [copied from samples/CSharp/WPF/Properties/AssemblyInfo.cs with 100% similarity]
samples/CSharp/WPF_D3D/Properties/Resources.Designer.cs [copied from samples/CSharp/WPF/Properties/Resources.Designer.cs with 91% similarity]
samples/CSharp/WPF_D3D/Properties/Resources.resx [copied from samples/CSharp/WPF/Properties/Resources.resx with 100% similarity]
samples/CSharp/WPF_D3D/Properties/Settings.Designer.cs [copied from samples/CSharp/WPF/Properties/Settings.Designer.cs with 90% similarity]
samples/CSharp/WPF_D3D/Properties/Settings.settings [copied from samples/CSharp/WPF/Properties/Settings.settings with 100% similarity]
samples/CSharp/WPF_D3D/Simple Styles.xaml [copied from samples/CSharp/WPF/Simple Styles.xaml with 100% similarity]
samples/CSharp/WPF_D3D/TransparencyDialog.cs [copied from samples/CSharp/WPF/TransparencyDialog.cs with 97% similarity]
samples/CSharp/WPF_D3D/TransparencyDialog.resx [copied from samples/CSharp/WPF/TransparencyDialog.resx with 100% similarity]
samples/CSharp/WPF_D3D/app.config [copied from samples/CSharp/WPF/app.config with 100% similarity]
samples/CSharp/WPF_D3D/res/MainFrame.ico [copied from samples/CSharp/WPF/res/MainFrame.ico with 100% similarity]
samples/CSharp/WPF_D3D/res/document.png [copied from samples/CSharp/WPF/res/document.png with 100% similarity]
samples/CSharp/WPF_D3D/res/help.png [copied from samples/CSharp/WPF/res/help.png with 100% similarity]
samples/CSharp/WPF_D3D/res/lamp.png [copied from samples/CSharp/WPF/res/lamp.png with 100% similarity]
samples/CSharp/WPF_D3D/res/new.png [copied from samples/CSharp/WPF/res/new.png with 100% similarity]
samples/CSharp/WPF_D3D/res/occ_logo.bmp [copied from samples/CSharp/WPF/res/occ_logo.bmp with 100% similarity]
samples/CSharp/WPF_D3D/res/tool_color.png [copied from samples/CSharp/WPF/res/tool_color.png with 100% similarity]
samples/CSharp/WPF_D3D/res/tool_delete.png [copied from samples/CSharp/WPF/res/tool_delete.png with 100% similarity]
samples/CSharp/WPF_D3D/res/tool_material.png [copied from samples/CSharp/WPF/res/tool_material.png with 100% similarity]
samples/CSharp/WPF_D3D/res/tool_shading.png [copied from samples/CSharp/WPF/res/tool_shading.png with 100% similarity]
samples/CSharp/WPF_D3D/res/tool_transparency.png [copied from samples/CSharp/WPF/res/tool_transparency.png with 100% similarity]
samples/CSharp/WPF_D3D/res/tool_wireframe.png [copied from samples/CSharp/WPF/res/tool_wireframe.png with 100% similarity]
samples/CSharp/WPF_D3D/res/view_axo.png [copied from samples/CSharp/WPF/res/view_axo.png with 100% similarity]
samples/CSharp/WPF_D3D/res/view_back.png [copied from samples/CSharp/WPF/res/view_back.png with 100% similarity]
samples/CSharp/WPF_D3D/res/view_bottom.png [copied from samples/CSharp/WPF/res/view_bottom.png with 100% similarity]
samples/CSharp/WPF_D3D/res/view_comp_off.png [copied from samples/CSharp/WPF/res/view_comp_off.png with 100% similarity]
samples/CSharp/WPF_D3D/res/view_comp_on.png [copied from samples/CSharp/WPF/res/view_comp_on.png with 100% similarity]
samples/CSharp/WPF_D3D/res/view_fitall.png [copied from samples/CSharp/WPF/res/view_fitall.png with 100% similarity]
samples/CSharp/WPF_D3D/res/view_fitarea.png [copied from samples/CSharp/WPF/res/view_fitarea.png with 100% similarity]
samples/CSharp/WPF_D3D/res/view_front.png [copied from samples/CSharp/WPF/res/view_front.png with 100% similarity]
samples/CSharp/WPF_D3D/res/view_glpan.png [copied from samples/CSharp/WPF/res/view_glpan.png with 100% similarity]
samples/CSharp/WPF_D3D/res/view_left.png [copied from samples/CSharp/WPF/res/view_left.png with 100% similarity]
samples/CSharp/WPF_D3D/res/view_pan.png [copied from samples/CSharp/WPF/res/view_pan.png with 100% similarity]
samples/CSharp/WPF_D3D/res/view_reset.png [copied from samples/CSharp/WPF/res/view_reset.png with 100% similarity]
samples/CSharp/WPF_D3D/res/view_right.png [copied from samples/CSharp/WPF/res/view_right.png with 100% similarity]
samples/CSharp/WPF_D3D/res/view_rotate.png [copied from samples/CSharp/WPF/res/view_rotate.png with 100% similarity]
samples/CSharp/WPF_D3D/res/view_top.png [copied from samples/CSharp/WPF/res/view_top.png with 100% similarity]
samples/CSharp/WPF_D3D/res/view_zoom.png [copied from samples/CSharp/WPF/res/view_zoom.png with 100% similarity]
samples/CSharp/WPF_WinForms/About.xaml [moved from samples/CSharp/WPF/About.xaml with 88% similarity]
samples/CSharp/WPF_WinForms/About.xaml.cs [moved from samples/CSharp/WPF/About.xaml.cs with 97% similarity]
samples/CSharp/WPF_WinForms/App.xaml [moved from samples/CSharp/WPF/App.xaml with 90% similarity]
samples/CSharp/WPF_WinForms/App.xaml.cs [moved from samples/CSharp/WPF/App.xaml.cs with 91% similarity]
samples/CSharp/WPF_WinForms/IECommands.cs [moved from samples/CSharp/WPF/IECommands.cs with 98% similarity]
samples/CSharp/WPF_WinForms/IE_WPF_WinForms.csproj [moved from samples/CSharp/WPF/IE_WPF.csproj with 86% similarity]
samples/CSharp/WPF_WinForms/MainWindow.xaml [moved from samples/CSharp/WPF/MainWindow.xaml with 99% similarity]
samples/CSharp/WPF_WinForms/MainWindow.xaml.cs [moved from samples/CSharp/WPF/MainWindow.xaml.cs with 99% similarity]
samples/CSharp/WPF_WinForms/MaterialDlg.xaml [moved from samples/CSharp/WPF/MaterialDlg.xaml with 95% similarity]
samples/CSharp/WPF_WinForms/MaterialDlg.xaml.cs [moved from samples/CSharp/WPF/MaterialDlg.xaml.cs with 98% similarity]
samples/CSharp/WPF_WinForms/OCCViewer.cs [moved from samples/CSharp/WPF/OCCViewer.cs with 99% similarity]
samples/CSharp/WPF_WinForms/Properties/AssemblyInfo.cs [moved from samples/CSharp/WPF/Properties/AssemblyInfo.cs with 100% similarity]
samples/CSharp/WPF_WinForms/Properties/Resources.Designer.cs [moved from samples/CSharp/WPF/Properties/Resources.Designer.cs with 90% similarity]
samples/CSharp/WPF_WinForms/Properties/Resources.resx [moved from samples/CSharp/WPF/Properties/Resources.resx with 100% similarity]
samples/CSharp/WPF_WinForms/Properties/Settings.Designer.cs [moved from samples/CSharp/WPF/Properties/Settings.Designer.cs with 90% similarity]
samples/CSharp/WPF_WinForms/Properties/Settings.settings [moved from samples/CSharp/WPF/Properties/Settings.settings with 100% similarity]
samples/CSharp/WPF_WinForms/Simple Styles.xaml [moved from samples/CSharp/WPF/Simple Styles.xaml with 100% similarity]
samples/CSharp/WPF_WinForms/TransparencyDialog.cs [moved from samples/CSharp/WPF/TransparencyDialog.cs with 99% similarity]
samples/CSharp/WPF_WinForms/TransparencyDialog.resx [moved from samples/CSharp/WPF/TransparencyDialog.resx with 100% similarity]
samples/CSharp/WPF_WinForms/app.config [moved from samples/CSharp/WPF/app.config with 100% similarity]
samples/CSharp/WPF_WinForms/res/MainFrame.ico [moved from samples/CSharp/WPF/res/MainFrame.ico with 100% similarity]
samples/CSharp/WPF_WinForms/res/document.png [moved from samples/CSharp/WPF/res/document.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/help.png [moved from samples/CSharp/WPF/res/help.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/lamp.png [moved from samples/CSharp/WPF/res/lamp.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/new.png [moved from samples/CSharp/WPF/res/new.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/occ_logo.bmp [moved from samples/CSharp/WPF/res/occ_logo.bmp with 100% similarity]
samples/CSharp/WPF_WinForms/res/tool_color.png [moved from samples/CSharp/WPF/res/tool_color.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/tool_delete.png [moved from samples/CSharp/WPF/res/tool_delete.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/tool_material.png [moved from samples/CSharp/WPF/res/tool_material.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/tool_shading.png [moved from samples/CSharp/WPF/res/tool_shading.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/tool_transparency.png [moved from samples/CSharp/WPF/res/tool_transparency.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/tool_wireframe.png [moved from samples/CSharp/WPF/res/tool_wireframe.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/view_axo.png [moved from samples/CSharp/WPF/res/view_axo.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/view_back.png [moved from samples/CSharp/WPF/res/view_back.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/view_bottom.png [moved from samples/CSharp/WPF/res/view_bottom.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/view_comp_off.png [moved from samples/CSharp/WPF/res/view_comp_off.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/view_comp_on.png [moved from samples/CSharp/WPF/res/view_comp_on.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/view_fitall.png [moved from samples/CSharp/WPF/res/view_fitall.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/view_fitarea.png [moved from samples/CSharp/WPF/res/view_fitarea.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/view_front.png [moved from samples/CSharp/WPF/res/view_front.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/view_glpan.png [moved from samples/CSharp/WPF/res/view_glpan.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/view_left.png [moved from samples/CSharp/WPF/res/view_left.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/view_pan.png [moved from samples/CSharp/WPF/res/view_pan.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/view_reset.png [moved from samples/CSharp/WPF/res/view_reset.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/view_right.png [moved from samples/CSharp/WPF/res/view_right.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/view_rotate.png [moved from samples/CSharp/WPF/res/view_rotate.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/view_top.png [moved from samples/CSharp/WPF/res/view_top.png with 100% similarity]
samples/CSharp/WPF_WinForms/res/view_zoom.png [moved from samples/CSharp/WPF/res/view_zoom.png with 100% similarity]
samples/CSharp/msvc.bat
samples/CSharp/msvc_D3D.bat [new file with mode: 0644]
samples/CSharp/run_wpf.bat
samples/CSharp/run_wpf_D3D.bat [new file with mode: 0644]