VTK
|
Adds an attribute array with the degree of each vertex. More...
#include <vtkVertexDegree.h>
Public Types | |
typedef vtkGraphAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkVertexDegree * | NewInstance () const |
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 (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkVertexDegree () | |
~vtkVertexDegree () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Adds an attribute array with the degree of each vertex.
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 44 of file vtkVertexDegree.h.
Reimplemented from vtkGraphAlgorithm.
Definition at line 49 of file vtkVertexDegree.h.
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.
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 | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkGraphAlgorithm.
virtual vtkObjectBase* vtkVertexDegree::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkGraphAlgorithm.
vtkVertexDegree* vtkVertexDegree::NewInstance | ( | ) | const |
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.