VTK
|
implicit function for a cone More...
#include <vtkCone.h>
Public Types | |
typedef vtkImplicitFunction | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkCone * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | EvaluateGradient (double x[3], double g[3]) |
double | EvaluateFunction (double x[3]) |
double | EvaluateFunction (double x, double y, double z) |
virtual void | SetAngle (double) |
virtual double | GetAngle () |
Static Public Member Functions | |
static vtkCone * | New () |
static int | IsTypeOf (const char *type) |
static vtkCone * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkCone () | |
~vtkCone () | |
Protected Attributes | |
double | Angle |
implicit function for a cone
vtkCone computes the implicit function and function gradient for a cone. vtkCone is a concrete implementation of vtkImplicitFunction. The cone vertex is located at the origin with axis of rotation coincident with x-axis. (Use the superclass' vtkImplicitFunction transformation matrix if necessary to reposition.) The angle specifies the angle between the axis of rotation and the side of the cone.
Reimplemented from vtkImplicitFunction.
vtkCone::vtkCone | ( | ) | [protected] |
vtkCone::~vtkCone | ( | ) | [inline, protected] |
static vtkCone* vtkCone::New | ( | ) | [static] |
Construct cone with angle of 45 degrees.
Reimplemented from vtkObject.
static int vtkCone::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 vtkImplicitFunction.
virtual int vtkCone::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 vtkImplicitFunction.
static vtkCone* vtkCone::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkImplicitFunction.
virtual vtkObjectBase* vtkCone::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkImplicitFunction.
vtkCone* vtkCone::NewInstance | ( | ) | const |
Reimplemented from vtkImplicitFunction.
void vtkCone::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 vtkImplicitFunction.
double vtkCone::EvaluateFunction | ( | double | x[3] | ) | [virtual] |
Evaluate cone equation.
Implements vtkImplicitFunction.
double vtkCone::EvaluateFunction | ( | double | x, |
double | y, | ||
double | z | ||
) | [inline] |
Evaluate cone equation.
Reimplemented from vtkImplicitFunction.
void vtkCone::EvaluateGradient | ( | double | x[3], |
double | g[3] | ||
) | [virtual] |
Evaluate cone normal.
Implements vtkImplicitFunction.
virtual void vtkCone::SetAngle | ( | double | ) | [virtual] |
Set/Get the cone angle (expressed in degrees).
virtual double vtkCone::GetAngle | ( | ) | [virtual] |
Set/Get the cone angle (expressed in degrees).
double vtkCone::Angle [protected] |