25 #ifndef __vtkProjectSphereFilter_h
26 #define __vtkProjectSphereFilter_h
28 #include "vtkFiltersGeometryModule.h"
29 #include "vtkPointSetAlgorithm.h"
33 class vtkDataSetAttributes;
35 class vtkIncrementalPointLocator;
36 class vtkUnstructuredGrid;
39 public vtkPointSetAlgorithm
43 virtual void PrintSelf(ostream &os, vtkIndent indent);
49 vtkSetVector3Macro(Center,
double);
50 vtkGetVectorMacro(Center,
double,3);
56 vtkGetMacro(KeepPolePoints,
bool);
57 vtkSetMacro(KeepPolePoints,
bool);
58 vtkBooleanMacro(KeepPolePoints,
bool);
65 vtkGetMacro(TranslateZ,
bool);
66 vtkSetMacro(TranslateZ,
bool);
67 vtkBooleanMacro(TranslateZ,
bool);
74 virtual int FillInputPortInformation(
int port, vtkInformation *info);
76 virtual int RequestData(vtkInformation *, vtkInformationVector **,
77 vtkInformationVector *);
79 void TransformPointInformation(vtkPointSet* input, vtkPointSet* output, vtkIdList*);
80 void TransformCellInformation(vtkPointSet* input, vtkPointSet* output, vtkIdList*);
81 void TransformTensors(vtkIdType
id,
double* coord, vtkDataSetAttributes* arrays);
93 virtual double GetZTranslation(vtkPointSet* input);
98 void SplitCell( vtkPointSet* input, vtkPointSet* output, vtkIdType inputCellId,
99 vtkIncrementalPointLocator* locator, vtkCellArray* connectivity,
103 void SetCellInformation(
104 vtkUnstructuredGrid* output, vtkCell* cell, vtkIdType numberOfNewCells);
111 const double SplitLongitude;
116 #endif // __vtkProjectSphereFilter_h
virtual void ComputePointsClosestToCenterLine(double, vtkIdList *)
A filter to 'unroll' a sphere. The unroll longitude is -180.