VTK
vtkMutableGraphHelper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMutableGraphHelper.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 (c) Sandia Corporation
17  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
18 ----------------------------------------------------------------------------*/
33 #ifndef vtkMutableGraphHelper_h
34 #define vtkMutableGraphHelper_h
35 
36 #include "vtkInfovisCoreModule.h" // For export macro
37 #include "vtkObject.h"
38 #include "vtkGraph.h" // For vtkEdgeType
39 
41 class vtkGraph;
42 class vtkGraphEdge;
45 
47 {
48 public:
51  void PrintSelf(ostream& os, vtkIndent indent);
52 
54 
60 
61 //BTX
63 
65 //ETX
68 
71 
74 
77 
80 
83 
84 protected:
87 
88  vtkGetObjectMacro(InternalGraph, vtkGraph);
91 
93 
96 
97 private:
98  vtkMutableGraphHelper(const vtkMutableGraphHelper&); // Not implemented.
99  void operator=(const vtkMutableGraphHelper&); // Not implemented.
100 };
101 
102 #endif
VTKINFOVISCORE_EXPORT
#define VTKINFOVISCORE_EXPORT
Definition: vtkInfovisCoreModule.h:15
vtkMutableGraphHelper::RemoveEdges
void RemoveEdges(vtkIdTypeArray *edges)
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkMutableGraphHelper::SetGraph
void SetGraph(vtkGraph *g)
vtkMutableGraphHelper::RemoveVertex
void RemoveVertex(vtkIdType v)
vtkMutableDirectedGraph
An editable directed graph.
Definition: vtkMutableDirectedGraph.h:51
vtkMutableUndirectedGraph
An editable undirected graph.
Definition: vtkMutableUndirectedGraph.h:46
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkDataSetAttributes
represent and manipulate attribute data in a dataset
Definition: vtkDataSetAttributes.h:58
vtkMutableGraphHelper::DirectedGraph
vtkMutableDirectedGraph * DirectedGraph
Definition: vtkMutableGraphHelper.h:94
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkMutableGraphHelper::UndirectedGraph
vtkMutableUndirectedGraph * UndirectedGraph
Definition: vtkMutableGraphHelper.h:95
vtkgl::v
const GLdouble * v
Definition: vtkgl.h:11595
vtkMutableGraphHelper
Helper class for building a directed or directed graph.
Definition: vtkMutableGraphHelper.h:47
vtkMutableGraphHelper::New
static vtkMutableGraphHelper * New()
vtkEdgeType
Definition: vtkGraph.h:277
edges
vtksys_stl::pair< boost::graph_traits< vtkGraph * >::edge_iterator, boost::graph_traits< vtkGraph * >::edge_iterator > edges(vtkGraph *g)
Definition: vtkBoostGraphAdapter.h:855
vtkMutableGraphHelper::AddGraphEdge
vtkGraphEdge * AddGraphEdge(vtkIdType u, vtkIdType v)
vtkMutableGraphHelper::RemoveVertices
void RemoveVertices(vtkIdTypeArray *verts)
vtkGraphEdge
Representation of a single graph edge.
Definition: vtkGraphEdge.h:39
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkMutableGraphHelper::InternalGraph
vtkGraph * InternalGraph
Definition: vtkMutableGraphHelper.h:90
vtkMutableGraphHelper::AddEdge
vtkEdgeType AddEdge(vtkIdType u, vtkIdType v)
vtkGraph.h
vtkInfovisCoreModule.h
vtkMutableGraphHelper::SetInternalGraph
void SetInternalGraph(vtkGraph *g)
vtkObject.h
vtkMutableGraphHelper::~vtkMutableGraphHelper
~vtkMutableGraphHelper()
vtkMutableGraphHelper::AddVertex
vtkIdType AddVertex()
vtkIdTypeArray
dynamic, self-adjusting array of vtkIdType
Definition: vtkIdTypeArray.h:49
vtkgl::g
GLboolean GLboolean g
Definition: vtkgl.h:12312
vtkMutableGraphHelper::GetGraph
vtkGraph * GetGraph()
vtkMutableGraphHelper::GraphEdge
vtkGraphEdge * GraphEdge
Definition: vtkMutableGraphHelper.h:92
vtkMutableGraphHelper::vtkMutableGraphHelper
vtkMutableGraphHelper()
vtkGraph
Base class for graph data types.
Definition: vtkGraph.h:289
vtkMutableGraphHelper::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkMutableGraphHelper::RemoveEdge
void RemoveEdge(vtkIdType e)