vtkGeoRandomGraphSource Class Reference

#include <vtkGeoRandomGraphSource.h>

Inheritance diagram for vtkGeoRandomGraphSource:

Inheritance graph
[legend]
Collaboration diagram for vtkGeoRandomGraphSource:

Collaboration graph
[legend]

List of all members.


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
Tests:
vtkGeoRandomGraphSource (Tests)

Definition at line 47 of file vtkGeoRandomGraphSource.h.


Public Types

typedef vtkRandomGraphSource Superclass

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

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

Member Typedef Documentation

Reimplemented from vtkRandomGraphSource.

Definition at line 51 of file vtkGeoRandomGraphSource.h.


Constructor & Destructor Documentation

vtkGeoRandomGraphSource::vtkGeoRandomGraphSource (  )  [protected]

vtkGeoRandomGraphSource::~vtkGeoRandomGraphSource (  )  [protected]


Member Function Documentation

static vtkGeoRandomGraphSource* vtkGeoRandomGraphSource::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkRandomGraphSource.

virtual const char* vtkGeoRandomGraphSource::GetClassName (  )  [virtual]

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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkRandomGraphSource.

static vtkGeoRandomGraphSource* vtkGeoRandomGraphSource::SafeDownCast ( vtkObject o  )  [static]

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:

Generated on Wed Jun 3 19:05:27 2009 for VTK by  doxygen 1.5.6