#include <vtkStreamGraph.h>
vtkStreamGraph iteratively collects information from the input graph and combines it in the output graph. It internally maintains a graph instance that is incrementally updated every time the filter is called.
Each update, vtkMergeGraphs is used to combine this filter's input with the internal graph.
Definition at line 50 of file vtkStreamGraph.h.
Public Types | |
typedef vtkGraphAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetMaxEdges (vtkIdType) |
virtual vtkIdType | GetMaxEdges () |
Static Public Member Functions | |
static vtkStreamGraph * | New () |
static int | IsTypeOf (const char *type) |
static vtkStreamGraph * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkStreamGraph () | |
~vtkStreamGraph () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
vtkMutableGraphHelper * | CurrentGraph |
vtkMergeGraphs * | MergeGraphs |
vtkIdType | MaxEdges |
vtkStreamGraph::vtkStreamGraph | ( | ) | [protected] |
vtkStreamGraph::~vtkStreamGraph | ( | ) | [protected] |
static vtkStreamGraph* vtkStreamGraph::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkGraphAlgorithm.
virtual const char* vtkStreamGraph::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkGraphAlgorithm.
static int vtkStreamGraph::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 vtkStreamGraph::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 vtkStreamGraph* vtkStreamGraph::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkGraphAlgorithm.
void vtkStreamGraph::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.
virtual void vtkStreamGraph::SetMaxEdges | ( | vtkIdType | ) | [virtual] |
The maximum number of edges in the combined graph. Default is -1, which specifies that there should be no limit on the number of edges.
virtual vtkIdType vtkStreamGraph::GetMaxEdges | ( | ) | [virtual] |
The maximum number of edges in the combined graph. Default is -1, which specifies that there should be no limit on the number of edges.
virtual int vtkStreamGraph::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.
vtkMutableGraphHelper* vtkStreamGraph::CurrentGraph [protected] |
Definition at line 73 of file vtkStreamGraph.h.
vtkMergeGraphs* vtkStreamGraph::MergeGraphs [protected] |
Definition at line 74 of file vtkStreamGraph.h.
vtkIdType vtkStreamGraph::MaxEdges [protected] |
Definition at line 75 of file vtkStreamGraph.h.