[vtkusers] hide vertices
David E DeMarle
dave.demarle at kitware.com
Mon Feb 6 09:55:04 EST 2012
I don't think so, vtkPolydata is more about holding data than it is
for rendering.
I suggest adding a visibility array and sending the polydata through a
thresholding type filter to remove the non visible elements before
rendering.
Either that, or write a new vtkPolyDataPainter that knows about the
array and respects the flag by deciding what primitives to send to GL
and what not to.
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Mon, Feb 6, 2012 at 9:24 AM, youpie <meriadegp at yahoo.fr> wrote:
> Hi,
>
> I use setVertex on vtkPolydata and I see the points on the view. It's
> perfect
> But now i want to know if I can hide them without destroy them.
> There is something like polyData->setVerticesVisibility( bool visibility )
>
> Same questions for Lines and Polygons
>
>
> Thanks on advance
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/hide-vertices-tp5460178p5460178.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list