VTKFIG  0.20.20181114
Easy VTK based in situ visualization
void vtkfig::Figure::ReceiveRGBTable ( vtkSmartPointer< internals::Communicator communicator,
RGBTable rgbtab 
)
staticprotected

Receive rgb table from client.

Definition at line 210 of file vtkfigFigure.cxx.

211  {
212  int tabsize;
213  communicator->ReceiveInt(tabsize);
214  rgbtab.resize(tabsize);
215  communicator->ReceiveDoubleBuffer((double*)rgbtab.data(),rgbtab.size()*sizeof(RGBPoint)/sizeof(double));
216  }