VTK
vtkEdgeLayout.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkEdgeLayout.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 ----------------------------------------------------------------------------*/
31 #ifndef vtkEdgeLayout_h
32 #define vtkEdgeLayout_h
33 
34 #include "vtkInfovisLayoutModule.h" // For export macro
35 #include "vtkGraphAlgorithm.h"
36 
39 
41 {
42 public:
43  static vtkEdgeLayout *New();
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
48 
49  void SetLayoutStrategy(vtkEdgeLayoutStrategy *strategy);
50  vtkGetObjectMacro(LayoutStrategy, vtkEdgeLayoutStrategy);
52 
54  virtual unsigned long GetMTime();
55 
56 protected:
57  vtkEdgeLayout();
58  ~vtkEdgeLayout();
59 
61 
63 
66  unsigned long ObserverTag;
68 
69  int RequestData(
73 
74 private:
75 
76  vtkGraph *InternalGraph;
77 
78  vtkEdgeLayout(const vtkEdgeLayout&); // Not implemented.
79  void operator=(const vtkEdgeLayout&); // Not implemented.
80 };
81 
82 #endif
a simple event forwarder command
static vtkGraphAlgorithm * New()
vtkEventForwarderCommand * EventForwarder
Definition: vtkEdgeLayout.h:65
Store vtkAlgorithm input/output information.
#define VTKINFOVISLAYOUT_EXPORT
unsigned long ObserverTag
Definition: vtkEdgeLayout.h:66
Superclass for algorithms that produce only graph as output.
Base class for graph data types.
Definition: vtkGraph.h:288
virtual unsigned long GetMTime()
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkEdgeLayoutStrategy * LayoutStrategy
Definition: vtkEdgeLayout.h:60
abstract superclass for all edge layout strategies
layout graph edges
Definition: vtkEdgeLayout.h:40
Store zero or more vtkInformation instances.