VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkPassThroughLayoutStrategy Class Reference

a layout strategy that does absolutely nothing More...

#include <vtkPassThroughLayoutStrategy.h>

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

List of all members.

Public Types

typedef vtkGraphLayoutStrategy 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 ()

Static Public Member Functions

static
vtkPassThroughLayoutStrategy
New ()
static int IsTypeOf (const char *type)
static
vtkPassThroughLayoutStrategy
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPassThroughLayoutStrategy ()
 ~vtkPassThroughLayoutStrategy ()

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

Reimplemented from vtkGraphLayoutStrategy.

Definition at line 43 of file vtkPassThroughLayoutStrategy.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

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.


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