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

layout graph edges More...

#include <vtkEdgeLayout.h>

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

List of all members.

Public Types

typedef vtkGraphAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkEdgeLayout * NewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual unsigned long GetMTime ()
void SetLayoutStrategy (vtkEdgeLayoutStrategy *strategy)
virtual vtkEdgeLayoutStrategy * GetLayoutStrategy ()

Static Public Member Functions

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

Protected Member Functions

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

Protected Attributes

vtkEdgeLayoutStrategy * LayoutStrategy
vtkEventForwarderCommand * EventForwarder
unsigned long ObserverTag

Detailed Description

layout graph edges

This class is a shell for many edge layout strategies which may be set using the SetLayoutStrategy() function. The layout strategies do the actual work.

Tests:
vtkEdgeLayout (Tests)

Definition at line 40 of file vtkEdgeLayout.h.


Member Typedef Documentation

Reimplemented from vtkGraphAlgorithm.

Definition at line 44 of file vtkEdgeLayout.h.


Constructor & Destructor Documentation


Member Function Documentation

static vtkEdgeLayout* vtkEdgeLayout::New ( ) [static]

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

Reimplemented from vtkGraphAlgorithm.

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

Reimplemented from vtkGraphAlgorithm.

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

Reimplemented from vtkGraphAlgorithm.

Reimplemented from vtkGraphAlgorithm.

void vtkEdgeLayout::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.

The layout strategy to use during graph layout.

The layout strategy to use during graph layout.

virtual unsigned long vtkEdgeLayout::GetMTime ( ) [virtual]

Get the modification time of the layout algorithm.

Reimplemented from vtkObject.

int vtkEdgeLayout::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.


Member Data Documentation

Definition at line 60 of file vtkEdgeLayout.h.

This intercepts events from the strategy object and re-emits them as if they came from the layout engine itself.

Definition at line 65 of file vtkEdgeLayout.h.

unsigned long vtkEdgeLayout::ObserverTag [protected]

This intercepts events from the strategy object and re-emits them as if they came from the layout engine itself.

Definition at line 66 of file vtkEdgeLayout.h.


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