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

Adds an attribute array with the degree of each vertex. More...

#include <vtkVertexDegree.h>

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

List of all members.

Public Types

typedef vtkGraphAlgorithm Superclass

Public Member Functions

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

Static Public Member Functions

static vtkVertexDegreeNew ()
static int IsTypeOf (const char *type)
static vtkVertexDegreeSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkVertexDegree ()
 ~vtkVertexDegree ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Detailed Description

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");

Events:
vtkCommand::ProgressEvent
Examples:
vtkVertexDegree (Examples)
Tests:
vtkVertexDegree (Tests)

Definition at line 44 of file vtkVertexDegree.h.


Member Typedef Documentation

Reimplemented from vtkGraphAlgorithm.

Definition at line 49 of file vtkVertexDegree.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

Reimplemented from vtkGraphAlgorithm.

virtual vtkObjectBase* vtkVertexDegree::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkGraphAlgorithm.

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.


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