VTK
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 =========================================================================*/
34 #ifndef vtkImageDataLIC2D_h
35 #define vtkImageDataLIC2D_h
36 
37 #include "vtkRenderingLICModule.h" // For export macro
38 #include "vtkImageAlgorithm.h"
39 #include "vtkWeakPointer.h" // needed for vtkWeakPointer.
40 
41 class vtkRenderWindow;
43 class vtkImageCast;
44 class vtkShaderProgram2;
45 
47 {
48 public:
51  void PrintSelf(ostream& os, vtkIndent indent);
52 
54 
59  int SetContext( vtkRenderWindow * context );
62 
64 
66  vtkSetMacro(Steps,int);
67  vtkGetMacro(Steps,int);
69 
71 
77  vtkSetMacro(StepSize, double);
78  vtkGetMacro(StepSize, double);
80 
82 
83  vtkSetMacro(Magnification, int);
84  vtkGetMacro(Magnification, int);
86 
88 
89  vtkGetMacro(OpenGLExtensionsSupported, int);
91 
93  const int* inExt,
94  const int* inWholeExtent,
95  int *outExt);
96 
97 //BTX
98 protected:
101 
104 
106 
113 
115  vtkInformationVector **inputVector,
116  vtkInformationVector *vtkNotUsed( outputVector ));
117 
119 
121  virtual int RequestData(vtkInformation *request,
122  vtkInformationVector **inputVector,
123  vtkInformationVector *outputVector);
125 
127  bool OwnWindow;
129 
131 
134 
135  int Steps;
136  double StepSize;
138 
139 
140 
141 private:
142  vtkImageDataLIC2D(const vtkImageDataLIC2D&); // Not implemented.
143  void operator=(const vtkImageDataLIC2D&); // Not implemented.
144 //ETX
145 };
146 
147 #endif
vtkImageDataLIC2D::NoiseSource
vtkImageNoiseSource * NoiseSource
Definition: vtkImageDataLIC2D.h:132
vtkImageDataLIC2D::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkImageDataLIC2D::New
static vtkImageDataLIC2D * New()
vtkImageDataLIC2D
Definition: vtkImageDataLIC2D.h:47
vtkImageDataLIC2D::StepSize
double StepSize
Definition: vtkImageDataLIC2D.h:136
vtkImageDataLIC2D::TranslateInputExtent
void TranslateInputExtent(const int *inExt, const int *inWholeExtent, int *outExt)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkRenderingLICModule.h
vtkImageAlgorithm.h
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:40
vtkImageNoiseSource
Create an image filled with noise.
Definition: vtkImageNoiseSource.h:38
vtkImageDataLIC2D::OpenGLExtensionsSupported
int OpenGLExtensionsSupported
Definition: vtkImageDataLIC2D.h:128
vtkImageDataLIC2D::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *vtkNotUsed(request), vtkInformationVector **inputVector, vtkInformationVector *vtkNotUsed(outputVector))
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkNotUsed
#define vtkNotUsed(x)
Definition: vtkSetGet.h:557
vtkImageDataLIC2D::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkImageDataLIC2D::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkImageDataLIC2D::ImageCast
vtkImageCast * ImageCast
Definition: vtkImageDataLIC2D.h:133
vtkImageDataLIC2D::Steps
int Steps
Definition: vtkImageDataLIC2D.h:135
vtkWeakPointer.h
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
VTKRENDERINGLIC_EXPORT
#define VTKRENDERINGLIC_EXPORT
Definition: vtkRenderingLICModule.h:15
vtkImageDataLIC2D::Magnification
int Magnification
Definition: vtkImageDataLIC2D.h:137
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkImageDataLIC2D::SetContext
int SetContext(vtkRenderWindow *context)
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkImageDataLIC2D::MagShader
vtkShaderProgram2 * MagShader
Definition: vtkImageDataLIC2D.h:130
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkImageDataLIC2D::OwnWindow
bool OwnWindow
Definition: vtkImageDataLIC2D.h:127
vtkImageDataLIC2D::GetContext
vtkRenderWindow * GetContext()
vtkShaderProgram2
GLSL Program.
Definition: vtkShaderProgram2.h:68
vtkImageDataLIC2D::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkImageDataLIC2D::Context
vtkWeakPointer< vtkRenderWindow > Context
Definition: vtkImageDataLIC2D.h:126
vtkImageDataLIC2D::vtkImageDataLIC2D
vtkImageDataLIC2D()
vtkRenderWindow
create a window for renderers to draw into
Definition: vtkRenderWindow.h:89
vtkImageCast
Image Data type Casting Filter.
Definition: vtkImageCast.h:46
vtkWeakPointer< vtkRenderWindow >
vtkImageDataLIC2D::~vtkImageDataLIC2D
~vtkImageDataLIC2D()