c# - How to use C++ render from WPF project -
i have c++ application own core , render (i'm using vtk), have vtkrenderwindow, , want put c# wpf project.
i have managed dll use core c#, works (lets basic functionality, instantiate managed dll object, make calculations, nothing render) don't know how put render c# window.
i'm not using c# wrapper, want put render c# wpf project, how can that?? there wpf generic widget allow that??
thks in advance!!
i've done in winforms , vtk 5.x, there may newer solution wpf , vtk 6 out there.
the vtkformswindowcontrol.dll in vtk allows wrap vtkrenderer can displayed in winforms. here's vtk documentation links , examples: http://vtkdotnet.sourceforge.net/programming.html
you can host winforms control in wpf: https://msdn.microsoft.com/en-us/library/ms751761(v=vs.110).aspx
edit add version numbers , link.
Comments
Post a Comment