91 #ifndef vtkLineIntegralConvolution2D_h
92 #define vtkLineIntegralConvolution2D_h
96 #include "vtkRenderingLICOpenGL2Module.h"
129 vtkSetClampMacro(EnhancedLIC,
int, 0, 1);
130 vtkGetMacro(EnhancedLIC,
int);
131 vtkBooleanMacro(EnhancedLIC,
int);
149 ENHANCE_CONTRAST_OFF=0,
150 ENHANCE_CONTRAST_ON=1};
151 vtkSetClampMacro(EnhanceContrast,
int, 0, 2);
152 vtkGetMacro(EnhanceContrast,
int);
153 vtkBooleanMacro(EnhanceContrast,
int);
170 vtkSetClampMacro(LowContrastEnhancementFactor,
double, 0.0, 1.0);
171 vtkGetMacro(LowContrastEnhancementFactor,
double);
172 vtkSetClampMacro(HighContrastEnhancementFactor,
double, 0.0, 1.0);
173 vtkGetMacro(HighContrastEnhancementFactor,
double);
182 vtkGetMacro(AntiAlias,
int);
183 vtkBooleanMacro(AntiAlias,
int);
189 vtkSetClampMacro(NumberOfSteps,
int, 0,
VTK_INT_MAX);
190 vtkGetMacro(NumberOfSteps,
int);
201 vtkGetMacro(StepSize,
double);
208 void SetComponentIds(
int c0,
int c1);
210 vtkGetVector2Macro(ComponentIds,
int);
217 vtkSetClampMacro(MaxNoiseValue,
double, 0.0, 1.0);
218 vtkGetMacro(MaxNoiseValue,
double);
226 void SetTransformVectors(
int val);
227 vtkGetMacro(TransformVectors,
int);
249 void SetNormalizeVectors(
int val);
250 vtkGetMacro(NormalizeVectors,
int);
260 vtkSetClampMacro(MaskThreshold,
double, -1.0,
VTK_FLOAT_MAX);
261 vtkGetMacro(MaskThreshold,
double);
291 const std::deque<vtkPixelExtent> &vectorExtent,
292 const std::deque<vtkPixelExtent> &licExtent,
352 float computeBounds[4],
374 int ShadersNeedBuild;
390 double LowContrastEnhancementFactor;
391 double HighContrastEnhancementFactor;
393 int NoiseTextureLookupCompatibilityMode;
394 double MaskThreshold;
395 int TransformVectors;
396 int NormalizeVectors;
398 double MaxNoiseValue;
void SetComponentIds(int c[2])
vtkOpenGLHelper * EEShader
abstract base class for most VTK objects
vtkOpenGLHelper * AAVShader
virtual void SetCommunicator(vtkPainterCommunicator *)
vtkOpenGLHelper * IntermediateBlendProgram
vtkOpenGLHelper * CEShader
GPU-based implementation of Line Integral Convolution (LIC)
virtual void GetGlobalMinMax(vtkPainterCommunicator *, float &, float &)
virtual void WriteTimerLog(const char *)
vtkOpenGLHelper * AAHShader
vtkOpenGLHelper * FinalBlendProgram
vtkOpenGLHelper * LICIShader
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
vtkOpenGLHelper * VTShader
virtual void StartTimerEvent(const char *)
vtkOpenGLHelper * LICNShader
abstracts an OpenGL texture object.
create a window for renderers to draw into
vtkWeakPointer< vtkOpenGLRenderWindow > Context
vtkOpenGLHelper * LIC0Shader
virtual void EndTimerEvent(const char *)
Interface to OpenGL framebuffer object.
The ShaderProgram uses one or more Shader objects.