13 #ifndef vtkSpherePuzzle_h
14 #define vtkSpherePuzzle_h
16 #include "vtkFiltersModelingModule.h"
19 #define VTK_MAX_SPHERE_RESOLUTION 1024
21 VTK_ABI_NAMESPACE_BEGIN
84 unsigned char Colors[96];
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.
create a polygonal sphere centered at the origin
void MovePoint(int percentage)
Move actually implements the pending move.
void MoveHorizontal(int section, int percentage, int rightFlag)
Move the top/bottom half one segment either direction.
void MarkVertical(int section)
void Reset()
Reset the state of this puzzle back to its original state.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int SetPoint(double x, double y, double z)
SetPoint will be called as the mouse moves over the screen.
void MarkHorizontal(int section)
static vtkSpherePuzzle * New()
~vtkSpherePuzzle() override
void MoveVertical(int section, int percentage, int rightFlag)
Rotate vertical half of sphere along one of the longitude lines.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int * GetState()
For drawing state as arrows.