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

convert a vtkGraph a set of points. More...

#include <vtkGraphToPoints.h>

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

List of all members.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static vtkGraphToPointsNew ()
static int IsTypeOf (const char *type)
static vtkGraphToPointsSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkGraphToPoints ()
 ~vtkGraphToPoints ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int FillInputPortInformation (int port, vtkInformation *info)

Detailed Description

convert a vtkGraph a set of points.

Converts a vtkGraph to a vtkPolyData containing a set of points. This assumes that the points of the graph have already been filled (perhaps by vtkGraphLayout). The vertex data is passed along to the point data.

Examples:
vtkGraphToPoints (Examples)

Definition at line 38 of file vtkGraphToPoints.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 42 of file vtkGraphToPoints.h.


Constructor & Destructor Documentation

vtkGraphToPoints::vtkGraphToPoints ( ) [protected]
vtkGraphToPoints::~vtkGraphToPoints ( ) [inline, protected]

Definition at line 47 of file vtkGraphToPoints.h.


Member Function Documentation

static vtkGraphToPoints* vtkGraphToPoints::New ( ) [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkPolyDataAlgorithm.

virtual const char* vtkGraphToPoints::GetClassName ( ) [virtual]

Reimplemented from vtkPolyDataAlgorithm.

static int vtkGraphToPoints::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 vtkPolyDataAlgorithm.

virtual int vtkGraphToPoints::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 vtkPolyDataAlgorithm.

static vtkGraphToPoints* vtkGraphToPoints::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkPolyDataAlgorithm.

void vtkGraphToPoints::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 vtkPolyDataAlgorithm.

int vtkGraphToPoints::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Convert the vtkGraph into vtkPolyData.

Reimplemented from vtkPolyDataAlgorithm.

int vtkGraphToPoints::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Set the input type of the algorithm to vtkGraph.

Reimplemented from vtkPolyDataAlgorithm.


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