#include <vtkGraphLayout.h>
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.
Definition at line 44 of file vtkGraphLayout.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 int | IsLayoutComplete () |
virtual unsigned long | GetMTime () |
void | SetLayoutStrategy (vtkGraphLayoutStrategy *strategy) |
virtual vtkGraphLayoutStrategy * | GetLayoutStrategy () |
Static Public Member Functions | |
static vtkGraphLayout * | New () |
static int | IsTypeOf (const char *type) |
static vtkGraphLayout * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkGraphLayout () | |
~vtkGraphLayout () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
vtkGraphLayoutStrategy * | LayoutStrategy |
vtkEventForwarderCommand * | EventForwarder |
unsigned long | ObserverTag |
vtkGraphLayout::vtkGraphLayout | ( | ) | [protected] |
vtkGraphLayout::~vtkGraphLayout | ( | ) | [protected] |
static vtkGraphLayout* vtkGraphLayout::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkGraphAlgorithm.
virtual const char* vtkGraphLayout::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkGraphAlgorithm.
static int vtkGraphLayout::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkGraphAlgorithm.
virtual int vtkGraphLayout::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkGraphAlgorithm.
static vtkGraphLayout* vtkGraphLayout::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkGraphAlgorithm.
void vtkGraphLayout::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.
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.
Reimplemented from vtkObject.
int vtkGraphLayout::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.
vtkGraphLayoutStrategy* vtkGraphLayout::LayoutStrategy [protected] |
Definition at line 67 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 72 of file vtkGraphLayout.h.
unsigned long vtkGraphLayout::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 73 of file vtkGraphLayout.h.