VTK
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) VTK_OVERRIDE;
39
43 unsigned long GetEstimatedMemorySize();
44
45protected:
48
50private:
51 vtkPSphereSource(const vtkPSphereSource&) VTK_DELETE_FUNCTION;
52 void operator=(const vtkPSphereSource&) VTK_DELETE_FUNCTION;
53};
54
55#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
sphere source that supports pieces
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
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.
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).
create a polygonal sphere centered at the origin