Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Graphics/vtkSpherePuzzleArrows.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkSpherePuzzleArrows.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00031 #ifndef __vtkSpherePuzzleArrows_h 00032 #define __vtkSpherePuzzleArrows_h 00033 00034 #include "vtkPolyDataSource.h" 00035 00036 class vtkCellArray; 00037 class vtkPoints; 00038 class vtkSpherePuzzle; 00039 00040 class VTK_EXPORT vtkSpherePuzzleArrows : public vtkPolyDataSource 00041 { 00042 public: 00043 vtkTypeRevisionMacro(vtkSpherePuzzleArrows,vtkPolyDataSource); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 00046 static vtkSpherePuzzleArrows *New(); 00047 00049 vtkSetVectorMacro(Permutation,int,32); 00050 vtkGetVectorMacro(Permutation,int,32); 00051 void SetPermutationComponent(int comp, int val); 00052 void SetPermutation(vtkSpherePuzzle *puz); 00054 00055 protected: 00056 vtkSpherePuzzleArrows(); 00057 ~vtkSpherePuzzleArrows(); 00058 00059 void Execute(); 00060 void AppendArrow(int id0, int id1, vtkPoints *pts, vtkCellArray *polys); 00061 00062 int Permutation[32]; 00063 00064 float Radius; 00065 00066 private: 00067 vtkSpherePuzzleArrows(const vtkSpherePuzzleArrows&); // Not implemented 00068 void operator=(const vtkSpherePuzzleArrows&); // Not implemented 00069 }; 00070 00071 #endif 00072 00073