Hello All,<br><br>I am not sure if this is the right place to ask for help but I didnt have any help with vtkusers so I had posted here too. I hope that some vtk expert takes a look and responds.<br>I am reposting my query. Thanks very much.<br>
<br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Bhanu Hariharan</b> <span dir="ltr">&lt;<a href="mailto:bhanu@petrotel.com">bhanu@petrotel.com</a>&gt;</span><br>Date: Tue, Feb 12, 2013 at 11:01 AM<br>
Subject: Help with vtkDataSetSurfaceFilter<br>To: <a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a><br><br><br><div class="gmail_quote"><div><div><br><div class="gmail_quote">Hello,<br>I was wondering if I can get some help with using vtkDataSetSurfaceFilter in my code.<div>
<div class="h5"><br><br>I have a large 3D Grid - UnstructuredGrid where each grid block has 8 coordinates/nodes. To improve rendering speed, I want to render only the grid blocks that lie on the outer surface since inside grid blocks are not needed in the visualization unless the user slices through the layers.<br>



<br>I think vtkDataSetSurfaceFilter can be used for this purpose.<br><br>So this is what I did, I created my vtkUnstructuredGrid, specifying points and cells. Then I pass the vtkUnstructuredGrid through some filters using vtkThreshold.<br>



I am specifying the output of that filter to be the input to vtkDataSetSurfaceFilter like this.<br><br>dataSetSurfaceFilter-&gt;SetInput( value_threshold_filter-&gt;GetOutput()); <br><br>Using like this, I am not seeing any performance difference. So I dont know if its even doing anything.<br>



<br>My question is if this is the right way to do it. Can dataSetSurfaceFilter take vtkTreshold&#39;s output as input.<br>or does it work only with specific inputs like Structured Grids or Unstructured Grids only. How can I tell anyway.<br>



<br><br>If someone can suggest a better way to see just surface cells (skin ?)  or suggest anything wrong with how I am doing,  I will really appreciate it.<br><br>Thanks very much.<span><font color="#888888"><br>
Bhanu<br><br><br><br><br>
</font></span></div></div></div><br>
</div></div></div><br>
</div><br>