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