VTK  9.1.0
vtkPassThroughLayoutStrategy.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkPassThroughLayoutStrategy.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-------------------------------------------------------------------------*/
30#ifndef vtkPassThroughLayoutStrategy_h
31#define vtkPassThroughLayoutStrategy_h
32
34#include "vtkInfovisLayoutModule.h" // For export macro
35
36class VTKINFOVISLAYOUT_EXPORT vtkPassThroughLayoutStrategy : public vtkGraphLayoutStrategy
37{
38public:
40
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
48 void Initialize() override;
49
57 void Layout() override;
58
63 int IsLayoutComplete() override { return 1; }
64
65protected:
68
69private:
71 void operator=(const vtkPassThroughLayoutStrategy&) = delete;
72};
73
74#endif
abstract superclass for all graph layout strategies
a simple class to control print indentation
Definition: vtkIndent.h:113
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()