VTK
|
Visualize permutation of the sphere puzzle. More...
#include <vtkSpherePuzzleArrows.h>
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkSpherePuzzleArrows * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetPermutation (int data[]) |
virtual int * | GetPermutation () |
virtual void | GetPermutation (int data[32]) |
void | SetPermutationComponent (int comp, int val) |
void | SetPermutation (vtkSpherePuzzle *puz) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkSpherePuzzleArrows * | SafeDownCast (vtkObjectBase *o) |
static vtkSpherePuzzleArrows * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkSpherePuzzleArrows () | |
~vtkSpherePuzzleArrows () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | AppendArrow (int id0, int id1, vtkPoints *pts, vtkCellArray *polys) |
Protected Attributes | |
int | Permutation [32] |
double | Radius |
Visualize permutation of the sphere puzzle.
vtkSpherePuzzleArrows creates
Definition at line 37 of file vtkSpherePuzzleArrows.h.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 40 of file vtkSpherePuzzleArrows.h.
vtkSpherePuzzleArrows::vtkSpherePuzzleArrows | ( | ) | [protected] |
vtkSpherePuzzleArrows::~vtkSpherePuzzleArrows | ( | ) | [protected] |
static int vtkSpherePuzzleArrows::IsTypeOf | ( | const char * | name | ) | [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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataAlgorithm.
virtual int vtkSpherePuzzleArrows::IsA | ( | const char * | name | ) | [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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataAlgorithm.
static vtkSpherePuzzleArrows* vtkSpherePuzzleArrows::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
virtual vtkObjectBase* vtkSpherePuzzleArrows::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented from vtkPolyDataAlgorithm.
void vtkSpherePuzzleArrows::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 vtkPolyDataAlgorithm.
static vtkSpherePuzzleArrows* vtkSpherePuzzleArrows::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPolyDataAlgorithm.
virtual void vtkSpherePuzzleArrows::SetPermutation | ( | int | data[] | ) | [virtual] |
Permutation is an array of puzzle piece ids. Arrows will be generated for any id that does not contain itself. Permutation[3] = 3 will produce no arrow. Permutation[3] = 10 will draw an arrow from location 3 to 10.
virtual int* vtkSpherePuzzleArrows::GetPermutation | ( | ) | [virtual] |
Permutation is an array of puzzle piece ids. Arrows will be generated for any id that does not contain itself. Permutation[3] = 3 will produce no arrow. Permutation[3] = 10 will draw an arrow from location 3 to 10.
virtual void vtkSpherePuzzleArrows::GetPermutation | ( | int | data[32] | ) | [virtual] |
Permutation is an array of puzzle piece ids. Arrows will be generated for any id that does not contain itself. Permutation[3] = 3 will produce no arrow. Permutation[3] = 10 will draw an arrow from location 3 to 10.
void vtkSpherePuzzleArrows::SetPermutationComponent | ( | int | comp, |
int | val | ||
) |
Permutation is an array of puzzle piece ids. Arrows will be generated for any id that does not contain itself. Permutation[3] = 3 will produce no arrow. Permutation[3] = 10 will draw an arrow from location 3 to 10.
void vtkSpherePuzzleArrows::SetPermutation | ( | vtkSpherePuzzle * | puz | ) |
Permutation is an array of puzzle piece ids. Arrows will be generated for any id that does not contain itself. Permutation[3] = 3 will produce no arrow. Permutation[3] = 10 will draw an arrow from location 3 to 10.
int vtkSpherePuzzleArrows::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPolyDataAlgorithm.
void vtkSpherePuzzleArrows::AppendArrow | ( | int | id0, |
int | id1, | ||
vtkPoints * | pts, | ||
vtkCellArray * | polys | ||
) | [protected] |
int vtkSpherePuzzleArrows::Permutation[32] [protected] |
Definition at line 63 of file vtkSpherePuzzleArrows.h.
double vtkSpherePuzzleArrows::Radius [protected] |
Definition at line 65 of file vtkSpherePuzzleArrows.h.