39#ifndef vtkGoldenBallSource_h
40#define vtkGoldenBallSource_h
42#include "vtkFiltersSourcesModule.h"
45VTK_ABI_NAMESPACE_BEGIN
63 vtkGetMacro(Radius,
double);
70 vtkSetVector3Macro(Center,
double);
71 vtkGetVectorMacro(Center,
double, 3);
80 vtkGetMacro(Resolution,
int);
88 vtkSetMacro(IncludeCenterPoint,
int);
89 vtkGetMacro(IncludeCenterPoint,
int);
90 vtkBooleanMacro(IncludeCenterPoint,
int);
100 vtkSetMacro(GenerateNormals,
int);
101 vtkGetMacro(GenerateNormals,
int);
102 vtkBooleanMacro(GenerateNormals,
int);
111 vtkSetMacro(OutputPointsPrecision,
int);
112 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.