VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
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 "
vtkPolyDataAlgorithm.h
"
31
32
class
vtkCellArray
;
33
class
vtkPoints
;
34
class
vtkSpherePuzzle
;
35
36
class
VTK_GRAPHICS_EXPORT
vtkSpherePuzzleArrows
:
public
vtkPolyDataAlgorithm
37
{
38
public
:
39
vtkTypeMacro(
vtkSpherePuzzleArrows
,
vtkPolyDataAlgorithm
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent);
41
42
static
vtkSpherePuzzleArrows
*
New
();
43
45
49
vtkSetVectorMacro(Permutation,
int
,32);
50
vtkGetVectorMacro(Permutation,
int
,32);
51
void
SetPermutationComponent(
int
comp,
int
val);
52
void
SetPermutation(
vtkSpherePuzzle
*puz);
54
55
protected
:
56
vtkSpherePuzzleArrows
();
57
~
vtkSpherePuzzleArrows
();
58
59
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
60
void
AppendArrow(
int
id0,
int
id1,
vtkPoints
*pts,
vtkCellArray
*polys);
61
62
int
Permutation[32];
63
64
double
Radius
;
65
66
private
:
67
vtkSpherePuzzleArrows
(
const
vtkSpherePuzzleArrows
&);
// Not implemented
68
void
operator=(
const
vtkSpherePuzzleArrows
&);
// Not implemented
69
};
70
71
#endif
Generated on Thu Mar 13 2014 08:10:04 for VTK by
1.8.1.2