VTK
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 
33 #include "vtkInfovisLayoutModule.h" // For export macro
34 #include "vtkGraphLayoutStrategy.h"
35 
36 class VTKINFOVISLAYOUT_EXPORT vtkPassThroughLayoutStrategy : public vtkGraphLayoutStrategy
37 {
38 public:
40 
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
44 
49  void Initialize() override;
50 
58  void Layout() override;
59 
64  int IsLayoutComplete() override {return 1;}
65 
66 protected:
68  ~vtkPassThroughLayoutStrategy() override;
69 
70 private:
71 
73  void operator=(const vtkPassThroughLayoutStrategy&) = delete;
74 };
75 
76 #endif
77 
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkGraphLayoutStrategy
abstract superclass for all graph layout strategies
Definition: vtkGraphLayoutStrategy.h:45
vtkPassThroughLayoutStrategy::IsLayoutComplete
int IsLayoutComplete() override
I'm an iterative layout so this method lets the caller know if I'm done laying out the graph.
Definition: vtkPassThroughLayoutStrategy.h:64
vtkPassThroughLayoutStrategy
a layout strategy that does absolutely nothing
Definition: vtkPassThroughLayoutStrategy.h:36
vtkGraphLayoutStrategy::Layout
virtual void Layout()=0
This is the layout method where the graph that was set in SetGraph() is laid out.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkGraphLayoutStrategy::Initialize
virtual void Initialize()
This method allows the layout strategy to do initialization of data structures or whatever else it mi...
Definition: vtkGraphLayoutStrategy.h:61
vtkGraphLayoutStrategy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGraphLayoutStrategy.h