create a polygonal sphere centered at the origin
More...
#include <vtkSpherePuzzle.h>
Inherits vtkPolyDataAlgorithm.
create a polygonal sphere centered at the origin
vtkSpherePuzzle creates
- Examples:
- vtkSpherePuzzle (Examples)
- Tests:
- vtkSpherePuzzle (Tests)
Definition at line 37 of file vtkSpherePuzzle.h.
vtkSpherePuzzle::vtkSpherePuzzle |
( |
| ) |
|
|
protected |
vtkSpherePuzzle::~vtkSpherePuzzle |
( |
| ) |
|
|
protected |
static int vtkSpherePuzzle::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkSpherePuzzle::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkSpherePuzzle::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkSpherePuzzle::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
void vtkSpherePuzzle::Reset |
( |
| ) |
|
Reset the state of this puzzle back to its original state.
void vtkSpherePuzzle::MoveHorizontal |
( |
int |
section, |
|
|
int |
percentage, |
|
|
int |
rightFlag |
|
) |
| |
Move the top/bottom half one segment either direction.
void vtkSpherePuzzle::MoveVertical |
( |
int |
section, |
|
|
int |
percentage, |
|
|
int |
rightFlag |
|
) |
| |
Rotate vertical half of sphere along one of the longitude lines.
int vtkSpherePuzzle::SetPoint |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
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."
void vtkSpherePuzzle::MovePoint |
( |
int |
percentage | ) |
|
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.
int* vtkSpherePuzzle::GetState |
( |
| ) |
|
|
inline |
int vtkSpherePuzzle::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
void vtkSpherePuzzle::MarkVertical |
( |
int |
section | ) |
|
|
protected |
void vtkSpherePuzzle::MarkHorizontal |
( |
int |
section | ) |
|
|
protected |
int vtkSpherePuzzle::State[32] |
|
protected |
int vtkSpherePuzzle::PieceMask[32] |
|
protected |
vtkTransform* vtkSpherePuzzle::Transform |
|
protected |
unsigned char vtkSpherePuzzle::Colors[96] |
|
protected |
int vtkSpherePuzzle::Active |
|
protected |
int vtkSpherePuzzle::VerticalFlag |
|
protected |
int vtkSpherePuzzle::RightFlag |
|
protected |
int vtkSpherePuzzle::Section |
|
protected |
The documentation for this class was generated from the following file: