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 | List of all members
vtkPassThroughLayoutStrategy Class Reference

a layout strategy that does absolutely nothing More...

#include <vtkPassThroughLayoutStrategy.h>

Inheritance diagram for vtkPassThroughLayoutStrategy:
[legend]
Collaboration diagram for vtkPassThroughLayoutStrategy:
[legend]

Public Types

typedef vtkGraphLayoutStrategy Superclass
 
- Public Types inherited from vtkGraphLayoutStrategy
typedef vtkObject Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkPassThroughLayoutStrategyNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void Initialize ()
 
virtual void Layout ()
 
virtual int IsLayoutComplete ()
 
- Public Member Functions inherited from vtkGraphLayoutStrategy
vtkGraphLayoutStrategyNewInstance () 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 Public Member Functions inherited from vtkGraphLayoutStrategy
static int IsTypeOf (const char *type)
 
static vtkGraphLayoutStrategySafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkPassThroughLayoutStrategy ()
 
 ~vtkPassThroughLayoutStrategy ()
 
- Protected Member Functions inherited from vtkGraphLayoutStrategy
 vtkGraphLayoutStrategy ()
 
 ~vtkGraphLayoutStrategy ()
 

Additional Inherited Members

- Protected Attributes inherited from vtkGraphLayoutStrategy
vtkGraphGraph
 
char * EdgeWeightField
 
bool WeightEdges
 

Detailed Description

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.

Tests:
vtkPassThroughLayoutStrategy (Tests)

Definition at line 38 of file vtkPassThroughLayoutStrategy.h.

Member Typedef Documentation

Definition at line 43 of file vtkPassThroughLayoutStrategy.h.

Constructor & Destructor Documentation

vtkPassThroughLayoutStrategy::vtkPassThroughLayoutStrategy ( )
protected
vtkPassThroughLayoutStrategy::~vtkPassThroughLayoutStrategy ( )
protected

Member Function Documentation

static vtkPassThroughLayoutStrategy* vtkPassThroughLayoutStrategy::New ( )
static
static int vtkPassThroughLayoutStrategy::IsTypeOf ( const char *  type)
static
virtual int vtkPassThroughLayoutStrategy::IsA ( const char *  type)
virtual

Reimplemented from vtkGraphLayoutStrategy.

static vtkPassThroughLayoutStrategy* vtkPassThroughLayoutStrategy::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkPassThroughLayoutStrategy::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkGraphLayoutStrategy.

vtkPassThroughLayoutStrategy* vtkPassThroughLayoutStrategy::NewInstance ( ) const
void vtkPassThroughLayoutStrategy::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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 ( )
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.


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