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:
-
2000/12/10 20:08:32
-
Revision:
-
1.44
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)
Definition at line 64 of file vtkConeSource.h.
Constructor & Destructor Documentation
vtkConeSource::vtkConeSource |
( |
int |
res = 6 |
) |
[protected] |
|
vtkConeSource::~vtkConeSource |
( |
|
) |
[inline, protected] |
|
vtkConeSource::vtkConeSource |
( |
const 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] |
|
virtual void vtkConeSource::SetRadius |
( |
float |
|
) |
[virtual] |
|
|
Set the radius of the cone. |
virtual float vtkConeSource::GetRadius |
( |
|
) |
[virtual] |
|
virtual void vtkConeSource::SetResolution |
( |
int |
|
) |
[virtual] |
|
|
Set the number of facets used to represent the cone. |
virtual int vtkConeSource::GetResolution |
( |
|
) |
[virtual] |
|
void vtkConeSource::SetAngle |
( |
float |
angle |
) |
|
|
|
Set the angle of the cone. As a side effect, this method sets radius. |
float vtkConeSource::GetAngle |
( |
|
) |
|
|
virtual void vtkConeSource::SetCapping |
( |
int |
|
) |
[virtual] |
|
|
Turn on/off whether to cap the cone with a polygon. |
virtual int vtkConeSource::GetCapping |
( |
|
) |
[virtual] |
|
virtual void vtkConeSource::CappingOn |
( |
|
) |
[virtual] |
|
virtual void vtkConeSource::CappingOff |
( |
|
) |
[virtual] |
|
void vtkConeSource::operator= |
( |
const vtkConeSource & |
|
) |
[inline, protected] |
|
void vtkConeSource::Execute |
( |
|
) |
[protected, virtual] |
|
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 Wed Nov 21 12:47:01 2001 for VTK by
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001