1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-08 14:17:06 +03:00

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.
This commit is contained in:
dln
2014-06-03 10:11:33 +04:00
committed by bugmaster
parent 2ab7a755c2
commit 15534713ba
115 changed files with 6289 additions and 48 deletions

View File

@@ -1,4 +1,4 @@
OCCT CSharp sample {#samples_csharp}
OCCT CSharp sample {#samples_csharp_occt}
==================
This sample demonstrates simple way of using OCCT libraries in .Net application
@@ -14,7 +14,7 @@ The sample implements two approaches for organizing user interface with C#.
Both applications provide the same functionality as the standard OCCT
Import/Export sample.
First project is called "IE_WinForms" and uses Windows Forms for GUI.
Second application is called "IE_WPF" and uses Windows Presentation Foundation.
Second application is called "IE_WPF_WinForms" and uses Windows Presentation Foundation.
Note a few important details:
@@ -39,7 +39,7 @@ Note a few important details:
control embedding OCCT viewer.
Run msvc.bat to start MS Visual Studio for building the sample.
Note that project files are provided only for VS 2008, you can open them in
Note that project files are provided only for VS 2010, you can open them in
newer versions of Visual Studio using automatic converter.
After conversion check option "Target framework" in properties of C# projects
(tab "Application") to ensure that it corresponds to the version set in
@@ -51,4 +51,4 @@ Note that all batch scripts use configuration defined in OCCT custom.bat file
as default; you can provide arguments specifying VS version, bitness, and mode
to override these settings, e.g.:
> msvc.bat vc9 win64 Debug
> msvc.bat vc10 win64 Debug