VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkEarthSource Class Reference

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

#include <vtkEarthSource.h>

Inherits vtkPolyDataAlgorithm.

Public Types

typedef vtkPolyDataAlgorithm Superclass
 

Public Member Functions

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

Static Public Member Functions

static vtkEarthSourceNew ()
 
static int IsTypeOf (const char *type)
 
static vtkEarthSourceSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkEarthSource ()
 
 ~vtkEarthSource ()
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 

Protected Attributes

double Radius
 
int OnRatio
 
int Outline
 

Detailed Description

create the continents of the Earth as a sphere

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.

Tests:
vtkEarthSource (Tests)

Definition at line 34 of file vtkEarthSource.h.

Member Typedef Documentation

typedef vtkPolyDataAlgorithm vtkEarthSource::Superclass

Definition at line 38 of file vtkEarthSource.h.

Constructor & Destructor Documentation

vtkEarthSource::vtkEarthSource ( )
protected
vtkEarthSource::~vtkEarthSource ( )
inlineprotected

Definition at line 67 of file vtkEarthSource.h.

Member Function Documentation

static vtkEarthSource* vtkEarthSource::New ( )
static
static int vtkEarthSource::IsTypeOf ( const char *  type)
static
virtual int vtkEarthSource::IsA ( const char *  type)
virtual
static vtkEarthSource* vtkEarthSource::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkEarthSource::NewInstanceInternal ( ) const
protectedvirtual
vtkEarthSource* vtkEarthSource::NewInstance ( ) const
void vtkEarthSource::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkEarthSource::SetRadius ( double  )
virtual

Set radius of earth.

virtual double vtkEarthSource::GetRadius ( )
virtual

Set radius of earth.

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

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

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 void vtkEarthSource::OutlineOn ( )
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 void vtkEarthSource::OutlineOff ( )
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.

int vtkEarthSource::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protected

Member Data Documentation

double vtkEarthSource::Radius
protected

Definition at line 71 of file vtkEarthSource.h.

int vtkEarthSource::OnRatio
protected

Definition at line 72 of file vtkEarthSource.h.

int vtkEarthSource::Outline
protected

Definition at line 73 of file vtkEarthSource.h.


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