[vtkusers] Windows Forms Application and VTK under Visual C++ 2005

Bob Palank bob at stlcc.org
Sat Apr 14 16:59:59 EDT 2007


Following the MVC pattern, has anyone developed a VC++.Net application where
one form holds the controls and the other form displays the image.  I would
still like the display form  to have the mouse rotate and zoom controls.  I
think I'm just adding to the previous message for clarity.
BR
  Bob
  -----Original Message-----
  From: vtkusers-bounces+bob=stlcc.org at vtk.org
[mailto:vtkusers-bounces+bob=stlcc.org at vtk.org]On Behalf Of Meisam Aliroteh
  Sent: Friday, April 13, 2007 12:55 PM
  To: vtkusers at vtk.org
  Subject: [vtkusers] Windows Forms Application and VTK under Visual C++
2005


  Hi,

  I have downloaded the latest source code for vtk and the latest cmake and
was able to compile VTK using Visual C++ 2005. I have also been able to
create some simple console application to render a sphere. I used cmake to
create the VS8 solution, opened the solution with VC++ and added the code
( i.e actor, renderer, interactor) for rendering a sphere on the screen.

  I would like to know if there is a rather easy and simple way to have a
Windows Forms Application instead of a Console Application, and have VTK
render/interact with that form. Basically, I would like to use VS8 IDE to
design the GUI of my form and VTK to do the 3D rendering !!!

  Thanks
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/760 - Release Date: 4/13/2007
8:04 PM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070414/91ba5a96/attachment.htm>


More information about the vtkusers mailing list