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

#include <vtkAdjacencyMatrixToEdgeTable.h>

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

List of all members.

Public Types

typedef vtkTableAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkAdjacencyMatrixToEdgeTableNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkIdType GetSourceDimension ()
virtual void SetSourceDimension (vtkIdType)
virtual char * GetValueArrayName ()
virtual void SetValueArrayName (const char *)
virtual vtkIdType GetMinimumCount ()
virtual void SetMinimumCount (vtkIdType)
virtual double GetMinimumThreshold ()
virtual void SetMinimumThreshold (double)

Static Public Member Functions

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

Protected Member Functions

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

Protected Attributes

vtkIdType SourceDimension
char * ValueArrayName
vtkIdType MinimumCount
double MinimumThreshold

Detailed Description

Treats a dense 2-way array of doubles as an adacency matrix and converts it into a vtkTable suitable for use as an edge table with vtkTableToGraph.

Thanks:
Developed by Timothy M. Shead (tshea.nosp@m.d@sa.nosp@m.ndia..nosp@m.gov) at Sandia National Laboratories.
Events:
vtkCommand::ProgressEvent
Examples:
vtkAdjacencyMatrixToEdgeTable (Examples)

Definition at line 44 of file vtkAdjacencyMatrixToEdgeTable.h.


Member Typedef Documentation

Reimplemented from vtkTableAlgorithm.

Definition at line 48 of file vtkAdjacencyMatrixToEdgeTable.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkTableAlgorithm.

static int vtkAdjacencyMatrixToEdgeTable::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 vtkTableAlgorithm.

virtual int vtkAdjacencyMatrixToEdgeTable::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 vtkTableAlgorithm.

Reimplemented from vtkTableAlgorithm.

virtual vtkObjectBase* vtkAdjacencyMatrixToEdgeTable::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkTableAlgorithm.

Reimplemented from vtkTableAlgorithm.

void vtkAdjacencyMatrixToEdgeTable::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 vtkTableAlgorithm.

Specifies whether rows or columns become the "source" in the output edge table. 0 = rows, 1 = columns. Default: 0

Specifies whether rows or columns become the "source" in the output edge table. 0 = rows, 1 = columns. Default: 0

Controls the name of the output table column that contains edge weights. Default: "value"

virtual void vtkAdjacencyMatrixToEdgeTable::SetValueArrayName ( const char *  ) [virtual]

Controls the name of the output table column that contains edge weights. Default: "value"

Specifies the minimum number of adjacent edges to include for each source vertex. Default: 0

Specifies the minimum number of adjacent edges to include for each source vertex. Default: 0

Specifies a minimum threshold that an edge weight must exceed to be included in the output. Default: 0.5

Specifies a minimum threshold that an edge weight must exceed to be included in the output. Default: 0.5

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkTableAlgorithm.

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

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

Reimplemented from vtkTableAlgorithm.


Member Data Documentation

Definition at line 90 of file vtkAdjacencyMatrixToEdgeTable.h.

Definition at line 91 of file vtkAdjacencyMatrixToEdgeTable.h.

Definition at line 92 of file vtkAdjacencyMatrixToEdgeTable.h.

Definition at line 93 of file vtkAdjacencyMatrixToEdgeTable.h.


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