VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkStreamGraph Class Reference

combines two graphs More...

#include <vtkStreamGraph.h>

Inherits vtkGraphAlgorithm.

Collaboration diagram for vtkStreamGraph:
[legend]

Public Types

typedef vtkGraphAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkStreamGraphNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetUseEdgeWindow (bool)
 
virtual bool GetUseEdgeWindow ()
 
virtual void UseEdgeWindowOn ()
 
virtual void UseEdgeWindowOff ()
 
virtual void SetEdgeWindowArrayName (const char *)
 
virtual char * GetEdgeWindowArrayName ()
 
virtual void SetEdgeWindow (double)
 
virtual double GetEdgeWindow ()
 

Static Public Member Functions

static vtkStreamGraphNew ()
 
static int IsTypeOf (const char *type)
 
static vtkStreamGraphSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkStreamGraph ()
 
 ~vtkStreamGraph ()
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 

Protected Attributes

vtkMutableGraphHelperCurrentGraph
 
vtkMergeGraphsMergeGraphs
 
bool UseEdgeWindow
 
double EdgeWindow
 
char * EdgeWindowArrayName
 

Detailed Description

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.

Events:
vtkCommand::ProgressEvent
Tests:
vtkStreamGraph (Tests)

Definition at line 54 of file vtkStreamGraph.h.

Member Typedef Documentation

typedef vtkGraphAlgorithm vtkStreamGraph::Superclass

Definition at line 58 of file vtkStreamGraph.h.

Constructor & Destructor Documentation

vtkStreamGraph::vtkStreamGraph ( )
protected
vtkStreamGraph::~vtkStreamGraph ( )
protected

Member Function Documentation

static vtkStreamGraph* vtkStreamGraph::New ( )
static
static int vtkStreamGraph::IsTypeOf ( const char *  type)
static
virtual int vtkStreamGraph::IsA ( const char *  type)
virtual
static vtkStreamGraph* vtkStreamGraph::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkStreamGraph::NewInstanceInternal ( ) const
protectedvirtual
vtkStreamGraph* vtkStreamGraph::NewInstance ( ) const
void vtkStreamGraph::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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 *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

Member Data Documentation

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.


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