Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
vtkConeSource Class Reference
generate polygonal cone.
More...
#include <vtkConeSource.h>
Inheritance diagram for vtkConeSource:
[legend]Collaboration diagram for vtkConeSource:
[legend]List of all members.
Detailed Description
generate polygonal cone.
-
Date:
-
2001/10/11 13:36:50
-
Revision:
-
1.49
vtkConeSource creates a cone centered at origin and pointing down the x-axis. Depending upon the resolution of this object, different representations are created. If resolution=0 a line is created; if resolution=1, a single triangle is created; if resolution=2, two crossed triangles are created. For resolution > 2, a 3D cone (with resolution number of sides) is created. It also is possible to control whether the bottom of the cone is capped with a (resolution-sided) polygon, and to specify the height and radius of the cone.
-
Examples:
-
vtkConeSource (Examples)
-
Tests:
-
vtkConeSource (Tests)
Definition at line 67 of file vtkConeSource.h.
Constructor & Destructor Documentation
vtkConeSource::vtkConeSource |
( |
int |
res = 6 |
) |
[protected] |
|
vtkConeSource::~vtkConeSource |
( |
|
) |
[inline, protected] |
|
Member Function Documentation
virtual const char* vtkConeSource::GetClassName |
( |
|
) |
[virtual] |
|
int vtkConeSource::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 vtkConeSource::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. |
vtkConeSource* vtkConeSource::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 vtkConeSource::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. |
vtkConeSource* vtkConeSource::New |
( |
|
) |
[static] |
|
|
Construct with default resolution 6, height 1.0, radius 0.5, and capping on.
Reimplemented from vtkPolyDataSource. |
virtual void vtkConeSource::SetHeight |
( |
float |
|
) |
[virtual] |
|
|
Set the height of the cone. |
virtual float vtkConeSource::GetHeight |
( |
|
) |
[virtual] |
|
|
Set the height of the cone. |
virtual void vtkConeSource::SetRadius |
( |
float |
|
) |
[virtual] |
|
|
Set the radius of the cone. |
virtual float vtkConeSource::GetRadius |
( |
|
) |
[virtual] |
|
|
Set the radius of the cone. |
virtual void vtkConeSource::SetResolution |
( |
int |
|
) |
[virtual] |
|
|
Set the number of facets used to represent the cone. |
virtual int vtkConeSource::GetResolution |
( |
|
) |
[virtual] |
|
|
Set the number of facets used to represent the cone. |
void vtkConeSource::SetAngle |
( |
float |
angle |
) |
|
|
|
Set the angle of the cone. As a side effect, this method sets radius. |
float vtkConeSource::GetAngle |
( |
|
) |
|
|
|
Set the angle of the cone. As a side effect, this method sets radius. |
virtual void vtkConeSource::SetCapping |
( |
int |
|
) |
[virtual] |
|
|
Turn on/off whether to cap the cone with a polygon. |
virtual int vtkConeSource::GetCapping |
( |
|
) |
[virtual] |
|
|
Turn on/off whether to cap the cone with a polygon. |
virtual void vtkConeSource::CappingOn |
( |
|
) |
[virtual] |
|
|
Turn on/off whether to cap the cone with a polygon. |
virtual void vtkConeSource::CappingOff |
( |
|
) |
[virtual] |
|
|
Turn on/off whether to cap the cone with a polygon. |
void vtkConeSource::Execute |
( |
|
) |
[protected, virtual] |
|
|
This method is the old style execute method
Reimplemented from vtkSource. |
void vtkConeSource::ExecuteInformation |
( |
|
) |
[protected, virtual] |
|
Member Data Documentation
float vtkConeSource::Height [protected]
|
|
float vtkConeSource::Radius [protected]
|
|
int vtkConeSource::Resolution [protected]
|
|
int vtkConeSource::Capping [protected]
|
|
The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:28:10 2002 for VTK by
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001