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

Definition at line 34 of file vtkDiskSource.h.


Public Types

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

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

Protected Member Functions

 vtkDiskSource ()
 ~vtkDiskSource ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

double InnerRadius
double OuterRadius
int RadialResolution
int CircumferentialResolution

Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 38 of file vtkDiskSource.h.


Constructor & Destructor Documentation

vtkDiskSource::vtkDiskSource (  )  [protected]

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

Definition at line 67 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.

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

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.

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

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.

virtual int vtkDiskSource::GetCircumferentialResolution (  )  [virtual]

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

double vtkDiskSource::InnerRadius [protected]

Definition at line 70 of file vtkDiskSource.h.

double vtkDiskSource::OuterRadius [protected]

Definition at line 71 of file vtkDiskSource.h.

Definition at line 72 of file vtkDiskSource.h.

Definition at line 73 of file vtkDiskSource.h.


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

Generated on Mon Sep 27 18:22:16 2010 for VTK by  doxygen 1.5.6