VTKFIG  0.20.20181114
Easy VTK based in situ visualization
void vtkfig::Frame::AddFigure ( Figure figure,
int  ipos 
)

Add figure at position in frame.

Parameters
figureFigure to be added
iposNumber of position in frame grid

Definition at line 71 of file vtkfigFrame.cxx.

72  {
73  if (ipos>=nvpx*nvpy)
74  SetAutoLayout(ipos+1);
75 
76  this->figures.insert(fig);
77  fig->framepos=ipos;
78  parameter.current_figure=fig;
80  }
int nvpx
Number of viewports in x direction.
Definition: vtkfigFrame.h:313
void SetAutoLayout(int nfig)
Definition: vtkfigFrame.cxx:41
int nvpy
Number of viewports in y direction.
Definition: vtkfigFrame.h:316
struct vtkfig::Frame::@2 parameter
Parameters to be passed between threads.
std::set< Figure * > figures
List of all figures in frame.
Definition: vtkfigFrame.h:310
void SendCommand(std::string source, internals::Communicator::Command cmd)
Blocking send of commands to main thread.

+ Here is the call graph for this function: