#include <vtkTexturedSphereSource.h>
Inheritance diagram for vtkTexturedSphereSource:
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 | SetThetaResolution (int) |
virtual int | GetThetaResolution () |
virtual void | SetPhiResolution (int) |
virtual int | GetPhiResolution () |
virtual void | SetTheta (float) |
virtual float | GetTheta () |
virtual void | SetPhi (float) |
virtual float | GetPhi () |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkTexturedSphereSource * | SafeDownCast (vtkObject *o) |
vtkTexturedSphereSource * | New () |
Protected Methods | |
vtkTexturedSphereSource (int res=8) | |
~vtkTexturedSphereSource () | |
vtkTexturedSphereSource (const vtkTexturedSphereSource &) | |
void | operator= (const vtkTexturedSphereSource &) |
void | Execute () |
Protected Attributes | |
float | Radius |
float | Theta |
float | Phi |
int | ThetaResolution |
int | PhiResolution |
vtkTexturedSphereSource creates a polygonal sphere 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 sphere by specifying maximum phi and theta angles.
|
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. |
|
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. |
|
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. |
|
Construct sphere with radius=0.5 and default resolution 8 in both Phi and Theta directions. Reimplemented from vtkPolyDataSource. |
|
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. |
|
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. |
|
Set the maximum latitude angle (0 is at north pole). |
|
Set the number of points in the latitude direction. |
|
Set radius of sphere. |
|
Set the maximum longitude angle. |
|
Set the number of points in the longitude direction. |