VTK  9.0.1
vtkPProjectSphereFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPProjectSphereFilter.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 =========================================================================*/
23 #ifndef vtkPProjectSphereFilter_h
24 #define vtkPProjectSphereFilter_h
25 
26 #include "vtkFiltersParallelModule.h" // For export macro
27 #include "vtkProjectSphereFilter.h"
28 
29 class VTKFILTERSPARALLEL_EXPORT vtkPProjectSphereFilter : public vtkProjectSphereFilter
30 {
31 public:
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
35  static vtkPProjectSphereFilter* New();
36 
37 protected:
39  ~vtkPProjectSphereFilter() override;
40 
46  void ComputePointsClosestToCenterLine(double, vtkIdList*) override;
47 
52  double GetZTranslation(vtkPointSet* input) override;
53 
54 private:
56  void operator=(const vtkPProjectSphereFilter&) = delete;
57 };
58 
59 #endif // vtkPProjectSphereFilter_h
vtkProjectSphereFilter::GetZTranslation
virtual double GetZTranslation(vtkPointSet *input)
If TranslateZ is true then this is the method that computes the amount to translate.
vtkPProjectSphereFilter
A filter to 'unroll' a sphere. The unroll longitude is -180.
Definition: vtkPProjectSphereFilter.h:29
vtkProjectSphereFilter
A filter to 'unroll' a sphere. The unroll longitude is -180.
Definition: vtkProjectSphereFilter.h:36
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkProjectSphereFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIdList
list of point or cell ids
Definition: vtkIdList.h:30
vtkProjectSphereFilter.h
vtkPointSet
abstract class for specifying dataset behavior
Definition: vtkPointSet.h:62
vtkProjectSphereFilter::New
static vtkProjectSphereFilter * New()
vtkProjectSphereFilter::ComputePointsClosestToCenterLine
virtual void ComputePointsClosestToCenterLine(double, vtkIdList *)
Parallel part of the algorithm to figure out the closest point to the centerline (i....
Definition: vtkProjectSphereFilter.h:90