VTK
vtkGeoRandomGraphSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGeoRandomGraphSource.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 -------------------------------------------------------------------------*/
41 #ifndef vtkGeoRandomGraphSource_h
42 #define vtkGeoRandomGraphSource_h
43 
44 #include "vtkGeovisCoreModule.h" // For export macro
45 #include "vtkRandomGraphSource.h"
46 
47 class vtkGraph;
48 
49 #if !defined(VTK_LEGACY_REMOVE)
50 class VTKGEOVISCORE_EXPORT vtkGeoRandomGraphSource : public vtkRandomGraphSource
51 {
52 public:
53  static vtkGeoRandomGraphSource* New();
55  void PrintSelf(ostream& os, vtkIndent indent) override;
56 
57 protected:
59  ~vtkGeoRandomGraphSource() override;
60 
61  int RequestData(
64  vtkInformationVector*) override;
65 
66 private:
68  void operator=(const vtkGeoRandomGraphSource&) = delete;
69 };
70 
71 #endif //VTK_LEGACY_REMOVE
72 #endif
73 
a graph with random edges
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Store vtkAlgorithm input/output information.
static vtkRandomGraphSource * New()
Base class for graph data types.
Definition: vtkGraph.h:287
a simple class to control print indentation
Definition: vtkIndent.h:39
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.
A geospatial graph with random edges.