VTK
|
create a disk with hole in center More...
#include <vtkDiskSource.h>
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 77 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.
virtual void vtkDiskSource::SetOutputPointsPrecision | ( | int | ) | [virtual] |
Set/get the desired precision for the output points. vtkAlgorithm::SINGLE_PRECISION - Output single-precision floating point. vtkAlgorithm::DOUBLE_PRECISION - Output double-precision floating point.
virtual int vtkDiskSource::GetOutputPointsPrecision | ( | ) | [virtual] |
Set/get the desired precision for the output points. vtkAlgorithm::SINGLE_PRECISION - Output single-precision floating point. vtkAlgorithm::DOUBLE_PRECISION - Output double-precision floating point.
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 80 of file vtkDiskSource.h.
double vtkDiskSource::OuterRadius [protected] |
Definition at line 81 of file vtkDiskSource.h.
int vtkDiskSource::RadialResolution [protected] |
Definition at line 82 of file vtkDiskSource.h.
int vtkDiskSource::CircumferentialResolution [protected] |
Definition at line 83 of file vtkDiskSource.h.
int vtkDiskSource::OutputPointsPrecision [protected] |
Definition at line 84 of file vtkDiskSource.h.