dox/Graphics/vtkSpherePuzzleArrows.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00027
#ifndef __vtkSpherePuzzleArrows_h
00028
#define __vtkSpherePuzzleArrows_h
00029
00030
#include "vtkPolyDataSource.h"
00031
00032
class vtkCellArray;
00033
class vtkPoints;
00034
class vtkSpherePuzzle;
00035
00036 class VTK_EXPORT vtkSpherePuzzleArrows :
public vtkPolyDataSource
00037 {
00038
public:
00039 vtkTypeRevisionMacro(vtkSpherePuzzleArrows,
vtkPolyDataSource);
00040
void PrintSelf(ostream& os,
vtkIndent indent);
00041
00042
static vtkSpherePuzzleArrows *
New();
00043
00045 vtkSetVectorMacro(Permutation,
int,32);
00046 vtkGetVectorMacro(Permutation,
int,32);
00047
void SetPermutationComponent(
int comp,
int val);
00048
void SetPermutation(
vtkSpherePuzzle *puz);
00050
00051
protected:
00052 vtkSpherePuzzleArrows();
00053 ~vtkSpherePuzzleArrows();
00054
00055
void Execute();
00056
void AppendArrow(
int id0,
int id1,
vtkPoints *pts,
vtkCellArray *polys);
00057
00058 int Permutation[32];
00059
00060 double Radius;
00061
00062
private:
00063 vtkSpherePuzzleArrows(
const vtkSpherePuzzleArrows&);
00064
void operator=(
const vtkSpherePuzzleArrows&);
00065 };
00066
00067
#endif
00068
00069