vtkSpherePuzzleArrows Class Reference

#include <vtkSpherePuzzleArrows.h>

Inheritance diagram for vtkSpherePuzzleArrows:

Inheritance graph
[legend]
Collaboration diagram for vtkSpherePuzzleArrows:

Collaboration graph
[legend]

List of all members.


Detailed Description

Visualize permutation of the sphere puzzle.

vtkSpherePuzzleArrows creates

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

Definition at line 36 of file vtkSpherePuzzleArrows.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)
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 vtkSpherePuzzleArrowsSafeDownCast (vtkObject *o)
static vtkSpherePuzzleArrowsNew ()

Protected Member Functions

 vtkSpherePuzzleArrows ()
 ~vtkSpherePuzzleArrows ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void AppendArrow (int id0, int id1, vtkPoints *pts, vtkCellArray *polys)

Protected Attributes

int Permutation [32]
double Radius

Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 39 of file vtkSpherePuzzleArrows.h.


Constructor & Destructor Documentation

vtkSpherePuzzleArrows::vtkSpherePuzzleArrows (  )  [protected]

vtkSpherePuzzleArrows::~vtkSpherePuzzleArrows (  )  [protected]


Member Function Documentation

virtual const char* vtkSpherePuzzleArrows::GetClassName (  )  [virtual]

Reimplemented from vtkPolyDataAlgorithm.

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 ( vtkObject o  )  [static]

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]


Member Data Documentation

Definition at line 62 of file vtkSpherePuzzleArrows.h.

double vtkSpherePuzzleArrows::Radius [protected]

Definition at line 64 of file vtkSpherePuzzleArrows.h.


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

Generated on Wed Aug 24 12:07:27 2011 for VTK by  doxygen 1.5.6