86#include "vtkCommonDataModelModule.h"
89VTK_ABI_NAMESPACE_BEGIN
119 vtkSetClampMacro(
Angle,
double, 0.0, 89.0);
143 vtkGetVector3Macro(
Axis,
double);
163 double Axis[3] = { 1.0, 0.0, 0.0 };
168 void operator=(
const vtkCone&) =
delete;
174 void UpdateTransform();
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkCone * New()
Construct cone with angle of 45 degrees.
void EvaluateGradient(double x[3], double g[3]) override
Evaluate cone normal.
void SetOrigin(double x, double y, double z)
Set/Get the cone origin.
void SetAxis(double x, double y, double z)
Get/Set the vector defining the direction of the cone.
void SetOrigin(const double xyz[3])
Set/Get the cone origin.
~vtkCone() override=default
double EvaluateFunction(double x[3]) override
Evaluate cone equation.
void SetAxis(double axis[3])
Get/Set the vector defining the direction of the cone.
virtual double EvaluateFunction(double x[3])=0
Evaluate function at position x-y-z and return value.
a simple class to control print indentation