VTK
|
a layout strategy that does absolutely nothing More...
#include <vtkPassThroughLayoutStrategy.h>
Public Types | |
typedef vtkGraphLayoutStrategy | Superclass |
![]() | |
typedef vtkObject | 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 () |
![]() | |
vtkGraphLayoutStrategy * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetGraph (vtkGraph *graph) |
virtual void | SetWeightEdges (bool state) |
virtual bool | GetWeightEdges () |
virtual void | SetEdgeWeightField (const char *field) |
virtual char * | GetEdgeWeightField () |
Static Public Member Functions | |
static vtkPassThroughLayoutStrategy * | New () |
static int | IsTypeOf (const char *type) |
static vtkPassThroughLayoutStrategy * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkGraphLayoutStrategy * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPassThroughLayoutStrategy () | |
~vtkPassThroughLayoutStrategy () | |
![]() | |
vtkGraphLayoutStrategy () | |
~vtkGraphLayoutStrategy () | |
Additional Inherited Members | |
![]() | |
vtkGraph * | Graph |
char * | EdgeWeightField |
bool | WeightEdges |
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.
Definition at line 43 of file vtkPassThroughLayoutStrategy.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
Reimplemented from vtkGraphLayoutStrategy.
|
static |
|
protectedvirtual |
Reimplemented from vtkGraphLayoutStrategy.
vtkPassThroughLayoutStrategy* vtkPassThroughLayoutStrategy::NewInstance | ( | ) | const |
void vtkPassThroughLayoutStrategy::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
This strategy sets up some data structures for faster processing of each Layout() call
Reimplemented from vtkGraphLayoutStrategy.
|
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.
|
inlinevirtual |
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.