Documentation for vtkEarthSource

vtkEarthSource - create the continents of the Earth as a sphere

Super Class: vtkPolyDataSource

Description:

vtkEarthSource creates a spherical rendering of the geographical shapes of the major continents of the earth. The OnRatio determines how much of the data is actually used. The radius defines the radius of the sphere at which the continents are placed. Obtains data from an imbeded array of coordinates.

 

Methods:

void vtkEarthSource ()
static vtkEarthSource *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void SetRadius (float )
float GetRadius ()
void SetOnRatio (int )
int GetOnRatio ()
void SetOutline (int )
int GetOutline ()
void OutlineOn ()
void OutlineOff ()
void Execute ()

 

Detailed Method Descriptions:

Set radius of earth.

void SetRadius (float )
float GetRadius ()

Turn on every nth entity. This controls how much detail the model will have. The maximum ratio is sixteen. (The smaller OnRatio, the more detail there is.)

void SetOnRatio (int )
int GetOnRatio ()

Turn on/off drawing continents as filled polygons or as wireframe outlines. Warning: some graphics systems will have trouble with the very large, concave filled polygons. Recommend you use OutlienOn (i.e., disable filled polygons) for now.

void SetOutline (int )
int GetOutline ()
void OutlineOn ()
void OutlineOff ()