39#ifndef vtkGoldenBallSource_h
40#define vtkGoldenBallSource_h
42#include "vtkFiltersSourcesModule.h"
46VTK_ABI_NAMESPACE_BEGIN
65 vtkGetMacro(Radius,
double);
72 vtkSetVector3Macro(Center,
double);
73 vtkGetVectorMacro(Center,
double, 3);
82 vtkGetMacro(Resolution,
int);
90 vtkSetMacro(IncludeCenterPoint,
int);
91 vtkGetMacro(IncludeCenterPoint,
int);
92 vtkBooleanMacro(IncludeCenterPoint,
int);
102 vtkSetMacro(GenerateNormals,
int);
103 vtkGetMacro(GenerateNormals,
int);
104 vtkBooleanMacro(GenerateNormals,
int);
113 vtkSetMacro(OutputPointsPrecision,
int);
114 vtkGetMacro(OutputPointsPrecision,
int);
Create a faceted approximation to a ball (i.e., a solid sphere).
int OutputPointsPrecision
~vtkGoldenBallSource() override=default
static vtkGoldenBallSource * New()
Construct sphere with radius=0.5 and default resolution 20.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Superclass for algorithms that produce only unstructured grid as output.