VTK
|
create a disk with hole in center More...
#include <vtkDiskSource.h>
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkDiskSource * | NewInstance () 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 vtkDiskSource * | New () |
static int | IsTypeOf (const char *type) |
static vtkDiskSource * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkDiskSource () | |
~vtkDiskSource () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
double | InnerRadius |
double | OuterRadius |
int | RadialResolution |
int | CircumferentialResolution |
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.
Definition at line 35 of file vtkDiskSource.h.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 39 of file vtkDiskSource.h.
vtkDiskSource::vtkDiskSource | ( | ) | [protected] |
vtkDiskSource::~vtkDiskSource | ( | ) | [inline, protected] |
Definition at line 68 of file vtkDiskSource.h.
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.
static vtkDiskSource* vtkDiskSource::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
virtual vtkObjectBase* vtkDiskSource::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPolyDataAlgorithm.
vtkDiskSource* vtkDiskSource::NewInstance | ( | ) | const |
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.
double vtkDiskSource::InnerRadius [protected] |
Definition at line 71 of file vtkDiskSource.h.
double vtkDiskSource::OuterRadius [protected] |
Definition at line 72 of file vtkDiskSource.h.
int vtkDiskSource::RadialResolution [protected] |
Definition at line 73 of file vtkDiskSource.h.
int vtkDiskSource::CircumferentialResolution [protected] |
Definition at line 74 of file vtkDiskSource.h.