VTK
|
convert a vtkGraph a set of points. More...
#include <vtkGraphToPoints.h>
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 vtkGraphToPoints * | New () |
static int | IsTypeOf (const char *type) |
static vtkGraphToPoints * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkGraphToPoints () | |
~vtkGraphToPoints () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | FillInputPortInformation (int port, vtkInformation *info) |
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.
Definition at line 38 of file vtkGraphToPoints.h.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 42 of file vtkGraphToPoints.h.
vtkGraphToPoints::vtkGraphToPoints | ( | ) | [protected] |
vtkGraphToPoints::~vtkGraphToPoints | ( | ) | [inline, protected] |
Definition at line 47 of file vtkGraphToPoints.h.
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.