VTK  9.3.20241008
vtkPSphereSource.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
8#ifndef vtkPSphereSource_h
9#define vtkPSphereSource_h
10
11#include "vtkFiltersParallelModule.h" // For export macro
12#include "vtkSphereSource.h"
13
14VTK_ABI_NAMESPACE_BEGIN
15class VTKFILTERSPARALLEL_EXPORT vtkPSphereSource : public vtkSphereSource
16{
17public:
19
21
26 void PrintSelf(ostream& os, vtkIndent indent) override;
28
32 unsigned long GetEstimatedMemorySize();
33
34protected:
35 vtkPSphereSource() = default;
36 ~vtkPSphereSource() override = default;
37
39
40private:
41 vtkPSphereSource(const vtkPSphereSource&) = delete;
42 void operator=(const vtkPSphereSource&) = delete;
43};
44
45VTK_ABI_NAMESPACE_END
46#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
sphere source that supports pieces
void PrintSelf(ostream &os, vtkIndent indent) override
Construct sphere with radius=0.5 and default resolution 8 in both Phi and Theta directions.
static vtkPSphereSource * New()
Construct sphere with radius=0.5 and default resolution 8 in both Phi and Theta directions.
unsigned long GetEstimatedMemorySize()
Get the estimated memory size in kibibytes (1024 bytes).
~vtkPSphereSource() override=default
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkPSphereSource()=default
create a polygonal sphere centered at the origin