28#ifndef vtkSpherePuzzle_h
29#define vtkSpherePuzzle_h
31#include "vtkFiltersModelingModule.h"
34#define VTK_MAX_SPHERE_RESOLUTION 1024
98 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 SetPoint(double x, double y, double z)
SetPoint will be called as the mouse moves over the screen.
void MarkHorizontal(int section)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
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)
Methods invoked by print to print information about the object including superclasses.