VTK
9.0.1
Infovis
Core
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
-------------------------------------------------------------------------*/
39
#ifndef vtkVertexDegree_h
40
#define vtkVertexDegree_h
41
42
#include "
vtkGraphAlgorithm.h
"
43
#include "vtkInfovisCoreModule.h"
// For export macro
44
45
class
VTKINFOVISCORE_EXPORT
vtkVertexDegree
:
public
vtkGraphAlgorithm
46
{
47
public
:
48
static
vtkVertexDegree
*
New
();
49
50
vtkTypeMacro(
vtkVertexDegree
,
vtkGraphAlgorithm
);
51
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
52
54
58
vtkSetStringMacro(OutputArrayName);
60
61
protected
:
62
vtkVertexDegree
();
63
~
vtkVertexDegree
()
override
;
64
65
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
66
67
private
:
68
char
* OutputArrayName;
69
70
vtkVertexDegree
(
const
vtkVertexDegree
&) =
delete
;
71
void
operator=(
const
vtkVertexDegree
&) =
delete
;
72
};
73
74
#endif
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition:
vtkGraphAlgorithm.h:51
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:35
vtkGraphAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGraphAlgorithm.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:73
vtkGraphAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkGraphAlgorithm::New
static vtkGraphAlgorithm * New()
Generated on Thu Jun 25 2020 08:30:47 for VTK by
1.8.17