VTK  9.3.20240423
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
21#include "vtkInfovisLayoutModule.h" // For export macro
22
23VTK_ABI_NAMESPACE_BEGIN
24class VTKINFOVISLAYOUT_EXPORT vtkPassThroughLayoutStrategy : public vtkGraphLayoutStrategy
25{
26public:
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
53protected:
56
57private:
59 void operator=(const vtkPassThroughLayoutStrategy&) = delete;
60};
61
62VTK_ABI_NAMESPACE_END
63#endif
abstract superclass for all graph layout strategies
a simple class to control print indentation
Definition vtkIndent.h:108
a layout strategy that does absolutely nothing
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Layout() override
This is the layout method where the graph that was set in SetGraph() is laid out.
int IsLayoutComplete() override
I'm an iterative layout so this method lets the caller know if I'm done laying out the graph.
void Initialize() override
This strategy sets up some data structures for faster processing of each Layout() call.
~vtkPassThroughLayoutStrategy() override
static vtkPassThroughLayoutStrategy * New()