implicit function for a cylinder
More...
#include <vtkCylinder.h>
Inherits vtkImplicitFunction.
implicit function for a cylinder
vtkCylinder computes the implicit function and function gradient for a cylinder. vtkCylinder is a concrete implementation of vtkImplicitFunction. Cylinder is centered at Center and axes of rotation is along the y-axis. (Use the superclass' vtkImplicitFunction transformation matrix if necessary to reposition.)
- Warning
- The cylinder is infinite in extent. To truncate the cylinder use the vtkImplicitBoolean in combination with clipping planes.
- Tests:
- vtkCylinder (Tests)
Definition at line 38 of file vtkCylinder.h.
vtkCylinder::vtkCylinder |
( |
| ) |
|
|
protected |
vtkCylinder::~vtkCylinder |
( |
| ) |
|
|
inlineprotected |
static int vtkCylinder::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkCylinder::IsA |
( |
const char * |
type | ) |
|
|
virtual |
static vtkCylinder* vtkCylinder::SafeDownCast |
( |
vtkObjectBase * |
o | ) |
|
|
static |
virtual vtkObjectBase* vtkCylinder::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkCylinder::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
Construct cylinder radius of 0.5.
double vtkCylinder::EvaluateFunction |
( |
double |
x[3] | ) |
|
Evaluate cylinder equation F(x,y,z) = (x-x0)^2 + (z-z0)^2 - R^2.
double vtkCylinder::EvaluateFunction |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
inline |
Evaluate cylinder equation F(x,y,z) = (x-x0)^2 + (z-z0)^2 - R^2.
Definition at line 50 of file vtkCylinder.h.
void vtkCylinder::EvaluateGradient |
( |
double |
x[3], |
|
|
double |
g[3] |
|
) |
| |
Evaluate cylinder function gradient.
virtual void vtkCylinder::SetRadius |
( |
double |
| ) |
|
|
virtual |
virtual double vtkCylinder::GetRadius |
( |
| ) |
|
|
virtual |
virtual void vtkCylinder::SetCenter |
( |
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
virtual |
virtual void vtkCylinder::SetCenter |
( |
double |
[3] | ) |
|
|
virtual |
virtual double* vtkCylinder::GetCenter |
( |
| ) |
|
|
virtual |
virtual void vtkCylinder::GetCenter |
( |
double |
data[3] | ) |
|
|
virtual |
double vtkCylinder::Radius |
|
protected |
double vtkCylinder::Center[3] |
|
protected |
The documentation for this class was generated from the following file: