VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkPBGLVertexColoring Class Reference

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.

Public Types

typedef vtkGraphAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkPBGLVertexColoringNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetBlockSize (vtkIdType)
 
virtual vtkIdType GetBlockSize ()
 
virtual void SetColorArrayName (const char *)
 

Static Public Member Functions

static vtkPBGLVertexColoringNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPBGLVertexColoringSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkPBGLVertexColoring ()
 
 ~vtkPBGLVertexColoring ()
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 

Detailed Description

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.

Member Typedef Documentation

typedef vtkGraphAlgorithm vtkPBGLVertexColoring::Superclass

Definition at line 48 of file vtkPBGLVertexColoring.h.

Constructor & Destructor Documentation

vtkPBGLVertexColoring::vtkPBGLVertexColoring ( )
protected
vtkPBGLVertexColoring::~vtkPBGLVertexColoring ( )
protected

Member Function Documentation

static vtkPBGLVertexColoring* vtkPBGLVertexColoring::New ( )
static
static int vtkPBGLVertexColoring::IsTypeOf ( const char *  type)
static
virtual int vtkPBGLVertexColoring::IsA ( const char *  type)
virtual
static vtkPBGLVertexColoring* vtkPBGLVertexColoring::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkPBGLVertexColoring::NewInstanceInternal ( ) const
protectedvirtual
vtkPBGLVertexColoring* vtkPBGLVertexColoring::NewInstance ( ) const
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: