Documentation for vtkCylinderSource

vtkCylinderSource - generate a cylinder centered at origin

Super Class: vtkPolyDataSource

Description:

vtkCylinderSource creates a polygonal cylinder centered at Center; The axis of the cylinder is aligned along the global y-axis. The height and radius of the cylinder can be specified, as well as the number of sides. It is also possible to control whether the cylinder is open-ended or capped.

 

Methods:

void vtkCylinderSource (int )
static vtkCylinderSource *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void SetHeight (float )
float GetHeight ()
void SetRadius (float )
float GetRadius ()
void SetCenter (float ,float ,float )
void SetCenter (float *)
float *GetCenter ()
void SetResolution (int )
int GetResolution ()
void SetCapping (int )
int GetCapping ()
void CappingOn ()
void CappingOff ()
void Execute ()

 

Detailed Method Descriptions:

Set the height of the cylinder.

void SetHeight (float )
float GetHeight ()

Set the radius of the cylinder.

void SetRadius (float )
float GetRadius ()

Set/Get cylinder center

void SetCenter (float ,float ,float )
void SetCenter (float *)
float *GetCenter ()

Set the number of facets used to define cylinder.

void SetResolution (int )
int GetResolution ()

Turn on/off whether to cap cylinder with polygons.

void SetCapping (int )
int GetCapping ()
void CappingOn ()
void CappingOff ()