VTK
vtkVertexDegree.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkVertexDegree.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
38 #ifndef vtkVertexDegree_h
39 #define vtkVertexDegree_h
40 
41 #include "vtkInfovisCoreModule.h" // For export macro
42 #include "vtkGraphAlgorithm.h"
43 
45 {
46 public:
47  static vtkVertexDegree *New();
48 
50  void PrintSelf(ostream& os, vtkIndent indent);
51 
53 
55  vtkSetStringMacro(OutputArrayName);
57 
58 protected:
61 
63 
64 private:
65 
66  char* OutputArrayName;
67 
68  vtkVertexDegree(const vtkVertexDegree&); // Not implemented.
69  void operator=(const vtkVertexDegree&); // Not implemented.
70 };
71 
72 #endif
73 
VTKINFOVISCORE_EXPORT
#define VTKINFOVISCORE_EXPORT
Definition: vtkInfovisCoreModule.h:15
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition: vtkGraphAlgorithm.h:54
vtkVertexDegree::vtkVertexDegree
vtkVertexDegree()
vtkVertexDegree
Adds an attribute array with the degree of each vertex.
Definition: vtkVertexDegree.h:45
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkVertexDegree::New
static vtkVertexDegree * New()
vtkVertexDegree::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkGraphAlgorithm.h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
vtkInfovisCoreModule.h
vtkVertexDegree::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkVertexDegree::~vtkVertexDegree
~vtkVertexDegree()