VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkBoostExtractLargestComponent Class Reference

Extract the largest connected component of a graph. More...

#include <vtkBoostExtractLargestComponent.h>

Inheritance diagram for vtkBoostExtractLargestComponent:
Inheritance graph
[legend]
Collaboration diagram for vtkBoostExtractLargestComponent:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkGraphAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkBoostExtractLargestComponentNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetInvertSelection (bool)
virtual bool GetInvertSelection ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static
vtkBoostExtractLargestComponent
SafeDownCast (vtkObjectBase *o)
static
vtkBoostExtractLargestComponent
New ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkBoostExtractLargestComponent ()
 ~vtkBoostExtractLargestComponent ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

bool InvertSelection

Detailed Description

Extract the largest connected component of a graph.

vtkBoostExtractLargestComponent finds the largest connected region of a vtkGraph. For directed graphs, this returns the largest biconnected component. See vtkBoostConnectedComponents for details.

Tests:
vtkBoostExtractLargestComponent (Tests)

Definition at line 36 of file vtkBoostExtractLargestComponent.h.


Member Typedef Documentation

Reimplemented from vtkGraphAlgorithm.

Definition at line 39 of file vtkBoostExtractLargestComponent.h.


Constructor & Destructor Documentation

Definition at line 54 of file vtkBoostExtractLargestComponent.h.


Member Function Documentation

static int vtkBoostExtractLargestComponent::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkGraphAlgorithm.

virtual int vtkBoostExtractLargestComponent::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkGraphAlgorithm.

Reimplemented from vtkGraphAlgorithm.

Reimplemented from vtkGraphAlgorithm.

Reimplemented from vtkGraphAlgorithm.

void vtkBoostExtractLargestComponent::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkGraphAlgorithm.

Construct an instance of vtkBoostExtractLargestComponent with InvertSelection set to false.

Reimplemented from vtkGraphAlgorithm.

virtual void vtkBoostExtractLargestComponent::SetInvertSelection ( bool  ) [virtual]

Set the flag to determine if the selection should be inverted.

Set the flag to determine if the selection should be inverted.

int vtkBoostExtractLargestComponent::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkGraphAlgorithm.


Member Data Documentation

Store the choice of whether or not to invert the selection.

Definition at line 59 of file vtkBoostExtractLargestComponent.h.


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