22#ifndef vtkSpherePuzzle_h
23#define vtkSpherePuzzle_h
25#include "vtkFiltersModelingModule.h"
28#define VTK_MAX_SPHERE_RESOLUTION 1024
92 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)
int * GetState()
For drawing state as arrows.
void Reset()
Reset the state of this puzzle back to its original state.
static vtkSpherePuzzle * New()
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)
~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.