86#include "vtkCommonDataModelModule.h"
89VTK_ABI_NAMESPACE_BEGIN
119 vtkSetClampMacro(Angle,
double, 0.0, 89.0);
120 vtkGetMacro(Angle,
double);
130 vtkGetVector3Macro(Origin,
double);
143 vtkGetVector3Macro(Axis,
double);
152 vtkSetMacro(IsDoubleCone,
bool);
153 vtkGetMacro(IsDoubleCone,
bool);
154 vtkBooleanMacro(IsDoubleCone,
bool);
162 double Origin[3] = { 0.0, 0.0, 0.0 };
163 double Axis[3] = { 1.0, 0.0, 0.0 };
164 bool IsDoubleCone =
true;
168 void operator=(
const vtkCone&) =
delete;
174 void UpdateTransform();
implicit function for a cone
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.
abstract interface for implicit functions
virtual double EvaluateFunction(double x[3])=0
Evaluate function at position x-y-z and return value.
a simple class to control print indentation