VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Hybrid
vtkImageDataLIC2D.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageDataLIC2D.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
=========================================================================*/
44
#ifndef __vtkImageDataLIC2D_h
45
#define __vtkImageDataLIC2D_h
46
47
#include "
vtkImageAlgorithm.h
"
48
#include "
vtkWeakPointer.h
"
// needed for vtkWeakPointer.
49
50
class
vtkRenderWindow
;
51
class
vtkImageNoiseSource
;
52
53
class
VTK_HYBRID_EXPORT
vtkImageDataLIC2D
:
public
vtkImageAlgorithm
54
{
55
public
:
56
static
vtkImageDataLIC2D
*
New
();
57
vtkTypeMacro(
vtkImageDataLIC2D
,
vtkImageAlgorithm
);
58
void
PrintSelf
(ostream& os,
vtkIndent
indent);
59
61
66
int
SetContext(
vtkRenderWindow
* context );
67
vtkRenderWindow
* GetContext();
69
71
73
vtkSetMacro(Steps,
int
);
74
vtkGetMacro(Steps,
int
);
76
78
84
vtkSetClampMacro(StepSize,
double
, 0.0, 100.0);
85
vtkGetMacro(StepSize,
double
);
87
89
90
vtkSetClampMacro(Magnification,
int
, 1,
VTK_INT_MAX
);
91
vtkGetMacro(Magnification,
int
);
93
95
96
vtkGetMacro( OpenGLExtensionsSupported,
int
);
98
100
int
GetFBOSuccess
() {
return
this->FBOSuccess; }
101
103
int
GetLICSuccess
() {
return
this->LICSuccess; }
104
105
106
void
TranslateInputExtent(
const
int
* inExt,
107
const
int
* inWholeExtent,
int
*outExt);
108
109
//BTX
110
protected
:
111
vtkImageDataLIC2D
();
112
~
vtkImageDataLIC2D
();
113
114
virtual
int
RequestInformation
(
vtkInformation
*,
115
vtkInformationVector
**,
vtkInformationVector
*);
116
118
122
virtual
int
FillInputPortInformation
(
int
port
,
123
vtkInformation
*
info
);
125
126
int
RequestUpdateExtent
(
vtkInformation
* vtkNotUsed(request),
127
vtkInformationVector
**inputVector,
128
vtkInformationVector
*vtkNotUsed( outputVector ));
129
131
133
virtual
int
RequestData
(
vtkInformation
*request,
134
vtkInformationVector
**inputVector,
135
vtkInformationVector
*outputVector);
137
138
int
Steps
;
139
double
StepSize
;
140
int
Magnification
;
141
int
OpenGLExtensionsSupported
;
142
vtkWeakPointer<vtkRenderWindow>
Context
;
143
vtkImageNoiseSource
*
NoiseSource
;
144
145
bool
ARBColorBufferFloatSupported
;
146
bool
OwnWindow
;
147
int
FBOSuccess
;
148
int
LICSuccess
;
149
150
private
:
151
vtkImageDataLIC2D
(
const
vtkImageDataLIC2D
&);
// Not implemented.
152
void
operator=(
const
vtkImageDataLIC2D
&);
// Not implemented.
153
//ETX
154
};
155
156
#endif
Generated on Wed May 30 2012 13:22:12 for VTK by
1.8.1