[vtkusers] VTK rendered as an ActiveX control
Phil Goddard
philgoddard at telus.net
Mon Aug 25 23:57:58 EDT 2008
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.
More information about the vtkusers
mailing list