VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkGeoRandomGraphSource Class Reference

A geospatial graph with random edges. More...

#include <vtkGeoRandomGraphSource.h>

Inheritance diagram for vtkGeoRandomGraphSource:
Inheritance graph
[legend]
Collaboration diagram for vtkGeoRandomGraphSource:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkRandomGraphSource Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkGeoRandomGraphSourceNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static vtkGeoRandomGraphSourceNew ()
static int IsTypeOf (const char *type)
static vtkGeoRandomGraphSourceSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkGeoRandomGraphSource ()
 ~vtkGeoRandomGraphSource ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Detailed Description

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.

See also:
vtkRandomGraphSource
Examples:
vtkGeoRandomGraphSource (Examples)
Tests:
vtkGeoRandomGraphSource (Tests)

Definition at line 51 of file vtkGeoRandomGraphSource.h.


Member Typedef Documentation

Reimplemented from vtkRandomGraphSource.

Definition at line 55 of file vtkGeoRandomGraphSource.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

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.


The documentation for this class was generated from the following file: