Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
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
00042 #ifndef __vtkSpherePuzzleArrows_h
00043 #define __vtkSpherePuzzleArrows_h
00044
00045 #include "vtkPolyDataSource.h"
00046
00047 class vtkCellArray;
00048 class vtkPoints;
00049 class vtkSpherePuzzle;
00050
00051 class VTK_EXPORT vtkSpherePuzzleArrows : public vtkPolyDataSource
00052 {
00053 public:
00054 vtkTypeRevisionMacro(vtkSpherePuzzleArrows,vtkPolyDataSource);
00055 void PrintSelf(ostream& os, vtkIndent indent);
00056
00057 static vtkSpherePuzzleArrows *New();
00058
00060 vtkSetVectorMacro(Permutation,int,32);
00061 vtkGetVectorMacro(Permutation,int,32);
00062 void SetPermutationComponent(int comp, int val);
00063 void SetPermutation(vtkSpherePuzzle *puz);
00065
00066 protected:
00067 vtkSpherePuzzleArrows();
00068 ~vtkSpherePuzzleArrows();
00069
00070 void Execute();
00071 void AppendArrow(int id0, int id1, vtkPoints *pts, vtkCellArray *polys);
00072
00073 int Permutation[32];
00074
00075 float Radius;
00076
00077 private:
00078 vtkSpherePuzzleArrows(const vtkSpherePuzzleArrows&);
00079 void operator=(const vtkSpherePuzzleArrows&);
00080 };
00081
00082 #endif
00083
00084