VTK
|
a layout strategy that does absolutely nothing More...
#include <vtkPassThroughLayoutStrategy.h>
Public Types | |
typedef vtkGraphLayoutStrategy | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPassThroughLayoutStrategy * | NewInstance () const |
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 (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPassThroughLayoutStrategy () | |
~vtkPassThroughLayoutStrategy () |
a layout strategy that does absolutely nothing
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 38 of file vtkPassThroughLayoutStrategy.h.
Reimplemented from vtkGraphLayoutStrategy.
Definition at line 43 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.
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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkGraphLayoutStrategy.
static vtkPassThroughLayoutStrategy* vtkPassThroughLayoutStrategy::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkGraphLayoutStrategy.
virtual vtkObjectBase* vtkPassThroughLayoutStrategy::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkGraphLayoutStrategy.
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 59 of file vtkPassThroughLayoutStrategy.h.