#include <vtkSphereSource.h>
Inheritance diagram for vtkSphereSource:
vtkSphereSource creates a sphere (represented by polygons) of specified radius centered at the origin. The resolution (polygonal discretization) in both the latitude (phi) and longitude (theta) directions can be specified. It also is possible to create partial spheres by specifying maximum phi and theta angles. By default, the surface tessellation of the sphere uses triangles; however you can set LatLongTessellation to produce a tessellation using quadrilaterals.
Definition at line 44 of file vtkSphereSource.h.
virtual void | SetRadius (double) |
virtual double | GetRadius () |
static vtkSphereSource * | New () |
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetCenter (double, double, double) |
virtual void | SetCenter (double[3]) |
virtual double * | GetCenter () |
virtual void | GetCenter (double data[3]) |
virtual void | SetThetaResolution (int) |
virtual int | GetThetaResolution () |
virtual void | SetPhiResolution (int) |
virtual int | GetPhiResolution () |
virtual void | SetStartTheta (double) |
virtual double | GetStartTheta () |
virtual void | SetEndTheta (double) |
virtual double | GetEndTheta () |
virtual void | SetStartPhi (double) |
virtual double | GetStartPhi () |
virtual void | SetEndPhi (double) |
virtual double | GetEndPhi () |
virtual void | SetLatLongTessellation (int) |
virtual int | GetLatLongTessellation () |
virtual void | LatLongTessellationOn () |
virtual void | LatLongTessellationOff () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkSphereSource * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkSphereSource (int res=8) | |
~vtkSphereSource () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
double | Radius |
double | Center [3] |
int | ThetaResolution |
int | PhiResolution |
double | StartTheta |
double | EndTheta |
double | StartPhi |
double | EndPhi |
int | LatLongTessellation |
|
Reimplemented from vtkPolyDataAlgorithm. Reimplemented in vtkPSphereSource. Definition at line 47 of file vtkSphereSource.h. |
|
|
|
Definition at line 120 of file vtkSphereSource.h. |
|
Reimplemented from vtkPolyDataAlgorithm. Reimplemented in vtkPSphereSource. |
|
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 vtkPolyDataAlgorithm. Reimplemented in vtkPSphereSource. |
|
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 vtkPolyDataAlgorithm. Reimplemented in vtkPSphereSource. |
|
Reimplemented from vtkPolyDataAlgorithm. Reimplemented in vtkPSphereSource. |
|
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 vtkPolyDataAlgorithm. Reimplemented in vtkPSphereSource. |
|
Construct sphere with radius=0.5 and default resolution 8 in both Phi and Theta directions. Theta ranges from (0,360) and phi (0,180) degrees. Reimplemented from vtkPolyDataAlgorithm. Reimplemented in vtkPSphereSource. |
|
Set radius of sphere. Default is .5. |
|
Set radius of sphere. Default is .5. |
|
Set the center of the sphere. Default is 0,0,0. |
|
Set the center of the sphere. Default is 0,0,0. |
|
Set the center of the sphere. Default is 0,0,0. |
|
Set the center of the sphere. Default is 0,0,0. |
|
Set the number of points in the longitude direction (ranging from StartTheta to EndTheta). |
|
Set the number of points in the longitude direction (ranging from StartTheta to EndTheta). |
|
Set the number of points in the latitude direction (ranging from StartPhi to EndPhi). |
|
Set the number of points in the latitude direction (ranging from StartPhi to EndPhi). |
|
Set the starting longitude angle. By default StartTheta=0 degrees. |
|
Set the starting longitude angle. By default StartTheta=0 degrees. |
|
Set the ending longitude angle. By default EndTheta=360 degrees. |
|
Set the ending longitude angle. By default EndTheta=360 degrees. |
|
Set the starting latitude angle (0 is at north pole). By default StartPhi=0 degrees. |
|
Set the starting latitude angle (0 is at north pole). By default StartPhi=0 degrees. |
|
Set the ending latitude angle. By default EndPhi=180 degrees. |
|
Set the ending latitude angle. By default EndPhi=180 degrees. |
|
Cause the sphere to be tessellated with edges along the latitude and longitude lines. If off, triangles are generated at non-polar regions, which results in edges that are not parallel to latitude and longitude lines. If on, quadrilaterals are generated everywhere except at the poles. This can be useful for generating a wireframe sphere with natural latitude and longitude lines. |
|
Cause the sphere to be tessellated with edges along the latitude and longitude lines. If off, triangles are generated at non-polar regions, which results in edges that are not parallel to latitude and longitude lines. If on, quadrilaterals are generated everywhere except at the poles. This can be useful for generating a wireframe sphere with natural latitude and longitude lines. |
|
Cause the sphere to be tessellated with edges along the latitude and longitude lines. If off, triangles are generated at non-polar regions, which results in edges that are not parallel to latitude and longitude lines. If on, quadrilaterals are generated everywhere except at the poles. This can be useful for generating a wireframe sphere with natural latitude and longitude lines. |
|
Cause the sphere to be tessellated with edges along the latitude and longitude lines. If off, triangles are generated at non-polar regions, which results in edges that are not parallel to latitude and longitude lines. If on, quadrilaterals are generated everywhere except at the poles. This can be useful for generating a wireframe sphere with natural latitude and longitude lines. |
|
This is called by the superclass. This is the method you should override. Reimplemented from vtkPolyDataAlgorithm. Reimplemented in vtkPSphereSource. |
|
Reimplemented from vtkPolyDataAlgorithm. |
|
Definition at line 125 of file vtkSphereSource.h. |
|
Definition at line 126 of file vtkSphereSource.h. |
|
Definition at line 127 of file vtkSphereSource.h. |
|
Definition at line 128 of file vtkSphereSource.h. |
|
Definition at line 129 of file vtkSphereSource.h. |
|
Definition at line 130 of file vtkSphereSource.h. |
|
Definition at line 131 of file vtkSphereSource.h. |
|
Definition at line 132 of file vtkSphereSource.h. |
|
Definition at line 133 of file vtkSphereSource.h. |