VTK  9.3.20240424
vtkImageDataLIC2D.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
26#ifndef vtkImageDataLIC2D_h
27#define vtkImageDataLIC2D_h
28
29#include "vtkImageAlgorithm.h"
30#include "vtkRenderingLICOpenGL2Module.h" // For export macro
31#include "vtkWeakPointer.h" // needed for vtkWeakPointer.
32
33VTK_ABI_NAMESPACE_BEGIN
34class vtkRenderWindow;
37class vtkImageCast;
38
39class VTKRENDERINGLICOPENGL2_EXPORT vtkImageDataLIC2D : public vtkImageAlgorithm
40{
41public:
44 void PrintSelf(ostream& os, vtkIndent indent) override;
45
47
57
59
64 vtkSetMacro(Steps, int);
65 vtkGetMacro(Steps, int);
67
69
80 vtkSetMacro(StepSize, double);
81 vtkGetMacro(StepSize, double);
83
85
88 vtkSetMacro(Magnification, int);
89 vtkGetMacro(Magnification, int);
91
93
96 vtkGetMacro(OpenGLExtensionsSupported, int);
98
99 void TranslateInputExtent(const int* inExt, const int* inWholeExtent, int* outExt);
100
101protected:
104
106
113 int FillInputPortInformation(int port, vtkInformation* info) override;
114
115 int RequestUpdateExtent(vtkInformation* vtkNotUsed(request), vtkInformationVector** inputVector,
116 vtkInformationVector* vtkNotUsed(outputVector)) override;
117
123 vtkInformationVector* outputVector) override;
124
128
131
132 int Steps;
133 double StepSize;
135
136private:
137 vtkImageDataLIC2D(const vtkImageDataLIC2D&) = delete;
138 void operator=(const vtkImageDataLIC2D&) = delete;
139};
140
141VTK_ABI_NAMESPACE_END
142#endif
Generic algorithm superclass for image algs.
Image Data type Casting Filter.
GPU implementation of a Line Integral Convolution, a technique for imaging vector fields.
vtkRenderWindow * GetContext()
Get/Set the context.
int SetContext(vtkRenderWindow *context)
Get/Set the context.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
int RequestUpdateExtent(vtkInformation *vtkNotUsed(request), vtkInformationVector **inputVector, vtkInformationVector *vtkNotUsed(outputVector)) override
vtkWeakPointer< vtkOpenGLRenderWindow > Context
vtkImageCast * ImageCast
~vtkImageDataLIC2D() override
static vtkImageDataLIC2D * New()
vtkImageNoiseSource * NoiseSource
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void TranslateInputExtent(const int *inExt, const int *inWholeExtent, int *outExt)
Create an image filled with noise.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
OpenGL rendering window.
create a window for renderers to draw into
a weak reference to a vtkObject.