20#ifndef vtkGoldenBallSource_h
21#define vtkGoldenBallSource_h
23#include "vtkFiltersSourcesModule.h"
26VTK_ABI_NAMESPACE_BEGIN
44 vtkGetMacro(Radius,
double);
51 vtkSetVector3Macro(Center,
double);
52 vtkGetVectorMacro(Center,
double, 3);
61 vtkGetMacro(Resolution,
int);
69 vtkSetMacro(IncludeCenterPoint,
int);
70 vtkGetMacro(IncludeCenterPoint,
int);
71 vtkBooleanMacro(IncludeCenterPoint,
int);
81 vtkSetMacro(GenerateNormals,
int);
82 vtkGetMacro(GenerateNormals,
int);
83 vtkBooleanMacro(GenerateNormals,
int);
92 vtkSetMacro(OutputPointsPrecision,
int);
93 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.