<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>VTK on CamiTK</title>
    <link>https://camitk.timc.fr/docs/extensiondeveloper/advanced-topics/vtk/</link>
    <description>Recent content in VTK on CamiTK</description>
    <generator>Hugo</generator>
    <language>en</language>
    <atom:link href="https://camitk.timc.fr/docs/extensiondeveloper/advanced-topics/vtk/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Using VTKWidget (interactive widget in 3D)</title>
      <link>https://camitk.timc.fr/docs/extensiondeveloper/advanced-topics/vtk/using-vtkwidget/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://camitk.timc.fr/docs/extensiondeveloper/advanced-topics/vtk/using-vtkwidget/</guid>
      <description>&lt;img src=&#39;https://camitk.timc.fr/icons/developer/cpp_logo.svg&#39; style=&#39;height: 2em; vertical-align: middle;&#39;/&gt;&#xA;&lt;p&gt;VTK widgets are useful for 3D interactive actions. They can be easily added in CamiTK actions.&#xA;This page gives you a step by step to add an interactive VTK widget in the default 3D viewer in an action.&lt;/p&gt;&#xA;&lt;h2 id=&#34;creating-a-class-for-your-widget&#34;&gt;Creating a class for your widget&lt;/h2&gt;&#xA;&lt;p&gt;The first step is the creation of a class for the VTK widget. This class&#xA;must inherit from the vtkCommand class.&lt;/p&gt;&#xA;&lt;p&gt;Example with a vtkImplicitPlaneWidget :&lt;/p&gt;</description>
    </item>
    <item>
      <title>Interactive display the results of a VTK pipeline in 3D</title>
      <link>https://camitk.timc.fr/docs/extensiondeveloper/advanced-topics/vtk/interactive-3d-processing/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://camitk.timc.fr/docs/extensiondeveloper/advanced-topics/vtk/interactive-3d-processing/</guid>
      <description>&lt;img src=&#39;https://camitk.timc.fr/icons/developer/cpp_logo.svg&#39; style=&#39;height: 2em; vertical-align: middle;&#39;/&gt;&#xA;&lt;h2 id=&#34;how-to-temporarily-display-the-output-of-a-vtk-filter&#34;&gt;How to temporarily display the output of a vtk filter&lt;/h2&gt;&#xA;&lt;p&gt;This method avoid the creation of a new Component : the output of a vtk&#xA;filter can be displayed by only changing the data connection of the&#xA;initial &lt;code&gt;Component&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The &lt;code&gt;Geometry&lt;/code&gt; service &lt;code&gt;getDataPort()&lt;/code&gt; and &lt;code&gt;setDataConnection()&lt;/code&gt; allow you to&#xA;temporarily connect the VTK pipeline between the original data and the visualization.&#xA;The VTK pipeline is added without modifying the initial mesh data, but its results will be seen in the 3D viewers.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
