VTK  9.3.1
vtkPassThroughLayoutStrategy.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 vtkPassThroughLayoutStrategy_h
18 #define vtkPassThroughLayoutStrategy_h
19 
20 #include "vtkGraphLayoutStrategy.h"
21 #include "vtkInfovisLayoutModule.h" // For export macro
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class VTKINFOVISLAYOUT_EXPORT vtkPassThroughLayoutStrategy : public vtkGraphLayoutStrategy
25 {
26 public:
28 
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
36  void Initialize() override;
37 
45  void Layout() override;
46 
51  int IsLayoutComplete() override { return 1; }
52 
53 protected:
55  ~vtkPassThroughLayoutStrategy() override;
56 
57 private:
59  void operator=(const vtkPassThroughLayoutStrategy&) = delete;
60 };
61 
62 VTK_ABI_NAMESPACE_END
63 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract superclass for all graph layout strategies
a layout strategy that does absolutely nothing
a simple class to control print indentation
Definition: vtkIndent.h:28
int IsLayoutComplete() override
I'm an iterative layout so this method lets the caller know if I'm done laying out the graph...
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual void Initialize()
This method allows the layout strategy to do initialization of data structures or whatever else it mi...
virtual void Layout()=0
This is the layout method where the graph that was set in SetGraph() is laid out. ...