14#ifndef vtkPPainterCommunicator_h
15#define vtkPPainterCommunicator_h
18#include "vtkRenderingParallelLICModule.h"
20VTK_ABI_NAMESPACE_BEGIN
21class vtkPPainterCommunicatorInternals;
22class vtkMPICommunicatorOpaqueComm;
36 this->
Copy(&other,
false);
41 this->
Copy(&other,
false);
110 vtkPPainterCommunicatorInternals* Internals;
static vtkMPICommunicatorOpaqueComm * GetGlobalCommunicator()
Get VTK's world communicator.
int GetSize() override
Query MPI for information about the communicator.
bool GetMPIFinalized() override
int GetWorldSize() override
Query MPI for information about the world communicator.
vtkPPainterCommunicator & operator=(const vtkPPainterCommunicator &other)
void Copy(const vtkPainterCommunicator *other, bool ownership) override
Copy the communicator.
vtkPPainterCommunicator(const vtkPPainterCommunicator &other)
Copier and assignment operators.
void Duplicate(const vtkPainterCommunicator *other) override
Duplicate the communicator.
void * GetCommunicator()
Set/Get the communicator.
static bool MPIFinalized()
vtkPPainterCommunicator()
void SubsetCommunicator(vtkMPICommunicatorOpaqueComm *comm, int include)
Creates a new communicator with/without the calling processes as indicated by the passed in flag,...
static bool MPIInitialized()
void SetCommunicator(vtkMPICommunicatorOpaqueComm *comm)
Set/Get the communicator.
int GetRank() override
Query MPI for information about the communicator.
void GetCommunicator(vtkMPICommunicatorOpaqueComm *comm)
Set/Get the communicator.
int GetWorldRank() override
Query MPI for information about the world communicator.
bool GetMPIInitialized() override
Query MPI state.
bool GetIsNull() override
Query MPI for information about the communicator.
~vtkPPainterCommunicator() override
A communicator that can safely be used inside a painter.
virtual void Copy(const vtkPainterCommunicator *, bool)
Copy the communicator, the flag indicates if ownership should be assumed.