Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkDiskSource Class Reference

create a disk with hole in center. More...

#include <vtkDiskSource.h>

Inheritance diagram for vtkDiskSource:

Inheritance graph
[legend]
Collaboration diagram for vtkDiskSource:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetInnerRadius (float)
virtual float GetInnerRadius ()
virtual void SetOuterRadius (float)
virtual float GetOuterRadius ()
virtual void SetRadialResolution (int)
virtual int GetRadialResolution ()
virtual void SetCircumferentialResolution (int)
virtual int GetCircumferentialResolution ()

Static Public Methods

vtkDiskSource * New ()
int IsTypeOf (const char *type)
vtkDiskSource * SafeDownCast (vtkObject *o)

Protected Methods

 vtkDiskSource ()
 ~vtkDiskSource ()
void Execute ()

Protected Attributes

float InnerRadius
float OuterRadius
int RadialResolution
int CircumferentialResolution

Detailed Description

create a disk with hole in center.

Date:
2001/10/11 13:36:58
Revision:
1.33

vtkDiskSource creates a polygonal disk with a hole in the center. The disk has zero height. The user can specify the inner and outer radius of the disk, and the radial and circumferential resolution of the polygonal representation.

See also:
vtkLinearExtrusionFilter
Tests:
vtkDiskSource (Tests)

Definition at line 62 of file vtkDiskSource.h.


Constructor & Destructor Documentation

vtkDiskSource::vtkDiskSource   [protected]
 

vtkDiskSource::~vtkDiskSource   [inline, protected]
 

Definition at line 95 of file vtkDiskSource.h.


Member Function Documentation

vtkDiskSource* vtkDiskSource::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkPolyDataSource.

virtual const char* vtkDiskSource::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

int vtkDiskSource::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 vtkDiskSource::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.

vtkDiskSource* vtkDiskSource::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 vtkDiskSource::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 vtkDiskSource::SetInnerRadius float    [virtual]
 

Specify inner radius of hole in disc.

virtual float vtkDiskSource::GetInnerRadius   [virtual]
 

Specify inner radius of hole in disc.

virtual void vtkDiskSource::SetOuterRadius float    [virtual]
 

Specify outer radius of disc.

virtual float vtkDiskSource::GetOuterRadius   [virtual]
 

Specify outer radius of disc.

virtual void vtkDiskSource::SetRadialResolution int    [virtual]
 

Set the number of points in radius direction.

virtual int vtkDiskSource::GetRadialResolution   [virtual]
 

Set the number of points in radius direction.

virtual void vtkDiskSource::SetCircumferentialResolution int    [virtual]
 

Set the number of points in circumferential direction.

virtual int vtkDiskSource::GetCircumferentialResolution   [virtual]
 

Set the number of points in circumferential direction.

void vtkDiskSource::Execute   [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkSource.


Member Data Documentation

float vtkDiskSource::InnerRadius [protected]
 

Definition at line 98 of file vtkDiskSource.h.

float vtkDiskSource::OuterRadius [protected]
 

Definition at line 99 of file vtkDiskSource.h.

int vtkDiskSource::RadialResolution [protected]
 

Definition at line 100 of file vtkDiskSource.h.

int vtkDiskSource::CircumferentialResolution [protected]
 

Definition at line 101 of file vtkDiskSource.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:28:57 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001