Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkEarthSource Class Reference

create the continents of the Earth as a sphere. More...

#include <vtkEarthSource.h>

Inheritance diagram for vtkEarthSource:

Inheritance graph
[legend]
Collaboration diagram for vtkEarthSource:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetRadius (float)
virtual float GetRadius ()
virtual void SetOnRatio (int)
virtual int GetOnRatio ()
virtual void SetOutline (int)
virtual int GetOutline ()
virtual void OutlineOn ()
virtual void OutlineOff ()

Static Public Methods

vtkEarthSource * New ()
int IsTypeOf (const char *type)
vtkEarthSource * SafeDownCast (vtkObject *o)

Protected Methods

 vtkEarthSource ()
 ~vtkEarthSource ()
 vtkEarthSource (const vtkEarthSource &)
void operator= (const vtkEarthSource &)
void Execute ()

Protected Attributes

float Radius
int OnRatio
int Outline

Detailed Description

create the continents of the Earth as a sphere.

Date:
2000/12/10 20:08:23
Revision:
1.20
Thanks:
Thanks to Tom Johnson at Johnson Scientific International who developed and contributed this class. Also see ftp://www.ou.edu/pub/simtelnet/msdos/worldmap and the data by John B. Allison for more information.
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 imbedded array of coordinates.
Examples:
vtkEarthSource (examples)

Definition at line 65 of file vtkEarthSource.h.


Constructor & Destructor Documentation

vtkEarthSource::vtkEarthSource   [protected]
 

vtkEarthSource::~vtkEarthSource   [inline, protected]
 

Definition at line 92 of file vtkEarthSource.h.

vtkEarthSource::vtkEarthSource const vtkEarthSource &    [inline, protected]
 

Definition at line 93 of file vtkEarthSource.h.


Member Function Documentation

vtkEarthSource* vtkEarthSource::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkPolyDataSource.

virtual const char* vtkEarthSource::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

int vtkEarthSource::IsTypeOf const char *    type [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 vtkPolyDataSource.

virtual int vtkEarthSource::IsA const char *    type [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 vtkPolyDataSource.

vtkEarthSource* vtkEarthSource::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

void vtkEarthSource::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 vtkSource.

virtual void vtkEarthSource::SetRadius float    [virtual]
 

Set radius of earth.

virtual float vtkEarthSource::GetRadius   [virtual]
 

virtual void vtkEarthSource::SetOnRatio int    [virtual]
 

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.)

virtual int vtkEarthSource::GetOnRatio   [virtual]
 

virtual void vtkEarthSource::SetOutline int    [virtual]
 

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.

virtual int vtkEarthSource::GetOutline   [virtual]
 

virtual void vtkEarthSource::OutlineOn   [virtual]
 

virtual void vtkEarthSource::OutlineOff   [virtual]
 

void vtkEarthSource::operator= const vtkEarthSource &    [inline, protected]
 

Definition at line 94 of file vtkEarthSource.h.

void vtkEarthSource::Execute   [protected, virtual]
 

Reimplemented from vtkSource.


Member Data Documentation

float vtkEarthSource::Radius [protected]
 

Definition at line 98 of file vtkEarthSource.h.

int vtkEarthSource::OnRatio [protected]
 

Definition at line 99 of file vtkEarthSource.h.

int vtkEarthSource::Outline [protected]
 

Definition at line 100 of file vtkEarthSource.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:47:35 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001