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 =========================================================================*/
37 #ifndef vtkImageDataLIC2D_h
38 #define vtkImageDataLIC2D_h
39 
40 #include "vtkRenderingLICOpenGL2Module.h" // For export macro
41 #include "vtkImageAlgorithm.h"
42 #include "vtkWeakPointer.h" // needed for vtkWeakPointer.
43 
44 class vtkRenderWindow;
47 class vtkImageCast;
48 
49 class VTKRENDERINGLICOPENGL2_EXPORT vtkImageDataLIC2D : public vtkImageAlgorithm
50 {
51 public:
54  void PrintSelf(ostream& os, vtkIndent indent);
55 
57 
62  int SetContext( vtkRenderWindow * context );
65 
67 
69  vtkSetMacro(Steps,int);
70  vtkGetMacro(Steps,int);
72 
74 
80  vtkSetMacro(StepSize, double);
81  vtkGetMacro(StepSize, double);
83 
85 
86  vtkSetMacro(Magnification, int);
87  vtkGetMacro(Magnification, int);
89 
91 
92  vtkGetMacro(OpenGLExtensionsSupported, int);
94 
96  const int* inExt,
97  const int* inWholeExtent,
98  int *outExt);
99 
100 //BTX
101 protected:
104 
107 
109 
116 
118  vtkInformationVector **inputVector,
119  vtkInformationVector *vtkNotUsed( outputVector ));
120 
122 
124  virtual int RequestData(vtkInformation *request,
125  vtkInformationVector **inputVector,
126  vtkInformationVector *outputVector);
128 
130  bool OwnWindow;
131  int OpenGLExtensionsSupported;
132 
133  vtkImageNoiseSource* NoiseSource;
134  vtkImageCast* ImageCast;
135 
136  int Steps;
137  double StepSize;
138  int Magnification;
139 
140 
141 private:
142  vtkImageDataLIC2D(const vtkImageDataLIC2D&); // Not implemented.
143  void operator=(const vtkImageDataLIC2D&); // Not implemented.
144 //ETX
145 };
146 
147 #endif
vtkImageDataLIC2D::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkImageDataLIC2D::New
static vtkImageDataLIC2D * New()
vtkImageDataLIC2D
Definition: vtkImageDataLIC2D.h:47
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
vtkImageAlgorithm.h
vtkImageDataLIC2D::Context
vtkWeakPointer< vtkOpenGLRenderWindow > Context
Definition: vtkImageDataLIC2D.h:129
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:40
vtkImageNoiseSource
Create an image filled with noise.
Definition: vtkImageNoiseSource.h:38
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)
vtkWeakPointer.h
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkImageDataLIC2D::SetContext
int SetContext(vtkRenderWindow *context)
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkImageDataLIC2D::GetContext
vtkRenderWindow * GetContext()
vtkImageDataLIC2D::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkImageDataLIC2D::vtkImageDataLIC2D
vtkImageDataLIC2D()
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition: vtkOpenGLRenderWindow.h:41
vtkRenderWindow
create a window for renderers to draw into
Definition: vtkRenderWindow.h:89
vtkImageCast
Image Data type Casting Filter.
Definition: vtkImageCast.h:46
vtkWeakPointer< vtkOpenGLRenderWindow >
vtkImageDataLIC2D::~vtkImageDataLIC2D
~vtkImageDataLIC2D()