[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtkusers
Subject:    [vtkusers] VTK rendered as an ActiveX control
From:       "Phil Goddard" <philgoddard () telus ! net>
Date:       2008-08-26 3:57:58
Message-ID: 5380C98037D64B15ABD016AC0DF2C1CC () THINKPADT43
[Download RAW message or body]


I'm about to start developing an ActiveX control for visualizing some VTK
objects.
(I am aware of ActiViz/COM, unfortunately KitWare only compile it for 32-bit
platforms -- I've asked -- and I will be deploying on a 64-bit machine.)

From searching the mailing list archive it seems that some people have
successfully done this before, however I couldn't find any specifics.
Before I completely reinvent the wheel, I'm wondering if anyone would be
willing to share their experience, and briefly describe the steps they went
through.

Data transfer is straight forward, in that I already have a COM interface
developed (which currently creates a separate vtkWin32OpenGLRenderer window
rather than embedding the visualization in a control).
What I'm particularly hoping to get pointers on are what the onDraw and
onResize methods of an ActiveX control should look like.
(Do I need to write my own OpenGL rendering routine from scratch?
Can I subclass any existing objects and if so which one(s)?)

Any thoughts greatly appreciated,
Phil.


_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic