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