65 #ifndef vtkSphericalPointIterator_h
66 #define vtkSphericalPointIterator_h
68 #include "vtkCommonDataModelModule.h"
76 VTK_ABI_NAMESPACE_BEGIN
79 struct SpiralPointIterator;
138 CUBE_OCTAHEDRON_AXES =
140 DODECAHEDRON_AXES = 6,
141 ICOSAHEDRON_AXES = 7,
150 void SetAxes(
int axesType,
int resolution = 6);
175 vtkSetClampMacro(Sorting,
int, SORT_NONE, SORT_DESCENDING);
176 vtkGetMacro(Sorting,
int);
197 bool Initialize(
double center[3]);
205 void GoToFirstPoint();
210 bool IsDoneWithTraversal();
216 void GoToNextPoint();
222 void GetCurrentPoint(
vtkIdType& ptId,
double x[3]);
266 struct SphericalPointIterator;
267 std::unique_ptr<SphericalPointIterator>
Iterator;
277 VTK_ABI_NAMESPACE_END
278 #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.