[vtkusers] Get "vertex color array" from vtkPolyData

Cory Quammen cory.quammen at kitware.com
Fri Apr 21 14:52:00 EDT 2017


`vtkUnsignedCharArray* vtkMapper::GetColorMapColors()` looks like it
also gets you the vertex colors, though I haven't used it myself.

- Cory

On Fri, Apr 21, 2017 at 2:33 PM, alanwsx <wushx6 at gmail.com> wrote:
> Hey, I found the solution. You can read by PCL::IO::ReadPLY and then convert
> it to VTK style.
>
> It is really weird why they don't have this function itself in VTK.
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Get-vertex-color-array-from-vtkPolyData-tp5717618p5742939.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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers



-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.


More information about the vtkusers mailing list