#include <vtkSpherePuzzle.h>
Inheritance diagram for vtkSpherePuzzle:
vtkSpherePuzzle creates
Definition at line 36 of file vtkSpherePuzzle.h.
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | Reset () |
void | MoveHorizontal (int section, int percentage, int rightFlag) |
void | MoveVertical (int section, int percentage, int rightFlag) |
int | SetPoint (double x, double y, double z) |
void | MovePoint (int percentage) |
int * | GetState () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkSpherePuzzle * | SafeDownCast (vtkObject *o) |
static vtkSpherePuzzle * | New () |
Protected Member Functions | |
vtkSpherePuzzle () | |
~vtkSpherePuzzle () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | MarkVertical (int section) |
void | MarkHorizontal (int section) |
Protected Attributes | |
int | State [32] |
int | PieceMask [32] |
vtkTransform * | Transform |
unsigned char | Colors [96] |
int | Active |
int | VerticalFlag |
int | RightFlag |
int | Section |
|
Reimplemented from vtkPolyDataAlgorithm. Definition at line 39 of file vtkSpherePuzzle.h. |
|
|
|
|
|
Reimplemented from vtkPolyDataAlgorithm. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataAlgorithm. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataAlgorithm. |
|
Reimplemented from vtkPolyDataAlgorithm. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkPolyDataAlgorithm. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkPolyDataAlgorithm. |
|
Reset the state of this puzzle back to its original state. |
|
Move the top/bottom half one segment either direction. |
|
Rotate vertical half of sphere along one of the longitude lines. |
|
SetPoint will be called as the mouse moves over the screen. The output will change to indicate the pending move. SetPoint returns zero if move is not activated by point. Otherwise it encodes the move into a unique integer so that the caller can determine if the move state has changed. This will answer the question, "Should I render." |
|
Move actually implements the pending move. When percentage is 100, the pending move becomes inactive, and SetPoint will have to be called again to setup another move. |
|
For drawing state as arrows. Definition at line 66 of file vtkSpherePuzzle.h. |
|
This is called by the superclass. This is the method you should override. Reimplemented from vtkPolyDataAlgorithm. |
|
|
|
|
|
Definition at line 76 of file vtkSpherePuzzle.h. |
|
Definition at line 79 of file vtkSpherePuzzle.h. |
|
Definition at line 80 of file vtkSpherePuzzle.h. |
|
Definition at line 83 of file vtkSpherePuzzle.h. |
|
Definition at line 86 of file vtkSpherePuzzle.h. |
|
Definition at line 87 of file vtkSpherePuzzle.h. |
|
Definition at line 88 of file vtkSpherePuzzle.h. |
|
Definition at line 89 of file vtkSpherePuzzle.h. |