generate a cylinder centered at origin
More...
#include <vtkCylinderSource.h>
Inherits vtkPolyDataAlgorithm.
generate a cylinder centered at origin
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. If you have the end points of the cylinder, you should use a vtkLineSource followed by a vtkTubeFilter instead of the vtkCylinderSource.
- Examples:
- vtkCylinderSource (Examples)
- Tests:
- vtkCylinderSource (Tests)
Definition at line 41 of file vtkCylinderSource.h.
vtkCylinderSource::vtkCylinderSource |
( |
int |
res = 6 | ) |
|
|
protected |
vtkCylinderSource::~vtkCylinderSource |
( |
| ) |
|
|
inlineprotected |
static int vtkCylinderSource::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkCylinderSource::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkCylinderSource::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkCylinderSource::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkCylinderSource::SetHeight |
( |
double |
| ) |
|
|
virtual |
Set the height of the cylinder. Initial value is 1.
virtual double vtkCylinderSource::GetHeight |
( |
| ) |
|
|
virtual |
Set the height of the cylinder. Initial value is 1.
virtual void vtkCylinderSource::SetRadius |
( |
double |
| ) |
|
|
virtual |
Set the radius of the cylinder. Initial value is 0.5
virtual double vtkCylinderSource::GetRadius |
( |
| ) |
|
|
virtual |
Set the radius of the cylinder. Initial value is 0.5
virtual void vtkCylinderSource::SetCenter |
( |
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
virtual |
Set/Get cylinder center. Initial value is (0.0,0.0,0.0)
virtual void vtkCylinderSource::SetCenter |
( |
double |
[3] | ) |
|
|
virtual |
Set/Get cylinder center. Initial value is (0.0,0.0,0.0)
virtual double* vtkCylinderSource::GetCenter |
( |
| ) |
|
|
virtual |
Set/Get cylinder center. Initial value is (0.0,0.0,0.0)
virtual void vtkCylinderSource::GetCenter |
( |
double |
data[3] | ) |
|
|
virtual |
Set/Get cylinder center. Initial value is (0.0,0.0,0.0)
virtual void vtkCylinderSource::SetResolution |
( |
int |
| ) |
|
|
virtual |
Set the number of facets used to define cylinder. Initial value is 6.
virtual int vtkCylinderSource::GetResolution |
( |
| ) |
|
|
virtual |
Set the number of facets used to define cylinder. Initial value is 6.
virtual void vtkCylinderSource::SetCapping |
( |
int |
| ) |
|
|
virtual |
Turn on/off whether to cap cylinder with polygons. Initial value is true.
virtual int vtkCylinderSource::GetCapping |
( |
| ) |
|
|
virtual |
Turn on/off whether to cap cylinder with polygons. Initial value is true.
virtual void vtkCylinderSource::CappingOn |
( |
| ) |
|
|
virtual |
Turn on/off whether to cap cylinder with polygons. Initial value is true.
virtual void vtkCylinderSource::CappingOff |
( |
| ) |
|
|
virtual |
Turn on/off whether to cap cylinder with polygons. Initial value is true.
int vtkCylinderSource::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
double vtkCylinderSource::Height |
|
protected |
double vtkCylinderSource::Radius |
|
protected |
double vtkCylinderSource::Center[3] |
|
protected |
int vtkCylinderSource::Resolution |
|
protected |
int vtkCylinderSource::Capping |
|
protected |
The documentation for this class was generated from the following file: