VTK
|
Extract the largest connected component of a graph. More...
#include <vtkBoostExtractLargestComponent.h>
Public Types | |
typedef vtkGraphAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkBoostExtractLargestComponent * | NewInstance () 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 vtkObjectBase * | NewInstanceInternal () const |
vtkBoostExtractLargestComponent () | |
~vtkBoostExtractLargestComponent () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
bool | InvertSelection |
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.
Definition at line 36 of file vtkBoostExtractLargestComponent.h.
Reimplemented from vtkGraphAlgorithm.
Definition at line 39 of file vtkBoostExtractLargestComponent.h.
vtkBoostExtractLargestComponent::vtkBoostExtractLargestComponent | ( | ) | [protected] |
vtkBoostExtractLargestComponent::~vtkBoostExtractLargestComponent | ( | ) | [inline, protected] |
Definition at line 54 of file vtkBoostExtractLargestComponent.h.
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.
static vtkBoostExtractLargestComponent* vtkBoostExtractLargestComponent::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkGraphAlgorithm.
virtual vtkObjectBase* vtkBoostExtractLargestComponent::NewInstanceInternal | ( | ) | const [protected, virtual] |
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.
static vtkBoostExtractLargestComponent* vtkBoostExtractLargestComponent::New | ( | ) | [static] |
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.
virtual bool vtkBoostExtractLargestComponent::GetInvertSelection | ( | ) | [virtual] |
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.
bool vtkBoostExtractLargestComponent::InvertSelection [protected] |
Store the choice of whether or not to invert the selection.
Definition at line 59 of file vtkBoostExtractLargestComponent.h.