VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filters
General
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 "vtkFiltersGeneralModule.h"
// For export macro
47
#include "
vtkPointSetAlgorithm.h
"
48
49
class
vtkDataArray
;
50
51
class
VTKFILTERSGENERAL_EXPORT
vtkWarpScalar
:
public
vtkPointSetAlgorithm
52
{
53
public
:
54
static
vtkWarpScalar
*
New
();
55
vtkTypeMacro(
vtkWarpScalar
,
vtkPointSetAlgorithm
);
56
void
PrintSelf
(ostream& os,
vtkIndent
indent);
57
59
60
vtkSetMacro(ScaleFactor,
double
);
61
vtkGetMacro(ScaleFactor,
double
);
63
65
67
vtkSetMacro(UseNormal,
int
);
68
vtkGetMacro(UseNormal,
int
);
69
vtkBooleanMacro(UseNormal,
int
);
71
73
75
vtkSetVector3Macro(
Normal
,
double
);
76
vtkGetVectorMacro(
Normal
,
double
,3);
78
80
84
vtkSetMacro(XYPlane,
int
);
85
vtkGetMacro(XYPlane,
int
);
86
vtkBooleanMacro(XYPlane,
int
);
88
89
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
90
91
protected
:
92
vtkWarpScalar
();
93
~
vtkWarpScalar
();
94
95
int
RequestDataObject
(
vtkInformation
*request,
96
vtkInformationVector
**inputVector,
97
vtkInformationVector
*outputVector);
98
int
RequestData
(
vtkInformation
*,
99
vtkInformationVector
**,
100
vtkInformationVector
*);
101
102
double
ScaleFactor
;
103
int
UseNormal
;
104
double
Normal
[3];
105
int
XYPlane
;
106
107
//BTX
108
double
*(
vtkWarpScalar
::*
PointNormal
)(
vtkIdType
id
,
vtkDataArray
*normals);
109
double
*DataNormal(
vtkIdType
id
,
vtkDataArray
*normals=NULL);
110
double
*InstanceNormal(
vtkIdType
id
,
vtkDataArray
*normals=NULL);
111
double
*ZNormal(
vtkIdType
id
,
vtkDataArray
*normals=NULL);
112
//ETX
113
114
private
:
115
vtkWarpScalar
(
const
vtkWarpScalar
&);
// Not implemented.
116
void
operator=(
const
vtkWarpScalar
&);
// Not implemented.
117
};
118
119
#endif
Generated on Thu May 24 2012 22:22:21 for VTK by
1.8.1