92 #ifndef vtkLineIntegralConvolution2D_h
93 #define vtkLineIntegralConvolution2D_h
97 #include "vtkRenderingLICModule.h"
134 vtkSetClampMacro(EnhancedLIC,
int, 0, 1);
135 vtkGetMacro(EnhancedLIC,
int);
162 ENHANCE_CONTRAST_OFF=0,
163 ENHANCE_CONTRAST_ON=1};
164 vtkSetClampMacro(EnhanceContrast,
int, 0, 2);
165 vtkGetMacro(EnhanceContrast,
int);
187 vtkSetClampMacro(LowContrastEnhancementFactor,
double, 0.0, 1.0);
188 vtkGetMacro(LowContrastEnhancementFactor,
double);
189 vtkSetClampMacro(HighContrastEnhancementFactor,
double, 0.0, 1.0);
190 vtkGetMacro(HighContrastEnhancementFactor,
double);
201 vtkGetMacro(AntiAlias,
int);
210 vtkSetClampMacro(NumberOfSteps,
int, 0,
VTK_INT_MAX);
211 vtkGetMacro(NumberOfSteps,
int);
223 vtkGetMacro(StepSize,
double);
232 void SetComponentIds(
int c0,
int c1);
234 vtkGetVector2Macro(ComponentIds,
int);
243 vtkSetClampMacro(MaxNoiseValue,
double, 0.0, 1.0);
244 vtkGetMacro(MaxNoiseValue,
double);
254 void SetTransformVectors(
int val);
255 vtkGetMacro(TransformVectors,
int);
279 void SetNormalizeVectors(
int val);
280 vtkGetMacro(NormalizeVectors,
int);
293 vtkSetClampMacro(MaskThreshold,
double, -1.0,
VTK_FLOAT_MAX);
294 vtkGetMacro(MaskThreshold,
double);
327 const std::deque<vtkPixelExtent> &vectorExtent,
328 const std::deque<vtkPixelExtent> &licExtent,
386 float computeBounds[4],
double LowContrastEnhancementFactor
vtkWeakPointer< vtkRenderWindow > Context
void SetComponentIds(int c[2])
If VectorField has >= 3 components, we must choose which 2 components form the (X, Y) components for the vector field.
vtkShaderProgram2 * EEShader
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetCommunicator(vtkPainterCommunicator *)
Set the communicator to use during parallel operation The communicator will not be duplicated or refe...
vtkShaderProgram2 * LICIShader
vtkShaderProgram2 * LIC0Shader
GPU-based implementation of Line Integral Convolution (LIC)
virtual void GetGlobalMinMax(vtkPainterCommunicator *, float &, float &)
For parallel operation, find global min/max min/max are in/out.
virtual void WriteTimerLog(const char *)
Methods used for parallel benchmarks.
vtkShaderProgram2 * VTShader
vtkShaderProgram2 * CEShader
vtkShaderProgram2 * LICNShader
a simple class to control print indentation
vtkFrameBufferObject2 * FBO
virtual void StartTimerEvent(const char *)
Methods used for parallel benchmarks.
vtkPainterCommunicator * Comm
vtkShaderProgram2 * AAHShader
abstracts an OpenGL texture object.
create a window for renderers to draw into
Representation of a cartesian pixel plane and common operations on it.
vtkShaderProgram2 * AAVShader
A communicator that can safely be used inside a painter.
virtual void EndTimerEvent(const char *)
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
int NoiseTextureLookupCompatibilityMode
Interface to OpenGL framebuffer object.
double HighContrastEnhancementFactor