65 #ifndef vtkSphericalPointIterator_h
66 #define vtkSphericalPointIterator_h
68 #include "vtkCommonDataModelModule.h"
76 VTK_ABI_NAMESPACE_BEGIN
137 CUBE_OCTAHEDRON_AXES =
139 DODECAHEDRON_AXES = 6,
140 ICOSAHEDRON_AXES = 7,
149 void SetAxes(
int axesType,
int resolution = 6);
174 vtkSetClampMacro(Sorting,
int, SORT_NONE, SORT_DESCENDING);
175 vtkGetMacro(Sorting,
int);
196 bool Initialize(
double center[3]);
204 void GoToFirstPoint();
209 bool IsDoneWithTraversal();
215 void GoToNextPoint();
221 void GetCurrentPoint(
vtkIdType& ptId,
double x[3]);
265 struct SphericalPointIterator;
266 std::unique_ptr<SphericalPointIterator>
Iterator;
276 VTK_ABI_NAMESPACE_END
277 #endif // vtkSphericalPointIterator_h
vtkSmartPointer< vtkDataSet > DataSet
SortType
Points can be sorted along each axis.
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetSortTypeToAscending()
Specify whether points along each axis are radially sorted, and if so, whether in an ascending or des...
abstract class to specify dataset behavior
record modification and/or execution time
concrete dataset represents vertices, lines, polygons, and triangle strips
dynamic, self-adjusting array of double
std::unique_ptr< SphericalPointIterator > Iterator
void SetSortTypeToNone()
Specify whether points along each axis are radially sorted, and if so, whether in an ascending or des...
void SetSortTypeToDescending()
Specify whether points along each axis are radially sorted, and if so, whether in an ascending or des...
a simple class to control print indentation
list of point or cell ids
std::map< std::string, DataArray > DataSet
key: variable name, value: DataArray
#define VTK_SIZEHINT(...)
vtkSmartPointer< vtkDoubleArray > Axes
void GetPoint(int i, int j, int k, double pnt[3])
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
AxesType
While the axes can be arbitrarily specified, it is possible to select axes from a menu of predefined ...
Traverse a collection of points in spherical ordering.