13 #ifndef vtkPainterCommunicator_h
14 #define vtkPainterCommunicator_h
16 #include "vtkRenderingLICOpenGL2Module.h"
18 VTK_ABI_NAMESPACE_BEGIN
33 this->Copy(&other,
false);
A communicator that can safely be used inside a painter.
virtual void Duplicate(const vtkPainterCommunicator *)
Duplicate the communicator.
virtual int GetWorldSize()
vtkPainterCommunicator()=default
vtkPainterCommunicator & operator=(const vtkPainterCommunicator &other)
virtual bool GetMPIInitialized()
Query MPI about its state.
virtual bool GetMPIFinalized()
vtkPainterCommunicator(const vtkPainterCommunicator &other)
Copy and assignment operators.
virtual void Copy(const vtkPainterCommunicator *, bool)
Copy the communicator, the flag indicates if ownership should be assumed.
virtual ~vtkPainterCommunicator()=default
virtual int GetRank()
Query MPI about the communicator.
virtual int GetWorldRank()
Query MPI about the world communicator.