#include <vtkVertexDegree.h>
Adds an attribute array with the degree of each vertex. By default the name of the array will be "VertexDegree", but that can be changed by calling SetOutputArrayName("foo");
Definition at line 43 of file vtkVertexDegree.h.
Public Types | |
typedef vtkGraphAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetOutputArrayName (const char *) |
Static Public Member Functions | |
static vtkVertexDegree * | New () |
static int | IsTypeOf (const char *type) |
static vtkVertexDegree * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkVertexDegree () | |
~vtkVertexDegree () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
vtkVertexDegree::vtkVertexDegree | ( | ) | [protected] |
vtkVertexDegree::~vtkVertexDegree | ( | ) | [protected] |
static vtkVertexDegree* vtkVertexDegree::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkGraphAlgorithm.
virtual const char* vtkVertexDegree::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkGraphAlgorithm.
static int vtkVertexDegree::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 vtkGraphAlgorithm.
virtual int vtkVertexDegree::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 vtkGraphAlgorithm.
static vtkVertexDegree* vtkVertexDegree::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkGraphAlgorithm.
void vtkVertexDegree::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 vtkGraphAlgorithm.
virtual void vtkVertexDegree::SetOutputArrayName | ( | const char * | ) | [virtual] |
Set the output array name. If no output array name is set then the name 'VertexDegree' is used.
int vtkVertexDegree::RequestData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkGraphAlgorithm.