VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filters
Modeling
vtkSpherePuzzleArrows.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkSpherePuzzleArrows.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
27
#ifndef __vtkSpherePuzzleArrows_h
28
#define __vtkSpherePuzzleArrows_h
29
30
#include "vtkFiltersModelingModule.h"
// For export macro
31
#include "
vtkPolyDataAlgorithm.h
"
32
33
class
vtkCellArray
;
34
class
vtkPoints
;
35
class
vtkSpherePuzzle
;
36
37
class
VTKFILTERSMODELING_EXPORT
vtkSpherePuzzleArrows
:
public
vtkPolyDataAlgorithm
38
{
39
public
:
40
vtkTypeMacro(
vtkSpherePuzzleArrows
,
vtkPolyDataAlgorithm
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
43
static
vtkSpherePuzzleArrows
*
New
();
44
46
50
vtkSetVectorMacro(Permutation,
int
,32);
51
vtkGetVectorMacro(Permutation,
int
,32);
52
void
SetPermutationComponent(
int
comp,
int
val);
53
void
SetPermutation(
vtkSpherePuzzle
*puz);
55
56
protected
:
57
vtkSpherePuzzleArrows
();
58
~
vtkSpherePuzzleArrows
();
59
60
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
61
void
AppendArrow(
int
id0,
int
id1,
vtkPoints
*pts,
vtkCellArray
*polys);
62
63
int
Permutation[32];
64
65
double
Radius
;
66
67
private
:
68
vtkSpherePuzzleArrows
(
const
vtkSpherePuzzleArrows
&);
// Not implemented
69
void
operator=(
const
vtkSpherePuzzleArrows
&);
// Not implemented
70
};
71
72
#endif
Generated on Thu May 24 2012 22:22:22 for VTK by
1.8.1