vtkSpherePuzzle Class Reference
#include <vtkSpherePuzzle.h>
Inheritance diagram for vtkSpherePuzzle:
[legend]Collaboration diagram for vtkSpherePuzzle:
[legend]List of all members.
Detailed Description
create a polygonal sphere centered at the origin
vtkSpherePuzzle creates
- Created by:
-
- CVS contributions (if > 5%):
- Law, Charles (90%)
- Cedilnik, Andy (5%)
- CVS logs (CVSweb):
.h (/Graphics/vtkSpherePuzzle
.h)
.cxx (/Graphics/vtkSpherePuzzle
.cxx)
- Examples:
- vtkSpherePuzzle (Examples)
- Tests:
- vtkSpherePuzzle (Tests)
Definition at line 47 of file vtkSpherePuzzle.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkSpherePuzzle::vtkSpherePuzzle |
( |
|
) |
[protected] |
|
Member Function Documentation
virtual const char* vtkSpherePuzzle::GetClassName |
( |
|
) |
[virtual] |
|
int vtkSpherePuzzle::IsTypeOf |
( |
const char * |
type |
) |
[static] |
|
|
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 vtkPolyDataSource. |
virtual int vtkSpherePuzzle::IsA |
( |
const char * |
type |
) |
[virtual] |
|
|
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 vtkPolyDataSource. |
void vtkSpherePuzzle::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
[virtual] |
|
|
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 vtkPolyDataSource. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm. |
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] |
|
void vtkSpherePuzzle::Execute |
( |
|
) |
[protected, virtual] |
|
|
This method is the old style execute method
Reimplemented from vtkSource. |
void vtkSpherePuzzle::MarkVertical |
( |
int |
section |
) |
[protected] |
|
void vtkSpherePuzzle::MarkHorizontal |
( |
int |
section |
) |
[protected] |
|
Member Data Documentation
The documentation for this class was generated from the following file: