#include <vtkPassThroughLayoutStrategy.h>
Yes, this incredible strategy does absoluted nothing to the data so in affect passes through the graph untouched. This strategy is useful in the cases where the graph is already laid out.
Definition at line 37 of file vtkPassThroughLayoutStrategy.h.
Public Types | |
typedef vtkGraphLayoutStrategy | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Initialize () |
virtual void | Layout () |
virtual int | IsLayoutComplete () |
Static Public Member Functions | |
static vtkPassThroughLayoutStrategy * | New () |
static int | IsTypeOf (const char *type) |
static vtkPassThroughLayoutStrategy * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPassThroughLayoutStrategy () | |
~vtkPassThroughLayoutStrategy () |
Reimplemented from vtkGraphLayoutStrategy.
Definition at line 42 of file vtkPassThroughLayoutStrategy.h.
vtkPassThroughLayoutStrategy::vtkPassThroughLayoutStrategy | ( | ) | [protected] |
vtkPassThroughLayoutStrategy::~vtkPassThroughLayoutStrategy | ( | ) | [protected] |
static vtkPassThroughLayoutStrategy* vtkPassThroughLayoutStrategy::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual const char* vtkPassThroughLayoutStrategy::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkGraphLayoutStrategy.
static int vtkPassThroughLayoutStrategy::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 vtkGraphLayoutStrategy.
virtual int vtkPassThroughLayoutStrategy::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 vtkGraphLayoutStrategy.
static vtkPassThroughLayoutStrategy* vtkPassThroughLayoutStrategy::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkGraphLayoutStrategy.
void vtkPassThroughLayoutStrategy::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 vtkGraphLayoutStrategy.
virtual void vtkPassThroughLayoutStrategy::Initialize | ( | ) | [virtual] |
This strategy sets up some data structures for faster processing of each Layout() call
Reimplemented from vtkGraphLayoutStrategy.
virtual void vtkPassThroughLayoutStrategy::Layout | ( | ) | [virtual] |
This is the layout method where the graph that was set in SetGraph() is laid out. The method can either entirely layout the graph or iteratively lay out the graph. If you have an iterative layout please implement the IsLayoutComplete() method.
Implements vtkGraphLayoutStrategy.
virtual int vtkPassThroughLayoutStrategy::IsLayoutComplete | ( | ) | [inline, virtual] |
I'm an iterative layout so this method lets the caller know if I'm done laying out the graph
Reimplemented from vtkGraphLayoutStrategy.
Definition at line 58 of file vtkPassThroughLayoutStrategy.h.