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
vtkGraphLayout Class Reference

layout a graph in 2 or 3 dimensions More...

#include <vtkGraphLayout.h>

Inherits vtkGraphAlgorithm.

Collaboration diagram for vtkGraphLayout:
[legend]

Public Types

typedef vtkGraphAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkGraphLayoutNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual int IsLayoutComplete ()
 
virtual unsigned long GetMTime ()
 
void SetLayoutStrategy (vtkGraphLayoutStrategy *strategy)
 
virtual vtkGraphLayoutStrategyGetLayoutStrategy ()
 
virtual double GetZRange ()
 
virtual void SetZRange (double)
 
virtual vtkAbstractTransform * GetTransform ()
 
virtual void SetTransform (vtkAbstractTransform *t)
 
virtual void SetUseTransform (bool)
 
virtual bool GetUseTransform ()
 
virtual void UseTransformOn ()
 
virtual void UseTransformOff ()
 

Static Public Member Functions

static vtkGraphLayoutNew ()
 
static int IsTypeOf (const char *type)
 
static vtkGraphLayoutSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

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

Protected Attributes

vtkGraphLayoutStrategyLayoutStrategy
 
vtkEventForwarderCommand * EventForwarder
 

Detailed Description

layout a graph in 2 or 3 dimensions

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

.SECION Thanks Thanks to Brian Wylie from Sandia National Laboratories for adding incremental layout capabilities.

Examples:
vtkGraphLayout (Examples)
Tests:
vtkGraphLayout (Tests)

Definition at line 49 of file vtkGraphLayout.h.

Member Typedef Documentation

typedef vtkGraphAlgorithm vtkGraphLayout::Superclass

Definition at line 53 of file vtkGraphLayout.h.

Constructor & Destructor Documentation

vtkGraphLayout::vtkGraphLayout ( )
protected
vtkGraphLayout::~vtkGraphLayout ( )
protected

Member Function Documentation

static vtkGraphLayout* vtkGraphLayout::New ( )
static
static int vtkGraphLayout::IsTypeOf ( const char *  type)
static
virtual int vtkGraphLayout::IsA ( const char *  type)
virtual
static vtkGraphLayout* vtkGraphLayout::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkGraphLayout::NewInstanceInternal ( ) const
protectedvirtual
vtkGraphLayout* vtkGraphLayout::NewInstance ( ) const
void vtkGraphLayout::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
void vtkGraphLayout::SetLayoutStrategy ( vtkGraphLayoutStrategy strategy)

The layout strategy to use during graph layout.

virtual vtkGraphLayoutStrategy* vtkGraphLayout::GetLayoutStrategy ( )
virtual

The layout strategy to use during graph layout.

virtual int vtkGraphLayout::IsLayoutComplete ( )
virtual

Ask the layout algorithm if the layout is complete

virtual unsigned long vtkGraphLayout::GetMTime ( )
virtual

Get the modification time of the layout algorithm.

virtual double vtkGraphLayout::GetZRange ( )
virtual

Set the ZRange for the output data. If the initial layout is planar (i.e. all z coordinates are zero), the coordinates will be evenly spaced from 0.0 to ZRange. The default is zero, which has no effect.

virtual void vtkGraphLayout::SetZRange ( double  )
virtual

Set the ZRange for the output data. If the initial layout is planar (i.e. all z coordinates are zero), the coordinates will be evenly spaced from 0.0 to ZRange. The default is zero, which has no effect.

virtual vtkAbstractTransform* vtkGraphLayout::GetTransform ( )
virtual

Transform the graph vertices after the layout.

virtual void vtkGraphLayout::SetTransform ( vtkAbstractTransform *  t)
virtual

Transform the graph vertices after the layout.

virtual void vtkGraphLayout::SetUseTransform ( bool  )
virtual

Whether to use the specified transform after layout.

virtual bool vtkGraphLayout::GetUseTransform ( )
virtual

Whether to use the specified transform after layout.

virtual void vtkGraphLayout::UseTransformOn ( )
virtual

Whether to use the specified transform after layout.

virtual void vtkGraphLayout::UseTransformOff ( )
virtual

Whether to use the specified transform after layout.

int vtkGraphLayout::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protected

Member Data Documentation

vtkGraphLayoutStrategy* vtkGraphLayout::LayoutStrategy
protected

Definition at line 93 of file vtkGraphLayout.h.

vtkEventForwarderCommand* vtkGraphLayout::EventForwarder
protected

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

Definition at line 97 of file vtkGraphLayout.h.


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