VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
vtkWarpScalar.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkWarpScalar.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
=========================================================================*/
43
#ifndef __vtkWarpScalar_h
44
#define __vtkWarpScalar_h
45
46
#include "
vtkPointSetAlgorithm.h
"
47
48
class
vtkDataArray
;
49
50
class
VTK_GRAPHICS_EXPORT
vtkWarpScalar
:
public
vtkPointSetAlgorithm
51
{
52
public
:
53
static
vtkWarpScalar
*
New
();
54
vtkTypeMacro(
vtkWarpScalar
,
vtkPointSetAlgorithm
);
55
void
PrintSelf
(ostream& os,
vtkIndent
indent);
56
58
59
vtkSetMacro(ScaleFactor,
double
);
60
vtkGetMacro(ScaleFactor,
double
);
62
64
66
vtkSetMacro(UseNormal,
int
);
67
vtkGetMacro(UseNormal,
int
);
68
vtkBooleanMacro(UseNormal,
int
);
70
72
74
vtkSetVector3Macro(
Normal
,
double
);
75
vtkGetVectorMacro(
Normal
,
double
,3);
77
79
83
vtkSetMacro(XYPlane,
int
);
84
vtkGetMacro(XYPlane,
int
);
85
vtkBooleanMacro(XYPlane,
int
);
87
88
protected
:
89
vtkWarpScalar
();
90
~
vtkWarpScalar
();
91
92
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
93
94
double
ScaleFactor
;
95
int
UseNormal
;
96
double
Normal
[3];
97
int
XYPlane
;
98
99
//BTX
100
double
*(
vtkWarpScalar
::*
PointNormal
)(
vtkIdType
id
,
vtkDataArray
*normals);
101
double
*DataNormal(
vtkIdType
id
,
vtkDataArray
*normals=NULL);
102
double
*InstanceNormal(
vtkIdType
id
,
vtkDataArray
*normals=NULL);
103
double
*ZNormal(
vtkIdType
id
,
vtkDataArray
*normals=NULL);
104
//ETX
105
106
private
:
107
vtkWarpScalar
(
const
vtkWarpScalar
&);
// Not implemented.
108
void
operator=(
const
vtkWarpScalar
&);
// Not implemented.
109
};
110
111
#endif
Generated on Wed May 30 2012 13:22:10 for VTK by
1.8.1