VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Hybrid
vtkStructuredGridLIC2D.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkStructuredGridLIC2D.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
=========================================================================*/
41
#ifndef __vtkStructuredGridLIC2D_h
42
#define __vtkStructuredGridLIC2D_h
43
44
#include "
vtkStructuredGridAlgorithm.h
"
45
#include "
vtkWeakPointer.h
"
// needed for vtkWeakPointer.
46
47
class
vtkRenderWindow
;
48
class
vtkImageNoiseSource
;
49
50
class
VTK_HYBRID_EXPORT
vtkStructuredGridLIC2D
:
public
vtkStructuredGridAlgorithm
51
{
52
public
:
53
static
vtkStructuredGridLIC2D
*
New
();
54
vtkTypeMacro(
vtkStructuredGridLIC2D
,
vtkStructuredGridAlgorithm
);
55
void
PrintSelf
(ostream& os,
vtkIndent
indent);
56
58
63
int
SetContext(
vtkRenderWindow
* context );
64
vtkRenderWindow
* GetContext();
66
68
70
vtkSetMacro(Steps,
int
);
71
vtkGetMacro(Steps,
int
);
73
75
82
vtkSetMacro(StepSize,
double
);
83
vtkGetMacro(StepSize,
double
);
85
87
88
vtkSetClampMacro(Magnification,
int
, 1,
VTK_INT_MAX
);
89
vtkGetMacro(Magnification,
int
);
91
93
94
vtkGetMacro( OpenGLExtensionsSupported,
int
);
96
98
int
GetFBOSuccess
() {
return
this->FBOSuccess; }
99
101
int
GetLICSuccess
() {
return
this->LICSuccess; }
102
103
//BTX
104
protected
:
105
vtkStructuredGridLIC2D
();
106
~
vtkStructuredGridLIC2D
();
107
109
113
virtual
int
FillInputPortInformation
(
int
port
,
114
vtkInformation
*
info
);
116
118
122
virtual
int
FillOutputPortInformation
(
int
port
,
123
vtkInformation
*
info
);
125
126
virtual
int
RequestInformation
(
vtkInformation
*request,
127
vtkInformationVector
**inputVector,
128
vtkInformationVector
*outputVector);
129
130
int
RequestUpdateExtent
(
vtkInformation
*request,
131
vtkInformationVector
**inputVector,
132
vtkInformationVector
*outputVector);
133
135
137
void
AllocateOutputData(
vtkDataObject
*output,
138
int
outputPort);
140
142
void
AllocateScalars(
vtkStructuredGrid
*sg);
143
145
147
virtual
int
RequestData
(
vtkInformation
*request,
148
vtkInformationVector
**inputVector,
149
vtkInformationVector
*outputVector);
151
152
int
Steps
;
153
double
StepSize
;
154
int
Magnification
;
155
int
OpenGLExtensionsSupported
;
156
vtkWeakPointer<vtkRenderWindow>
Context
;
157
158
vtkImageNoiseSource
*
NoiseSource
;
159
bool
OwnWindow
;
160
int
FBOSuccess
;
161
int
LICSuccess
;
162
163
private
:
164
vtkStructuredGridLIC2D
(
const
vtkStructuredGridLIC2D
&);
// Not implemented.
165
void
operator=(
const
vtkStructuredGridLIC2D
&);
// Not implemented.
166
//ETX
167
};
168
169
#endif
Generated on Sun Sep 9 2012 13:03:39 for VTK by
1.8.1.2