Section: Visualization Toolkit Graphics Classes
To create an instance of class vtkCylinderSource, simply invoke its constructor as follows
obj = vtkCylinderSource
obj
is an instance of the vtkCylinderSource class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkCylinderSource = obj.NewInstance ()
vtkCylinderSource = obj.SafeDownCast (vtkObject o)
obj.SetHeight (double )
- Set the height of the cylinder. Initial value is 1.
double = obj.GetHeightMinValue ()
- Set the height of the cylinder. Initial value is 1.
double = obj.GetHeightMaxValue ()
- Set the height of the cylinder. Initial value is 1.
double = obj.GetHeight ()
- Set the height of the cylinder. Initial value is 1.
obj.SetRadius (double )
- Set the radius of the cylinder. Initial value is 0.5
double = obj.GetRadiusMinValue ()
- Set the radius of the cylinder. Initial value is 0.5
double = obj.GetRadiusMaxValue ()
- Set the radius of the cylinder. Initial value is 0.5
double = obj.GetRadius ()
- Set the radius of the cylinder. Initial value is 0.5
obj.SetCenter (double , double , double )
- Set/Get cylinder center. Initial value is (0.0,0.0,0.0)
obj.SetCenter (double a[3])
- Set/Get cylinder center. Initial value is (0.0,0.0,0.0)
double = obj. GetCenter ()
- Set/Get cylinder center. Initial value is (0.0,0.0,0.0)
obj.SetResolution (int )
- Set the number of facets used to define cylinder. Initial value is 6.
int = obj.GetResolutionMinValue ()
- Set the number of facets used to define cylinder. Initial value is 6.
int = obj.GetResolutionMaxValue ()
- Set the number of facets used to define cylinder. Initial value is 6.
int = obj.GetResolution ()
- Set the number of facets used to define cylinder. Initial value is 6.
obj.SetCapping (int )
- Turn on/off whether to cap cylinder with polygons. Initial value is true.
int = obj.GetCapping ()
- Turn on/off whether to cap cylinder with polygons. Initial value is true.
obj.CappingOn ()
- Turn on/off whether to cap cylinder with polygons. Initial value is true.
obj.CappingOff ()
- Turn on/off whether to cap cylinder with polygons. Initial value is true.