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 -------------------------------------------------------------------------*/
38 #ifndef vtkGeoRandomGraphSource_h
39 #define vtkGeoRandomGraphSource_h
40 
41 #include "vtkGeovisCoreModule.h" // For export macro
42 #include "vtkRandomGraphSource.h"
43 
44 class vtkGraph;
45 
46 class VTKGEOVISCORE_EXPORT vtkGeoRandomGraphSource : public vtkRandomGraphSource
47 {
48 public:
49  static vtkGeoRandomGraphSource* New();
51  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
52 
53 protected:
55  ~vtkGeoRandomGraphSource() VTK_OVERRIDE;
56 
57  int RequestData(
60  vtkInformationVector*) VTK_OVERRIDE;
61 
62 private:
63  vtkGeoRandomGraphSource(const vtkGeoRandomGraphSource&) VTK_DELETE_FUNCTION;
64  void operator=(const vtkGeoRandomGraphSource&) VTK_DELETE_FUNCTION;
65 };
66 
67 #endif
68 
a graph with random edges
Store vtkAlgorithm input/output information.
static vtkRandomGraphSource * New()
Base class for graph data types.
Definition: vtkGraph.h:281
a simple class to control print indentation
Definition: vtkIndent.h:33
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.