vtkSpherePuzzleArrows.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00039 #ifndef __vtkSpherePuzzleArrows_h
00040 #define __vtkSpherePuzzleArrows_h
00041
00042 #include "vtkPolyDataSource.h"
00043
00044 class vtkCellArray;
00045 class vtkPoints;
00046 class vtkSpherePuzzle;
00047
00048 class VTK_EXPORT vtkSpherePuzzleArrows : public vtkPolyDataSource
00049 {
00050 public:
00051 vtkTypeRevisionMacro(vtkSpherePuzzleArrows,vtkPolyDataSource);
00052 void PrintSelf(ostream& os, vtkIndent indent);
00053
00054 static vtkSpherePuzzleArrows *New();
00055
00057 vtkSetVectorMacro(Permutation,int,32);
00058 vtkGetVectorMacro(Permutation,int,32);
00059 void SetPermutationComponent(int comp, int val);
00060 void SetPermutation(vtkSpherePuzzle *puz);
00062
00063 protected:
00064 vtkSpherePuzzleArrows();
00065 ~vtkSpherePuzzleArrows();
00066
00067 void Execute();
00068 void AppendArrow(int id0, int id1, vtkPoints *pts, vtkCellArray *polys);
00069
00070 int Permutation[32];
00071
00072 double Radius;
00073
00074 private:
00075 vtkSpherePuzzleArrows(const vtkSpherePuzzleArrows&);
00076 void operator=(const vtkSpherePuzzleArrows&);
00077 };
00078
00079 #endif
00080
00081