Documentation for vtkCylinder

vtkCylinder - implicit function for a cylinder

Super Class: vtkImplicitFunction

Description:

vtkCylinder computes the implicit function and function gradient for a cylinder. vtkCylinder is a concrete implementation of vtkImplicitFunction. Cylinder is centered at Center and axes of rotation is along the y-axis. (Use the superclass' vtkImplicitFunction transformation matrix if necessary to reposition.)

 

Caveats:

The cylinder is infinite in extent. To truncate the cylinder use the vtkImplicitBoolean in combination with clipping planes.

 

Methods:

void vtkCylinder ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
static vtkCylinder *New ()
float EvaluateFunction (float )
void EvaluateGradient (float ,float )
void SetRadius (float )
float GetRadius ()
void SetCenter (float ,float ,float )
void SetCenter (float *)
float *GetCenter ()

 

Detailed Method Descriptions:

Set/Get cylinder radius.

void SetRadius (float )
float GetRadius ()

Set/Get cylinder center

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