I have some colors corresponding to points. How to render point clouds and set colors for each point

The best is probably for you to find in the code some examples that use vtkColorTransferFunction. You will see how you can do the color mapping (convert a scalar to a color) in the GPU (the colortransferfunction is a mapper property).