32#include "vtkCommonDataModelModule.h"  
   35VTK_ABI_NAMESPACE_BEGIN
 
   65  vtkSetMacro(Radius, 
double);
 
   66  vtkGetMacro(Radius, 
double);
 
   73  vtkSetVector3Macro(Center, 
double);
 
   74  vtkGetVector3Macro(Center, 
double);
 
   83  void SetAxis(
double ax, 
double ay, 
double az);
 
   85  vtkGetVector3Macro(Axis, 
double);
 
implicit function for a cylinder
 
static vtkCylinder * New()
Construct cylinder radius of 0.5; centered at origin with axis along y coordinate axis.
 
~vtkCylinder() override=default
 
void SetAxis(double a[3])
Set/Get the axis of the cylinder.
 
void SetAxis(double ax, double ay, double az)
Set/Get the axis of the cylinder.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
double EvaluateFunction(double x[3]) override
Evaluate cylinder equation F(r) = r^2 - Radius^2.
 
void EvaluateGradient(double x[3], double g[3]) override
Evaluate cylinder function gradient.
 
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