Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
vtkCylinderSource Class Reference
generate a cylinder centered at origin.
More...
#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.
-
Date:
-
2000/12/10 20:08:33
-
Revision:
-
1.38
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.
-
Examples:
-
vtkCylinderSource (examples)
Definition at line 61 of file vtkCylinderSource.h.
Constructor & Destructor Documentation
vtkCylinderSource::vtkCylinderSource |
( |
int |
res = 6 |
) |
[protected] |
|
vtkCylinderSource::~vtkCylinderSource |
( |
|
) |
[inline, protected] |
|
vtkCylinderSource::vtkCylinderSource |
( |
const vtkCylinderSource & |
|
) |
[inline, protected] |
|
Member Function Documentation
vtkCylinderSource* vtkCylinderSource::New |
( |
|
) |
[static] |
|
|
Instantiate object with no start, end, or progress methods.
Reimplemented from vtkPolyDataSource. |
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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataSource. |
vtkCylinderSource* vtkCylinderSource::SafeDownCast |
( |
vtkObject * |
o |
) |
[static] |
|
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro 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 vtkSource. |
virtual void vtkCylinderSource::SetHeight |
( |
float |
|
) |
[virtual] |
|
|
Set the height of the cylinder. |
virtual float vtkCylinderSource::GetHeight |
( |
|
) |
[virtual] |
|
virtual void vtkCylinderSource::SetRadius |
( |
float |
|
) |
[virtual] |
|
|
Set the radius of the cylinder. |
virtual float vtkCylinderSource::GetRadius |
( |
|
) |
[virtual] |
|
virtual void vtkCylinderSource::SetCenter |
( |
float |
, |
|
|
float |
, |
|
|
float |
|
|
) |
[virtual] |
|
virtual void vtkCylinderSource::SetCenter |
( |
float |
[3] |
) |
[virtual] |
|
virtual float* vtkCylinderSource::GetCenter |
( |
|
) |
[virtual] |
|
virtual void vtkCylinderSource::GetCenter |
( |
float |
data[3] |
) |
[virtual] |
|
virtual void vtkCylinderSource::SetResolution |
( |
int |
|
) |
[virtual] |
|
|
Set the number of facets used to define cylinder. |
virtual int vtkCylinderSource::GetResolution |
( |
|
) |
[virtual] |
|
virtual void vtkCylinderSource::SetCapping |
( |
int |
|
) |
[virtual] |
|
|
Turn on/off whether to cap cylinder with polygons. |
virtual int vtkCylinderSource::GetCapping |
( |
|
) |
[virtual] |
|
virtual void vtkCylinderSource::CappingOn |
( |
|
) |
[virtual] |
|
virtual void vtkCylinderSource::CappingOff |
( |
|
) |
[virtual] |
|
void vtkCylinderSource::operator= |
( |
const vtkCylinderSource & |
|
) |
[inline, protected] |
|
void vtkCylinderSource::Execute |
( |
|
) |
[protected, virtual] |
|
Member Data Documentation
float vtkCylinderSource::Height [protected]
|
|
float vtkCylinderSource::Radius [protected]
|
|
float vtkCylinderSource::Center[3] [protected]
|
|
int vtkCylinderSource::Resolution [protected]
|
|
int vtkCylinderSource::Capping [protected]
|
|
The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:47:14 2001 for VTK by
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001