[vtkusers] Segmenting Visible Points from Polydata

David Doria daviddoria at gmail.com
Thu Sep 22 15:13:18 EDT 2011


On Thu, Sep 22, 2011 at 2:59 PM, Daniel Mirota <dan at cs.jhu.edu> wrote:
> Dear VTKusers,
>
> I am still fairly new to VTK and I am trying to use it to segment the
> visible points from a mesh (Polydata).  I followed the tutorial I
> found for using vtkSelectVisiblePoints (
> http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/Annotation/Cxx/LabeledMesh/LabeledMesh.cxx
> ) how it is returning all of the points in the view frustum not just
> the closest points.  I tried vtkHardwareSelector (
> http://vtk.org/gitweb?p=VTK.git;a=blob;f=Rendering/Testing/Cxx/TestAreaSelections.cxx
> ) but it returned no points.  The code is rewritten to provide a c
> library interface.  The methods are called in the order they appear in
> the source by a client program.
>
> I'm using the vtk version the Slicer github  github.com/pieper/SlicerVTK.git
>

Have you seen this?

http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/SelectVisiblePoints

David



More information about the vtkusers mailing list