VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkSpherePuzzleArrows Class Reference

Visualize permutation of the sphere puzzle. More...

#include <vtkSpherePuzzleArrows.h>

Inherits vtkPolyDataAlgorithm.

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 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 (vtkObjectBase *o)
 
static vtkSpherePuzzleArrowsNew ()
 

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
 

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

typedef vtkPolyDataAlgorithm vtkSpherePuzzleArrows::Superclass

Definition at line 40 of file vtkSpherePuzzleArrows.h.

Constructor & Destructor Documentation

vtkSpherePuzzleArrows::vtkSpherePuzzleArrows ( )
protected
vtkSpherePuzzleArrows::~vtkSpherePuzzleArrows ( )
protected

Member Function Documentation

static int vtkSpherePuzzleArrows::IsTypeOf ( const char *  type)
static
virtual int vtkSpherePuzzleArrows::IsA ( const char *  type)
virtual
static vtkSpherePuzzleArrows* vtkSpherePuzzleArrows::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkSpherePuzzleArrows::NewInstanceInternal ( ) const
protectedvirtual
vtkSpherePuzzleArrows* vtkSpherePuzzleArrows::NewInstance ( ) const
void vtkSpherePuzzleArrows::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
static vtkSpherePuzzleArrows* vtkSpherePuzzleArrows::New ( )
static
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 *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protected
void vtkSpherePuzzleArrows::AppendArrow ( int  id0,
int  id1,
vtkPoints *  pts,
vtkCellArray *  polys 
)
protected

Member Data Documentation

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.


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