<div dir="ltr">Manjunath,<div><br></div><div><span style="font-size:12.8000001907349px">vtkExtractRectilinearGrid is a vtkAlgorithm subclass - it read's data and produces data - while vtkRectilinearGrid is a subclass of vtkDataObject - it stores data. No conversion between the two is possible.</span><br></div><div><br></div><div><span style="font-size:12.8000001907349px">What you need to do is call vtkExtractRectilinearGrid::GetOutput() to get the </span><span style="font-size:12.8000001907349px">vtkRectilinearGrid. Make sure to call </span><span style="font-size:12.8000001907349px">vtkExtractRectilinearGrid::Update() before you call GetOutput() so that the output data is up-to-date.</span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div>Best regards,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 17, 2015 at 1:36 AM, Manjunath K E <span dir="ltr"><<a href="mailto:ke.manjunath@gmail.com" target="_blank">ke.manjunath@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi,<br></div><div><br></div>I am Manjunath, working on ocean visualization.<br></div></div></div></div><div>I
have generated certain volume of interest (VOI) using
vtkExtractRectilinearGrid type. Now I would like to render
vtkExtractRectilinearGrid as "vtkRectilinearGrid" type.<br><br></div>I would like to know how to convert "vtkExtractRectilinearGrid" data type to "vtkRectilinearGrid" type.<br><br><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#ff0000"> </font><font color="#ff6600">Thanks and Regards,</font></div><div><font color="#3366ff"><br></font></div><div><span style="color:rgb(51,102,255)"> Manjunath K E</span><font color="#3366ff"></font></div><div><font color="#3366ff"> <span style="color:rgb(241,194,50)">Help Ever Hurt Never</span><br></font></div><div><font color="#3366ff"> </font></div></div></div></div></div></div></div></div></div></div>
</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="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>