Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkDiskSource Class Reference

#include <vtkDiskSource.h>

Inheritance diagram for vtkDiskSource:

Inheritance graph
[legend]
Collaboration diagram for vtkDiskSource:

Collaboration graph
[legend]
List of all members.

Detailed Description

create a disk with hole in center

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
Created by:
  • Schroeder, Will
CVS contributions (if > 5%):
  • Schroeder, Will (74%)
  • Martin, Ken (17%)
CVS logs (CVSweb):
  • .cxx (/Graphics/vtkDiskSource.cxx)
  • .h (/Graphics/vtkDiskSource.h)
Tests:
vtkDiskSource (Tests)

Definition at line 45 of file vtkDiskSource.h.

Public Types

typedef vtkPolyDataSource Superclass

Public Member Functions

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

Static Public Member Functions

vtkDiskSourceNew ()
int IsTypeOf (const char *type)
vtkDiskSourceSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkDiskSource ()
 ~vtkDiskSource ()
void Execute ()

Protected Attributes

double InnerRadius
double OuterRadius
int RadialResolution
int CircumferentialResolution


Member Typedef Documentation

typedef vtkPolyDataSource vtkDiskSource::Superclass
 

Reimplemented from vtkPolyDataSource.

Definition at line 49 of file vtkDiskSource.h.


Constructor & Destructor Documentation

vtkDiskSource::vtkDiskSource  )  [protected]
 

vtkDiskSource::~vtkDiskSource  )  [inline, protected]
 

Definition at line 78 of file vtkDiskSource.h.


Member Function Documentation

vtkDiskSource* vtkDiskSource::New  )  [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

virtual const char* vtkDiskSource::GetClassName  )  [virtual]
 

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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

vtkDiskSource* vtkDiskSource::SafeDownCast vtkObject o  )  [static]
 

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 vtkPolyDataSource.

virtual void vtkDiskSource::SetInnerRadius double   )  [virtual]
 

Specify inner radius of hole in disc.

virtual double vtkDiskSource::GetInnerRadius  )  [virtual]
 

Specify inner radius of hole in disc.

virtual void vtkDiskSource::SetOuterRadius double   )  [virtual]
 

Specify outer radius of disc.

virtual double 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

double vtkDiskSource::InnerRadius [protected]
 

Definition at line 81 of file vtkDiskSource.h.

double vtkDiskSource::OuterRadius [protected]
 

Definition at line 82 of file vtkDiskSource.h.

int vtkDiskSource::RadialResolution [protected]
 

Definition at line 83 of file vtkDiskSource.h.

int vtkDiskSource::CircumferentialResolution [protected]
 

Definition at line 84 of file vtkDiskSource.h.


The documentation for this class was generated from the following file: