vtkVertexDegree Class Reference

#include <vtkVertexDegree.h>

Inheritance diagram for vtkVertexDegree:

Inheritance graph
[legend]
Collaboration diagram for vtkVertexDegree:

Collaboration graph
[legend]

List of all members.


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 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 vtkVertexDegreeNew ()
static int IsTypeOf (const char *type)
static vtkVertexDegreeSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkVertexDegree ()
 ~vtkVertexDegree ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Member Typedef Documentation

Reimplemented from vtkGraphAlgorithm.

Definition at line 48 of file vtkVertexDegree.h.


Constructor & Destructor Documentation

vtkVertexDegree::vtkVertexDegree (  )  [protected]

vtkVertexDegree::~vtkVertexDegree (  )  [protected]


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.

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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro 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.


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

Generated on Sat Dec 27 13:57:18 2008 for VTK by  doxygen 1.5.6