VTK
|
combines two graphs More...
#include <vtkStreamGraph.h>
combines two graphs
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.
If you can use an edge window array to filter out old edges based on a moving threshold.
Definition at line 54 of file vtkStreamGraph.h.
Reimplemented from vtkGraphAlgorithm.
Definition at line 58 of file vtkStreamGraph.h.
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.
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 | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkGraphAlgorithm.
virtual vtkObjectBase* vtkStreamGraph::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkGraphAlgorithm.
vtkStreamGraph* vtkStreamGraph::NewInstance | ( | ) | const |
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::SetUseEdgeWindow | ( | bool | ) | [virtual] |
Whether to use an edge window array. The default is to not use a window array.
virtual bool vtkStreamGraph::GetUseEdgeWindow | ( | ) | [virtual] |
Whether to use an edge window array. The default is to not use a window array.
virtual void vtkStreamGraph::UseEdgeWindowOn | ( | ) | [virtual] |
Whether to use an edge window array. The default is to not use a window array.
virtual void vtkStreamGraph::UseEdgeWindowOff | ( | ) | [virtual] |
Whether to use an edge window array. The default is to not use a window array.
virtual void vtkStreamGraph::SetEdgeWindowArrayName | ( | const char * | ) | [virtual] |
The edge window array. The default array name is "time".
virtual char* vtkStreamGraph::GetEdgeWindowArrayName | ( | ) | [virtual] |
The edge window array. The default array name is "time".
virtual void vtkStreamGraph::SetEdgeWindow | ( | double | ) | [virtual] |
The time window amount. Edges with values lower than the maximum value minus this window will be removed from the graph. The default edge window is 10000.
virtual double vtkStreamGraph::GetEdgeWindow | ( | ) | [virtual] |
The time window amount. Edges with values lower than the maximum value minus this window will be removed from the graph. The default edge window is 10000.
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 92 of file vtkStreamGraph.h.
vtkMergeGraphs* vtkStreamGraph::MergeGraphs [protected] |
Definition at line 93 of file vtkStreamGraph.h.
bool vtkStreamGraph::UseEdgeWindow [protected] |
Definition at line 94 of file vtkStreamGraph.h.
double vtkStreamGraph::EdgeWindow [protected] |
Definition at line 95 of file vtkStreamGraph.h.
char* vtkStreamGraph::EdgeWindowArrayName [protected] |
Definition at line 96 of file vtkStreamGraph.h.