VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkSpherePuzzleArrows Class Reference

Visualize permutation of the sphere puzzle. More...

#include <vtkSpherePuzzleArrows.h>

Inheritance diagram for vtkSpherePuzzleArrows:
Inheritance graph
[legend]
Collaboration diagram for vtkSpherePuzzleArrows:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkSpherePuzzleArrowsNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetPermutation (int data[])
virtual intGetPermutation ()
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 vtkSpherePuzzleArrowsSafeDownCast (vtkObjectBase *o)
static vtkSpherePuzzleArrowsNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () 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

Detailed Description

Visualize permutation of the sphere puzzle.

vtkSpherePuzzleArrows creates

Examples:
vtkSpherePuzzleArrows (Examples)
Tests:
vtkSpherePuzzleArrows (Tests)

Definition at line 37 of file vtkSpherePuzzleArrows.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 40 of file vtkSpherePuzzleArrows.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

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.

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.

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.

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.

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]

Member Data Documentation

Definition at line 63 of file vtkSpherePuzzleArrows.h.

Definition at line 65 of file vtkSpherePuzzleArrows.h.


The documentation for this class was generated from the following file: