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 
26 class VTKFILTERSPARALLEL_EXPORT vtkPSphereSource : public vtkSphereSource
27 {
28 public:
30 
32 
36  static vtkPSphereSource *New();
37  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
39 
43  unsigned long GetEstimatedMemorySize();
44 
45 protected:
48 
50 private:
51  vtkPSphereSource(const vtkPSphereSource&) VTK_DELETE_FUNCTION;
52  void operator=(const vtkPSphereSource&) VTK_DELETE_FUNCTION;
53 };
54 
55 #endif
sphere source that supports pieces
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Store vtkAlgorithm input/output information.
create a polygonal sphere centered at the origin
a simple class to control print indentation
Definition: vtkIndent.h:39
static vtkSphereSource * New()
Construct sphere with radius=0.5 and default resolution 8 in both Phi and Theta directions.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.