VTK
9.2.20230129
Common
DataModel
vtkGraphEdge.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGraphEdge.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
-------------------------------------------------------------------------*/
33
#ifndef vtkGraphEdge_h
34
#define vtkGraphEdge_h
35
36
#include "vtkCommonDataModelModule.h"
// For export macro
37
#include "
vtkObject.h
"
38
39
VTK_ABI_NAMESPACE_BEGIN
40
class
VTKCOMMONDATAMODEL_EXPORT
vtkGraphEdge
:
public
vtkObject
41
{
42
public
:
43
static
vtkGraphEdge
*
New
();
44
vtkTypeMacro(
vtkGraphEdge
,
vtkObject
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
46
48
51
vtkSetMacro(Source,
vtkIdType
);
52
vtkGetMacro(Source,
vtkIdType
);
54
56
59
vtkSetMacro(
Target
,
vtkIdType
);
60
vtkGetMacro(
Target
,
vtkIdType
);
62
64
67
vtkSetMacro(Id,
vtkIdType
);
68
vtkGetMacro(Id,
vtkIdType
);
70
71
protected
:
72
vtkGraphEdge
();
73
~vtkGraphEdge
()
override
;
74
75
vtkIdType
Source
;
76
vtkIdType
Target
;
77
vtkIdType
Id
;
78
79
private
:
80
vtkGraphEdge
(
const
vtkGraphEdge
&) =
delete
;
81
void
operator=(
const
vtkGraphEdge
&) =
delete
;
82
};
83
84
VTK_ABI_NAMESPACE_END
85
#endif
vtkGraphEdge
Representation of a single graph edge.
Definition:
vtkGraphEdge.h:41
vtkGraphEdge::Source
vtkIdType Source
Definition:
vtkGraphEdge.h:75
vtkGraphEdge::Target
vtkIdType Target
Definition:
vtkGraphEdge.h:76
vtkGraphEdge::vtkGraphEdge
vtkGraphEdge()
vtkGraphEdge::New
static vtkGraphEdge * New()
vtkGraphEdge::~vtkGraphEdge
~vtkGraphEdge() override
vtkGraphEdge::Id
vtkIdType Id
Definition:
vtkGraphEdge.h:77
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:120
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:83
vtkPolyData_detail::Target
Target
Definition:
vtkPolyDataInternals.h:80
vtkObject.h
vtkIdType
int vtkIdType
Definition:
vtkType.h:327
Generated on Mon Jan 30 2023 02:57:26 for VTK by
1.9.1