VTK  9.1.0
vtkPSphereSource.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkPSphereSource.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
20#ifndef vtkPSphereSource_h
21#define vtkPSphereSource_h
22
23#include "vtkFiltersParallelModule.h" // For export macro
24#include "vtkSphereSource.h"
25
26class VTKFILTERSPARALLEL_EXPORT vtkPSphereSource : public vtkSphereSource
27{
28public:
30
32
37 void PrintSelf(ostream& os, vtkIndent indent) override;
39
43 unsigned long GetEstimatedMemorySize();
44
45protected:
46 vtkPSphereSource() = default;
47 ~vtkPSphereSource() override = default;
48
50
51private:
52 vtkPSphereSource(const vtkPSphereSource&) = delete;
53 void operator=(const vtkPSphereSource&) = delete;
54};
55
56#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
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