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
vtkPBGLConnectedComponents Class Reference

Compute connected components for a distributed vtkGraph. For directed graphs, this computes the connected components; for undirected graphs, this computes the strongly-connected components. More...

#include <vtkPBGLConnectedComponents.h>

Inherits vtkGraphAlgorithm.

Public Types

typedef vtkGraphAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkPBGLConnectedComponentsNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetComponentArrayName (const char *)
 

Static Public Member Functions

static vtkPBGLConnectedComponentsNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPBGLConnectedComponentsSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

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

Detailed Description

Compute connected components for a distributed vtkGraph. For directed graphs, this computes the connected components; for undirected graphs, this computes the strongly-connected components.

This VTK class uses the Parallel BGL's implementation of connected components and strongly-connectd components.

Tests:
vtkPBGLConnectedComponents (Tests)

Definition at line 45 of file vtkPBGLConnectedComponents.h.

Member Typedef Documentation

typedef vtkGraphAlgorithm vtkPBGLConnectedComponents::Superclass

Definition at line 49 of file vtkPBGLConnectedComponents.h.

Constructor & Destructor Documentation

vtkPBGLConnectedComponents::vtkPBGLConnectedComponents ( )
protected
vtkPBGLConnectedComponents::~vtkPBGLConnectedComponents ( )
protected

Member Function Documentation

static vtkPBGLConnectedComponents* vtkPBGLConnectedComponents::New ( )
static
static int vtkPBGLConnectedComponents::IsTypeOf ( const char *  type)
static
virtual int vtkPBGLConnectedComponents::IsA ( const char *  type)
virtual
static vtkPBGLConnectedComponents* vtkPBGLConnectedComponents::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkPBGLConnectedComponents::NewInstanceInternal ( ) const
protectedvirtual
vtkPBGLConnectedComponents* vtkPBGLConnectedComponents::NewInstance ( ) const
void vtkPBGLConnectedComponents::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkPBGLConnectedComponents::SetComponentArrayName ( const char *  )
virtual

Set the name of the component number output array, which contains the component number of each vertex (a non-negative value). If no component array name is set then the name 'Component' is used.

virtual int vtkPBGLConnectedComponents::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual int vtkPBGLConnectedComponents::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual
virtual int vtkPBGLConnectedComponents::FillOutputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

The documentation for this class was generated from the following file: