#include <vtkSphereSource.h>
Inheritance diagram for vtkSphereSource:
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 | SetCenter (float, float, float) |
virtual void | SetCenter (float[3]) |
virtual float * | GetCenter () |
virtual void | GetCenter (float data[3]) |
virtual void | SetThetaResolution (int) |
virtual int | GetThetaResolution () |
virtual void | SetPhiResolution (int) |
virtual int | GetPhiResolution () |
virtual void | SetStartTheta (float) |
virtual float | GetStartTheta () |
virtual void | SetEndTheta (float) |
virtual float | GetEndTheta () |
virtual void | SetStartPhi (float) |
virtual float | GetStartPhi () |
virtual void | SetEndPhi (float) |
virtual float | GetEndPhi () |
virtual void | SetLatLongTessellation (int) |
virtual int | GetLatLongTessellation () |
virtual void | LatLongTessellationOn () |
virtual void | LatLongTessellationOff () |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkSphereSource * | SafeDownCast (vtkObject *o) |
vtkSphereSource * | New () |
Protected Methods | |
vtkSphereSource (int res=8) | |
~vtkSphereSource () | |
void | Execute () |
void | ExecuteInformation () |
Protected Attributes | |
float | Radius |
float | Center [3] |
int | ThetaResolution |
int | PhiResolution |
float | StartTheta |
float | EndTheta |
float | StartPhi |
float | EndPhi |
int | LatLongTessellation |
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 72 of file vtkSphereSource.h.
|
|
|
Definition at line 148 of file vtkSphereSource.h. |
|
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. 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 vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. 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 vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. Reimplemented in vtkPSphereSource. |
|
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. 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 vtkSource. |
|
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 vtkPolyDataSource. 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 method is the old style execute method Reimplemented from vtkSource. Reimplemented in vtkPSphereSource. |
|
Reimplemented from vtkSource. |
|
Definition at line 153 of file vtkSphereSource.h. |
|
Definition at line 154 of file vtkSphereSource.h. |
|
Definition at line 155 of file vtkSphereSource.h. |
|
Definition at line 156 of file vtkSphereSource.h. |
|
Definition at line 157 of file vtkSphereSource.h. |
|
Definition at line 158 of file vtkSphereSource.h. |
|
Definition at line 159 of file vtkSphereSource.h. |
|
Definition at line 160 of file vtkSphereSource.h. |
|
Definition at line 161 of file vtkSphereSource.h. |