Section: Visualization Toolkit Hybrid Classes
To create an instance of class vtkEarthSource, simply invoke its constructor as follows
obj = vtkEarthSource
obj
is an instance of the vtkEarthSource class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkEarthSource = obj.NewInstance ()
vtkEarthSource = obj.SafeDownCast (vtkObject o)
obj.SetRadius (double )
- Set radius of earth.
double = obj.GetRadiusMinValue ()
- Set radius of earth.
double = obj.GetRadiusMaxValue ()
- Set radius of earth.
double = obj.GetRadius ()
- Set radius of earth.
obj.SetOnRatio (int )
- 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.)
int = obj.GetOnRatioMinValue ()
- 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.)
int = obj.GetOnRatioMaxValue ()
- 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.)
int = obj.GetOnRatio ()
- 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.)
obj.SetOutline (int )
- 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 = obj.GetOutline ()
- 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.
obj.OutlineOn ()
- 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.
obj.OutlineOff ()
- 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.