Server-Client receive.
575 communicator->ReceiveString(
title);
576 communicator->ReceiveString(
xtitle);
577 communicator->ReceiveString(
ytitle);
582 communicator->ReceiveInt(np);
583 communicator->ReceiveInt(npi);
584 std::vector<PlotInfo> NewPlotInfo(npi);
585 char *data=(
char*)NewPlotInfo.data();
586 int ndata=npi*
sizeof(PlotInfo);
587 communicator->ReceiveCharBuffer(data,ndata);
590 for (
int i=0;i<np;i++)
599 communicator->Receive(plot.X,1,1);
600 communicator->Receive(plot.Y,1,1);
void AddPlot()
Internal addplot after plot data have been filled.
struct vtkfig::XYPlot::@4 PlotState
General state of the XYPlot.
vtkSmartPointer< vtkXYPlotActor > XYPlotActor
The main graphics actor.
PlotInfo NextPlotInfo
"finite state machine" struture accumulating repective info for next plot
int num_curves
Number of all curves including grid lines.
size_t num_plots
Number of "real" plots.
std::vector< PlotData > AllPlotData
vector holding data of all plots
void Clear()
Remove all data from plot.