Compute a vertex coloring for a distributed, undirected vtkGraph, where each vertex has a color distinct from the colors of its adjacent vertices.
More...
#include <vtkPBGLVertexColoring.h>
Inherits vtkGraphAlgorithm.
Compute a vertex coloring for a distributed, undirected vtkGraph, where each vertex has a color distinct from the colors of its adjacent vertices.
This VTK class uses the Parallel BGL's implementation of Boman et al's parallel vertex coloring algorithm.
- Tests:
- vtkPBGLVertexColoring (Tests)
Definition at line 44 of file vtkPBGLVertexColoring.h.
vtkPBGLVertexColoring::vtkPBGLVertexColoring |
( |
| ) |
|
|
protected |
vtkPBGLVertexColoring::~vtkPBGLVertexColoring |
( |
| ) |
|
|
protected |
static int vtkPBGLVertexColoring::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkPBGLVertexColoring::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkPBGLVertexColoring::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkPBGLVertexColoring::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkPBGLVertexColoring::SetBlockSize |
( |
vtkIdType |
| ) |
|
|
virtual |
Sets the block size of the algorithm, which is the number of vertices whose colors will be assigned before the processes resynchronize.
virtual vtkIdType vtkPBGLVertexColoring::GetBlockSize |
( |
| ) |
|
|
virtual |
Retrieve the block size of the algorithm.
virtual void vtkPBGLVertexColoring::SetColorArrayName |
( |
const char * |
| ) |
|
|
virtual |
Set the name of the vertex color output array, which contains the color of each vertex (a non-negative value). If no color array name is set then the name 'Color' is used.
virtual int vtkPBGLVertexColoring::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
virtual int vtkPBGLVertexColoring::FillInputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
protectedvirtual |
virtual int vtkPBGLVertexColoring::FillOutputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
protectedvirtual |
The documentation for this class was generated from the following file: