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
-------------------------------------------------------------------------*/
30
#ifndef vtkVertexDegree_h
31
#define vtkVertexDegree_h
32
33
#include "
vtkGraphAlgorithm.h
"
34
#include "vtkInfovisCoreModule.h"
// For export macro
35
36
class
VTKINFOVISCORE_EXPORT
vtkVertexDegree
:
public
vtkGraphAlgorithm
37
{
38
public
:
39
static
vtkVertexDegree
*
New
();
40
41
vtkTypeMacro(
vtkVertexDegree
,
vtkGraphAlgorithm
);
42
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
43
45
49
vtkSetStringMacro(OutputArrayName);
51
52
protected
:
53
vtkVertexDegree
();
54
~vtkVertexDegree
()
override
;
55
56
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
57
58
private
:
59
char
* OutputArrayName;
60
61
vtkVertexDegree
(
const
vtkVertexDegree
&) =
delete
;
62
void
operator=(
const
vtkVertexDegree
&) =
delete
;
63
};
64
65
#endif
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition:
vtkGraphAlgorithm.h:52
vtkVertexDegree::vtkVertexDegree
vtkVertexDegree()
vtkVertexDegree
Adds an attribute array with the degree of each vertex.
Definition:
vtkVertexDegree.h:37
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:36
vtkVertexDegree::New
static vtkVertexDegree * New()
vtkVertexDegree::~vtkVertexDegree
~vtkVertexDegree() override
vtkGraphAlgorithm.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:34
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:65
vtkVertexDegree::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkVertexDegree::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Generated on Mon Jan 4 2021 21:12:05 for VTK by
1.8.20