vtkVoxelGrid color problem

Hello, I have a pointcloud that I want to downsample with a vtkVoxelGrid. The problem is when I dowmsampled my vtkPoints, I loose point’s color, how can I solve this problem ?

vtkNew<vtkVertexGlyphFilter> m_glyphFilterp;
vtkNew<vtkPolyDataMapper> m_mapperp;
vtkNew<vtkActor> m_actorp;
vtkNew<vtkVoxelGrid> voxelFilter;

m_polydatap->SetPoints(m_points);
m_polydatap->GetPointData()->SetScalars(m_colors);

voxelFilter->SetInputData(m_polydatap);
voxelFilter->Update();

m_glyphFilterp->SetInputConnection(voxelFilter->GetOutputPort());
m_glyphFilterp->Update();

m_mapperp->SetInputConnection(m_glyphFilterp->GetOutputPort());

m_mapperp->Update();
m_actorp->SetMapper(m_mapperp);
m_actorp->GetProperty()->SetPointSize(2);

m_vtkrenderer->renderer()->AddActor(m_actorp);

Thanks for your help

vtkVoxelGrid do an average of points inside a BoundingBox and so “create a new point”, how to get a proper color to this point ?