77 #ifndef vtkSphericalPointIterator_h
78 #define vtkSphericalPointIterator_h
80 #include "vtkCommonDataModelModule.h"
90 struct SpiralPointIterator;
149 CUBE_OCTAHEDRON_AXES =
151 DODECAHEDRON_AXES = 6,
152 ICOSAHEDRON_AXES = 7,
161 void SetAxes(
int axesType,
int resolution = 6);
186 vtkSetClampMacro(Sorting,
int, SORT_NONE, SORT_DESCENDING);
187 vtkGetMacro(Sorting,
int);
208 bool Initialize(
double center[3]);
216 void GoToFirstPoint();
221 bool IsDoneWithTraversal();
227 void GoToNextPoint();
233 void GetCurrentPoint(
vtkIdType& ptId,
double x[3]);
277 struct SphericalPointIterator;
278 std::unique_ptr<SphericalPointIterator>
Iterator;
288 #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
void GetPoint(const int i, const int j, const int k, double pnt[3])
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
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.