Hi , I realized visibility by adding unsigned char array to polydata (0= not visible, 1=visible) and than thresholding visible points/cells by vtkThresholdPoints. Here is example<div><br></div><div>







<p class="p1"><span class="s1">    </span>// Select only used lights</p>
<p class="p2">    vtkSmartPointer&lt;vtkThresholdPoints&gt; thresholdF = vtkSmartPointer&lt;vtkThresholdPoints&gt;::New();</p><p class="p2">thresholdF-&gt;ThresholdBetween(<span class="s2">1</span>, <span class="s2">1</span>);</p>

<p class="p2">    lightsDirections-&gt;GetPointData()-&gt;SetActiveScalars(<span class="s3">&quot;Is_Used&quot;</span>);</p>
<p class="p2">    thresholdF-&gt;SetInputArrayToProcess(<span class="s2">0</span>, <span class="s2">0</span>, <span class="s2">0</span>, vtkDataObject::FIELD_ASSOCIATION_POINTS, <span class="s3">&quot;Is_Used&quot;</span>);</p>

<p class="p1"><span class="s1">    </span>//thresholdF-&gt;SetInput(lightsDirections);</p>
<p class="p2">    thresholdF-&gt;SetInputConnection(<span class="s2">0</span>,filterGDL-&gt;GetOutputPort(<span class="s2">1</span>));</p></div>