VTK
vtkExpandSelectedGraph.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExpandSelectedGraph.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 -------------------------------------------------------------------------*/
20 
39 #ifndef vtkExpandSelectedGraph_h
40 #define vtkExpandSelectedGraph_h
41 
42 #include "vtkInfovisCoreModule.h" // For export macro
43 #include "vtkSelectionAlgorithm.h"
44 
45 class vtkGraph;
46 class vtkIdTypeArray;
47 
49 {
50 public:
53  void PrintSelf(ostream& os, vtkIndent indent);
54 
57 
60 
62 
64  vtkSetMacro(BFSDistance, int);
65  vtkGetMacro(BFSDistance, int);
67 
69 
73  vtkSetMacro(IncludeShortestPaths, bool);
74  vtkGetMacro(IncludeShortestPaths, bool);
75  vtkBooleanMacro(IncludeShortestPaths, bool);
77 
79 
83 
85 
87  vtkSetMacro(UseDomain, bool);
88  vtkGetMacro(UseDomain, bool);
89  vtkBooleanMacro(UseDomain, bool);
91 
92 protected:
95 
100 
102 
105  char* Domain;
106  bool UseDomain;
107 
108 private:
109  vtkExpandSelectedGraph(const vtkExpandSelectedGraph&); // Not implemented
110  void operator=(const vtkExpandSelectedGraph&); // Not implemented
111 
112  void BFSExpandSelection(vtkIdTypeArray *selection,
113  vtkGraph *graph);
114 };
115 
116 #endif
117 
vtkExpandSelectedGraph::BFSDistance
int BFSDistance
Definition: vtkExpandSelectedGraph.h:103
VTKINFOVISCORE_EXPORT
#define VTKINFOVISCORE_EXPORT
Definition: vtkInfovisCoreModule.h:15
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkExpandSelectedGraph::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkgl::in
GLuint in
Definition: vtkgl.h:16905
vtkSelectionAlgorithm.h
vtkExpandSelectedGraph::~vtkExpandSelectedGraph
~vtkExpandSelectedGraph()
vtkExpandSelectedGraph::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkExpandSelectedGraph::Expand
void Expand(vtkIdTypeArray *, vtkGraph *)
vtkExpandSelectedGraph::UseDomain
bool UseDomain
Definition: vtkExpandSelectedGraph.h:106
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
vtkExpandSelectedGraph::SetGraphConnection
void SetGraphConnection(vtkAlgorithmOutput *in)
vtkExpandSelectedGraph::IncludeShortestPaths
bool IncludeShortestPaths
Definition: vtkExpandSelectedGraph.h:104
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
vtkInfovisCoreModule.h
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkExpandSelectedGraph::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkIdTypeArray
dynamic, self-adjusting array of vtkIdType
Definition: vtkIdTypeArray.h:49
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:39
vtkExpandSelectedGraph
expands a selection set of a vtkGraph
Definition: vtkExpandSelectedGraph.h:49
vtkSelectionAlgorithm
Superclass for algorithms that produce only Selection as output.
Definition: vtkSelectionAlgorithm.h:46
vtkExpandSelectedGraph::vtkExpandSelectedGraph
vtkExpandSelectedGraph()
vtkGraph
Base class for graph data types.
Definition: vtkGraph.h:289
vtkExpandSelectedGraph::New
static vtkExpandSelectedGraph * New()
vtkExpandSelectedGraph::Domain
char * Domain
Definition: vtkExpandSelectedGraph.h:105