create a sphere centered at the origin
More...
#include <vtkTexturedSphereSource.h>
Inherits vtkPolyDataAlgorithm.
create a sphere centered at the origin
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.
- Examples:
- vtkTexturedSphereSource (Examples)
- Tests:
- vtkTexturedSphereSource (Tests)
Definition at line 39 of file vtkTexturedSphereSource.h.
vtkTexturedSphereSource::vtkTexturedSphereSource |
( |
int |
res = 8 | ) |
|
|
protected |
vtkTexturedSphereSource::~vtkTexturedSphereSource |
( |
| ) |
|
|
inlineprotected |
static int vtkTexturedSphereSource::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkTexturedSphereSource::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkTexturedSphereSource::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkTexturedSphereSource::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
Construct sphere with radius=0.5 and default resolution 8 in both Phi and Theta directions.
virtual void vtkTexturedSphereSource::SetRadius |
( |
double |
| ) |
|
|
virtual |
virtual double vtkTexturedSphereSource::GetRadius |
( |
| ) |
|
|
virtual |
virtual void vtkTexturedSphereSource::SetThetaResolution |
( |
int |
| ) |
|
|
virtual |
Set the number of points in the longitude direction.
virtual int vtkTexturedSphereSource::GetThetaResolution |
( |
| ) |
|
|
virtual |
Set the number of points in the longitude direction.
virtual void vtkTexturedSphereSource::SetPhiResolution |
( |
int |
| ) |
|
|
virtual |
Set the number of points in the latitude direction.
virtual int vtkTexturedSphereSource::GetPhiResolution |
( |
| ) |
|
|
virtual |
Set the number of points in the latitude direction.
virtual void vtkTexturedSphereSource::SetTheta |
( |
double |
| ) |
|
|
virtual |
Set the maximum longitude angle.
virtual double vtkTexturedSphereSource::GetTheta |
( |
| ) |
|
|
virtual |
Set the maximum longitude angle.
virtual void vtkTexturedSphereSource::SetPhi |
( |
double |
| ) |
|
|
virtual |
Set the maximum latitude angle (0 is at north pole).
virtual double vtkTexturedSphereSource::GetPhi |
( |
| ) |
|
|
virtual |
Set the maximum latitude angle (0 is at north pole).
int vtkTexturedSphereSource::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
double vtkTexturedSphereSource::Radius |
|
protected |
double vtkTexturedSphereSource::Theta |
|
protected |
double vtkTexturedSphereSource::Phi |
|
protected |
int vtkTexturedSphereSource::ThetaResolution |
|
protected |
int vtkTexturedSphereSource::PhiResolution |
|
protected |
The documentation for this class was generated from the following file: