Graphics/vtkSpherePuzzleArrows.h Source File

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   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 =========================================================================*/
    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&); // Not implemented
    00079   void operator=(const vtkSpherePuzzleArrows&); // Not implemented
    00080 };
    00081
    00082 #endif
    00083
    00084