VTK
|
A geospatial graph with random edges. More...
#include <vtkGeoRandomGraphSource.h>
Public Types | |
typedef vtkRandomGraphSource | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkGeoRandomGraphSource * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static vtkGeoRandomGraphSource * | New () |
static int | IsTypeOf (const char *type) |
static vtkGeoRandomGraphSource * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkGeoRandomGraphSource () | |
~vtkGeoRandomGraphSource () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
A geospatial graph with random edges.
Generates a graph with a specified number of vertices, with the density of edges specified by either an exact number of edges or the probability of an edge. You may additionally specify whether to begin with a random tree (which enforces graph connectivity).
The filter also adds random vertex attributes called latitude and longitude. The latitude is distributed uniformly from -90 to 90, while longitude is distributed uniformly from -180 to 180.
Definition at line 51 of file vtkGeoRandomGraphSource.h.
Reimplemented from vtkRandomGraphSource.
Definition at line 55 of file vtkGeoRandomGraphSource.h.
vtkGeoRandomGraphSource::vtkGeoRandomGraphSource | ( | ) | [protected] |
vtkGeoRandomGraphSource::~vtkGeoRandomGraphSource | ( | ) | [protected] |
static vtkGeoRandomGraphSource* vtkGeoRandomGraphSource::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkRandomGraphSource.
static int vtkGeoRandomGraphSource::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkRandomGraphSource.
virtual int vtkGeoRandomGraphSource::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkRandomGraphSource.
static vtkGeoRandomGraphSource* vtkGeoRandomGraphSource::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkRandomGraphSource.
virtual vtkObjectBase* vtkGeoRandomGraphSource::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkRandomGraphSource.
Reimplemented from vtkRandomGraphSource.
void vtkGeoRandomGraphSource::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkRandomGraphSource.
virtual int vtkGeoRandomGraphSource::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkRandomGraphSource.