VTK
9.3.20241006
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Common
DataModel
vtkGraphEdge.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3
// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
17
#ifndef vtkGraphEdge_h
18
#define vtkGraphEdge_h
19
20
#include "vtkCommonDataModelModule.h"
// For export macro
21
#include "
vtkObject.h
"
22
23
VTK_ABI_NAMESPACE_BEGIN
24
class
VTKCOMMONDATAMODEL_EXPORT
vtkGraphEdge
:
public
vtkObject
25
{
26
public
:
27
static
vtkGraphEdge
*
New
();
28
vtkTypeMacro(
vtkGraphEdge
,
vtkObject
);
29
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
30
32
35
vtkSetMacro(Source,
vtkIdType
);
36
vtkGetMacro(Source,
vtkIdType
);
38
40
43
vtkSetMacro(Target,
vtkIdType
);
44
vtkGetMacro(Target,
vtkIdType
);
46
48
51
vtkSetMacro(Id,
vtkIdType
);
52
vtkGetMacro(Id,
vtkIdType
);
54
55
protected
:
56
vtkGraphEdge
();
57
~vtkGraphEdge
()
override
;
58
59
vtkIdType
Source
;
60
vtkIdType
Target
;
61
vtkIdType
Id
;
62
63
private
:
64
vtkGraphEdge
(
const
vtkGraphEdge
&) =
delete
;
65
void
operator=(
const
vtkGraphEdge
&) =
delete
;
66
};
67
68
VTK_ABI_NAMESPACE_END
69
#endif
vtkGraphEdge
Representation of a single graph edge.
Definition
vtkGraphEdge.h:25
vtkGraphEdge::Source
vtkIdType Source
Definition
vtkGraphEdge.h:59
vtkGraphEdge::Target
vtkIdType Target
Definition
vtkGraphEdge.h:60
vtkGraphEdge::vtkGraphEdge
vtkGraphEdge()
vtkGraphEdge::~vtkGraphEdge
~vtkGraphEdge() override
vtkGraphEdge::Id
vtkIdType Id
Definition
vtkGraphEdge.h:61
vtkGraphEdge::New
static vtkGraphEdge * New()
vtkGraphEdge::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:108
vtkObject
abstract base class for most VTK objects
Definition
vtkObject.h:162
vtkObject.h
vtkIdType
int vtkIdType
Definition
vtkType.h:315
Generated on Sun Oct 6 2024 10:16:52 for VTK by
1.9.7