VTK
|
implicit function for a cone More...
#include <vtkCone.h>
Inherits vtkImplicitFunction.
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.
typedef vtkImplicitFunction vtkCone::Superclass |
|
protected |
|
static |
Construct cone with angle of 45 degrees.
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkCone* vtkCone::NewInstance | ( | ) | const |
void vtkCone::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
double vtkCone::EvaluateFunction | ( | double | x[3] | ) |
Evaluate cone equation.
|
inline |
void vtkCone::EvaluateGradient | ( | double | x[3], |
double | g[3] | ||
) |
Evaluate cone normal.
|
virtual |
Set/Get the cone angle (expressed in degrees).
|
virtual |
Set/Get the cone angle (expressed in degrees).