VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
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 Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkDiskSourceNewInstance () const
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

static vtkDiskSourceNew ()
static int IsTypeOf (const char *type)
static vtkDiskSourceSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkDiskSource ()
 ~vtkDiskSource ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

double InnerRadius
double OuterRadius
int RadialResolution
int CircumferentialResolution

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
Tests:
vtkDiskSource (Tests)

Definition at line 35 of file vtkDiskSource.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 39 of file vtkDiskSource.h.


Constructor & Destructor Documentation

vtkDiskSource::~vtkDiskSource ( ) [inline, protected]

Definition at line 68 of file vtkDiskSource.h.


Member Function Documentation

static vtkDiskSource* vtkDiskSource::New ( ) [static]

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

Reimplemented from vtkPolyDataAlgorithm.

static int vtkDiskSource::IsTypeOf ( const char *  name) [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 vtkPolyDataAlgorithm.

virtual int vtkDiskSource::IsA ( const char *  name) [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 vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

virtual vtkObjectBase* vtkDiskSource::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

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

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.

Set the number of points in circumferential direction.

int vtkDiskSource::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkPolyDataAlgorithm.


Member Data Documentation

Definition at line 71 of file vtkDiskSource.h.

Definition at line 72 of file vtkDiskSource.h.

Definition at line 73 of file vtkDiskSource.h.

Definition at line 74 of file vtkDiskSource.h.


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