<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.commontk.org/index.php?action=history&amp;feed=atom&amp;title=Documentation%2FInterfacing_Via_OpenGL</id>
	<title>Documentation/Interfacing Via OpenGL - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.commontk.org/index.php?action=history&amp;feed=atom&amp;title=Documentation%2FInterfacing_Via_OpenGL"/>
	<link rel="alternate" type="text/html" href="https://www.commontk.org/index.php?title=Documentation/Interfacing_Via_OpenGL&amp;action=history"/>
	<updated>2026-04-13T03:28:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://www.commontk.org/index.php?title=Documentation/Interfacing_Via_OpenGL&amp;diff=91&amp;oldid=prev</id>
		<title>Pieper: Created page with &#039; &#039;&#039;This is a development idea for discussion and experimentation at the May, 2010 Hackfest&#039;&#039;  == Possible vtkXIPActor (or vtkOpenInventorActor) ==  === …&#039;</title>
		<link rel="alternate" type="text/html" href="https://www.commontk.org/index.php?title=Documentation/Interfacing_Via_OpenGL&amp;diff=91&amp;oldid=prev"/>
		<updated>2010-05-14T15:24:57Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039; &amp;#039;&amp;#039;This is a development idea for discussion and experimentation at the &lt;a href=&quot;/index.php?title=CTK-Hackfest-May-2010&quot; title=&quot;CTK-Hackfest-May-2010&quot;&gt;May, 2010 Hackfest&lt;/a&gt;&amp;#039;&amp;#039;  == Possible vtkXIPActor (or vtkOpenInventorActor) ==  === …&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&amp;#039;&amp;#039;This is a development idea for discussion and experimentation at the [[CTK-Hackfest-May-2010|May, 2010 Hackfest]]&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Possible vtkXIPActor (or vtkOpenInventorActor) ==&lt;br /&gt;
&lt;br /&gt;
=== Proof of Concept ===&lt;br /&gt;
* A link between vtk and xip could be done by following the example of the [http://www.slicer.org/slicerWiki/index.php/Slicer3:Python:ScriptedActor vtkOpenGLScriptedActor].  In this example:&lt;br /&gt;
** vtk sets up the rendering context as it normally does during a call to the Render() method on a vtkOpenGLRenderWindow&lt;br /&gt;
** the actor&amp;#039;s Render() method is responsible for calling the OpenGL API (in this case using PyOpenGL.&lt;br /&gt;
* It should be possible to encapsulate OpenInventor scene graphs inside a similar structure.&lt;br /&gt;
&lt;br /&gt;
===Open issues ===&lt;br /&gt;
* Mapping vtk events into OpenInventor events so that it is possible to interact with the XIP scene&lt;br /&gt;
* Mapping xip inputs (like volume data) generically to a &amp;quot;Set*&amp;quot; methods on the vtk object.&lt;br /&gt;
&lt;br /&gt;
=== Possible Usage ===&lt;br /&gt;
&lt;br /&gt;
 vtkXIPActor *xipActor = vtkXIPActor::New();&lt;br /&gt;
 xipActor-&amp;gt;SetSceneGraph(&amp;quot;XIPSampleScene.iv&amp;quot;);&lt;br /&gt;
 renderer-&amp;gt;AddActor(xipActor);&lt;br /&gt;
 renderWindow-&amp;gt;Render();&lt;/div&gt;</summary>
		<author><name>Pieper</name></author>
	</entry>
</feed>