<div>Thank you,</div>
<div> </div>
<div>I had come across the vtk example for off screen rendering:</div>
<div><a title="https://lorensen.github.io/VTKExamples/site/Cxx/Utilities/OffScreenRendering/" href="https://lorensen.github.io/VTKExamples/site/Cxx/Utilities/OffScreenRendering/">https://lorensen.github.io/VTKExamples/site/Cxx/Utilities/OffScreenRendering/</a></div>
<div> </div>
<div>The given exam<span style="font-family: arial, helvetica, sans-serif;">ple has the following code</span>: </div>
<div>
<pre style="box-sizing: inherit; color: #37474f; font-feature-settings: 'kern'; font-family: 'Roboto Mono', 'Courier New', Courier, monospace; font-size: 13.6px; position: relative; margin-top: 0px; margin-bottom: 0px; border-radius: 0.2rem; line-height: 1.4; padding: 1.05rem 1.2rem; overflow: auto; vertical-align: top;"><span class="cp" style="box-sizing: inherit; color: #666666;">if VTK_MAJOR_VERSION >= 6</span>
<span class="kt" style="box-sizing: inherit; color: #3e61a2;">int</span> <span class="nf" style="box-sizing: inherit; color: #c2185b;">main</span><span class="p" style="box-sizing: inherit;">(</span><span class="kt" style="box-sizing: inherit; color: #3e61a2;">int</span><span class="p" style="box-sizing: inherit;">,</span> <span class="kt" style="box-sizing: inherit; color: #3e61a2;">char</span> <span class="o" style="box-sizing: inherit; color: inherit;">*</span><span class="n" style="box-sizing: inherit;">argv</span><span class="p" style="box-sizing: inherit;">[])</span>
<span class="p" style="box-sizing: inherit;">{</span>
<span class="hll" style="box-sizing: inherit; display: block; margin: 0px -1.2rem; padding: 0px 1.2rem; background-color: rgba(240, 240, 240, 0.8);">  <span class="n" style="box-sizing: inherit;">std</span><span class="o" style="box-sizing: inherit; color: inherit;">::</span><span class="n" style="box-sizing: inherit;">cout</span> <span class="o" style="box-sizing: inherit; color: inherit;"><<</span> <span class="n" style="box-sizing: inherit;">argv</span><span class="p" style="box-sizing: inherit;">[</span><span class="mi" style="box-sizing: inherit; color: #e74c3c;">0</span><span class="p" style="box-sizing: inherit;">]</span> <span class="o" style="box-sizing: inherit; color: inherit;"><<</span> <span class="s" style="box-sizing: inherit; color: #0d904f;">" requires VTK 5.10 or earlier. This VTK version is "</span> <span class="o" style="box-sizing: inherit; color: inherit;"><<</span> <span class="n" style="box-sizing: inherit;">vtkVersion</span><span class="o" style="box-sizing: inherit; color: inherit;">::</span><span class="n" style="box-sizing: inherit;">GetVTKVersion</span><span class="p" style="box-sizing: inherit;">()</span> <span class="o" style="box-sizing: inherit; color: inherit;"><<</span> <span class="n" style="box-sizing: inherit;">std</span><span class="o" style="box-sizing: inherit; color: inherit;">::</span><span class="n" style="box-sizing: inherit;">endl</span><span class="p" style="box-sizing: inherit;">;</span>
</span>  <span class="k" style="box-sizing: inherit; color: #3b78e7;">return</span> <span class="n" style="box-sizing: inherit;">EXIT_SUCCESS</span><span class="p" style="box-sizing: inherit;">;</span>
<span class="p" style="box-sizing: inherit;">}</span>
<span class="cp" style="box-sizing: inherit; color: #666666;">#else<br /></span><br /><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">Which is why I thought vtk 5.10 or earlier was required. Perhaps the example for it should be cleaned up a little to avoid confusion? <br /><br />Thanks for the help,<br />-Mark</span></pre>
</div>
<div> </div>
<blockquote class="threadBlockQuote" style="border-left: 2px solid #C2C2C2; padding-left: 3px; margin-left: 4px;">--------- Original Message ---------
<div>Subject: Re: [vtkusers] Project 3D Data onto a plane in vtk 8 or later<br />From: "Allie Vacanti" <allison.vacanti@kitware.com><br />Date: 8/29/18 3:20 pm<br />To: mark.ostroot@lickenbrocktech.com<br />Cc: "vtk vtk" <vtkusers@vtk.org><br /><br />
<div dir="ltr">You can still use offscreen rendering. Just call SetOffScreenRendering(true) on the vtkRenderWindow.
<div> </div>
<div><a href="https://www.vtk.org/doc/nightly/html/classvtkWindow.html#a11d4345f6fcb406a0032a4e9721a9580">https://www.vtk.org/doc/nightly/html/classvtkWindow.html#a11d4345f6fcb406a0032a4e9721a9580</a></div>
</div>
<div class="gmail_extra"><br />
<div class="gmail_quote">On Mon, Aug 27, 2018 at 9:54 AM, <span dir="ltr"><<a href="mailto:mark.ostroot@lickenbrocktech.com" target="_blank">mark.ostroot@lickenbrocktech.com</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">
<div>Hello,</div>
<div> </div>
<div>I am trying to project some 3D data onto a plane without using a render window. In the older VTK versions there was an off-screen renderer, but in all of the example code I have seen there seems to be a stipulation that you need to use vtk 5.0 or earlier for that feature. Im looking for the same functionality as the offscreen renderer essentially. Please let me know if you have any ideas.</div>
<div> </div>
<div>Thank you,</div>
<div>-Mark</div>
<br />_______________________________________________<br /> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br /> <br /> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br /> <br /> Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br /> <br /> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br /> <br /> Follow this link to subscribe/unsubscribe:<br /> <a href="https://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/vtkusers</a><br /> </blockquote>
</div>
</div>
</div>
</blockquote>