#include <vtkCylinder.h>
Inheritance diagram for vtkCylinder:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
float | EvaluateFunction (float x[3]) |
float | EvaluateFunction (float x, float y, float z) |
void | EvaluateGradient (float x[3], float g[3]) |
virtual void | SetRadius (float) |
virtual float | GetRadius () |
virtual void | SetCenter (float, float, float) |
virtual void | SetCenter (float[3]) |
virtual float * | GetCenter () |
virtual void | GetCenter (float data[3]) |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkCylinder * | SafeDownCast (vtkObject *o) |
vtkCylinder * | New () |
Protected Methods | |
vtkCylinder () | |
~vtkCylinder () | |
vtkCylinder (const vtkCylinder &) | |
void | operator= (const vtkCylinder &) |
Protected Attributes | |
float | Radius |
float | Center [3] |
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.)
|
Evaluate cylinder equation F(x,y,z) = (x-x0)^2 + (z-z0)^2 - R^2. Implements vtkImplicitFunction. |
|
Evaluate cylinder function gradient. Implements vtkImplicitFunction. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkImplicitFunction. |
|
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 vtkImplicitFunction. |
|
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 vtkImplicitFunction. |
|
Construct cylinder radius of 0.5. Reimplemented from vtkObject. |
|
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 vtkImplicitFunction. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkImplicitFunction. |
|
Set/Get cylinder center |
|
Set/Get cylinder radius. |