vtkCylinderSource Class Reference
#include <vtkCylinderSource.h>
Inheritance diagram for vtkCylinderSource:
[legend]Collaboration diagram for vtkCylinderSource:
[legend]List of all members.
Detailed Description
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.
- Created by:
-
- CVS contributions (if > 5%):
- Schroeder, Will (72%)
- Martin, Ken (8%)
- Lorensen, Bill (6%)
- CVS logs (CVSweb):
.cxx (/Graphics/vtkCylinderSource
.cxx)
.h (/Graphics/vtkCylinderSource
.h)
- Examples:
- vtkCylinderSource (Examples)
- Tests:
- vtkCylinderSource (Tests)
Definition at line 50 of file vtkCylinderSource.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkCylinderSource::vtkCylinderSource |
( |
int |
res = 6 |
) |
[protected] |
|
Member Function Documentation
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm. |
virtual const char* vtkCylinderSource::GetClassName |
( |
|
) |
[virtual] |
|
int vtkCylinderSource::IsTypeOf |
( |
const char * |
type |
) |
[static] |
|
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataSource. |
virtual int vtkCylinderSource::IsA |
( |
const char * |
type |
) |
[virtual] |
|
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataSource. |
void vtkCylinderSource::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
[virtual] |
|
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkPolyDataSource. |
virtual void vtkCylinderSource::SetHeight |
( |
double |
|
) |
[virtual] |
|
|
Set the height of the cylinder. |
virtual double vtkCylinderSource::GetHeight |
( |
|
) |
[virtual] |
|
|
Set the height of the cylinder. |
virtual void vtkCylinderSource::SetRadius |
( |
double |
|
) |
[virtual] |
|
|
Set the radius of the cylinder. |
virtual double vtkCylinderSource::GetRadius |
( |
|
) |
[virtual] |
|
|
Set the radius of the cylinder. |
virtual void vtkCylinderSource::SetCenter |
( |
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
[virtual] |
|
virtual void vtkCylinderSource::SetCenter |
( |
double |
[3] |
) |
[virtual] |
|
virtual double* vtkCylinderSource::GetCenter |
( |
|
) |
[virtual] |
|
virtual void vtkCylinderSource::GetCenter |
( |
double |
data[3] |
) |
[virtual] |
|
virtual void vtkCylinderSource::SetResolution |
( |
int |
|
) |
[virtual] |
|
|
Set the number of facets used to define cylinder. |
virtual int vtkCylinderSource::GetResolution |
( |
|
) |
[virtual] |
|
|
Set the number of facets used to define cylinder. |
virtual void vtkCylinderSource::SetCapping |
( |
int |
|
) |
[virtual] |
|
|
Turn on/off whether to cap cylinder with polygons. |
virtual int vtkCylinderSource::GetCapping |
( |
|
) |
[virtual] |
|
|
Turn on/off whether to cap cylinder with polygons. |
virtual void vtkCylinderSource::CappingOn |
( |
|
) |
[virtual] |
|
|
Turn on/off whether to cap cylinder with polygons. |
virtual void vtkCylinderSource::CappingOff |
( |
|
) |
[virtual] |
|
|
Turn on/off whether to cap cylinder with polygons. |
void vtkCylinderSource::Execute |
( |
|
) |
[protected, virtual] |
|
|
This method is the old style execute method
Reimplemented from vtkSource. |
Member Data Documentation
The documentation for this class was generated from the following file: