VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 =========================================================================*/
19 #ifndef __vtkPSphereSource_h
20 #define __vtkPSphereSource_h
21 
22 #include "vtkFiltersParallelModule.h" // For export macro
23 #include "vtkSphereSource.h"
24 
25 class VTKFILTERSPARALLEL_EXPORT vtkPSphereSource : public vtkSphereSource
26 {
27 public:
29 
31 
34  static vtkPSphereSource *New();
35  virtual void PrintSelf(ostream& os, vtkIndent indent);
37 
39  unsigned long GetEstimatedMemorySize();
40 
41 protected:
44 
45  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
46 private:
47  vtkPSphereSource(const vtkPSphereSource&); // Not implemented.
48  void operator=(const vtkPSphereSource&); // Not implemented.
49 };
50 
51 #endif
sphere source that supports pieces
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
create a polygonal sphere centered at the origin
void PrintSelf(ostream &os, vtkIndent indent)
static vtkSphereSource * New()