VTK
vtkStructuredGridLIC2D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkStructuredGridLIC2D.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 =========================================================================*/
41 #ifndef vtkStructuredGridLIC2D_h
42 #define vtkStructuredGridLIC2D_h
43 
44 #include "vtkRenderingLICModule.h" // For export macro
46 #include "vtkWeakPointer.h" // needed for vtkWeakPointer.
47 
48 class vtkRenderWindow;
50 
53 {
54 public:
57  void PrintSelf(ostream& os, vtkIndent indent);
58 
60 
65  int SetContext( vtkRenderWindow * context );
68 
70 
72  vtkSetMacro(Steps,int);
73  vtkGetMacro(Steps,int);
75 
77 
84  vtkSetMacro(StepSize,double);
85  vtkGetMacro(StepSize,double);
87 
89 
90  vtkSetClampMacro(Magnification, int, 1, VTK_INT_MAX);
91  vtkGetMacro(Magnification, int);
93 
95 
96  vtkGetMacro( OpenGLExtensionsSupported, int );
98 
100  int GetFBOSuccess() { return this->FBOSuccess; }
101 
103  int GetLICSuccess() { return this->LICSuccess; }
104 
105 //BTX
106 protected:
109 
111 
118 
120 
127 
128  virtual int RequestInformation(vtkInformation *request,
129  vtkInformationVector **inputVector,
130  vtkInformationVector *outputVector);
131 
133  vtkInformationVector **inputVector,
134  vtkInformationVector *outputVector);
135 
137 
140  vtkInformation *outInfo);
142 
145 
147 
149  virtual int RequestData(vtkInformation *request,
150  vtkInformationVector **inputVector,
151  vtkInformationVector *outputVector);
153 
154  int Steps;
155  double StepSize;
159 
161  bool OwnWindow;
164 
165 private:
166  vtkStructuredGridLIC2D(const vtkStructuredGridLIC2D&); // Not implemented.
167  void operator=(const vtkStructuredGridLIC2D&); // Not implemented.
168 //ETX
169 };
170 
171 #endif
vtkStructuredGridLIC2D::StepSize
double StepSize
Definition: vtkStructuredGridLIC2D.h:155
VTK_INT_MAX
#define VTK_INT_MAX
Definition: vtkType.h:132
vtkStructuredGridAlgorithm.h
vtkStructuredGridLIC2D::Magnification
int Magnification
Definition: vtkStructuredGridLIC2D.h:156
vtkStructuredGridLIC2D::OpenGLExtensionsSupported
int OpenGLExtensionsSupported
Definition: vtkStructuredGridLIC2D.h:157
vtkStructuredGridLIC2D::vtkStructuredGridLIC2D
vtkStructuredGridLIC2D()
vtkStructuredGridLIC2D::AllocateOutputData
void AllocateOutputData(vtkDataObject *output, vtkInformation *outInfo)
vtkStructuredGridAlgorithm
Superclass for algorithms that produce only structured grid as output.
Definition: vtkStructuredGridAlgorithm.h:41
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkStructuredGridLIC2D::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkStructuredGridLIC2D::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkStructuredGridLIC2D::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkRenderingLICModule.h
vtkStructuredGrid
topologically regular array of data
Definition: vtkStructuredGrid.h:63
vtkStructuredGridLIC2D::LICSuccess
int LICSuccess
Definition: vtkStructuredGridLIC2D.h:163
vtkStructuredGridLIC2D::AllocateScalars
void AllocateScalars(vtkStructuredGrid *sg, vtkInformation *outInfo)
vtkStructuredGridLIC2D::Steps
int Steps
Definition: vtkStructuredGridLIC2D.h:154
vtkImageNoiseSource
Create an image filled with noise.
Definition: vtkImageNoiseSource.h:38
vtkStructuredGridLIC2D::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkSetClampMacro
#define vtkSetClampMacro(name, type, min, max)
Definition: vtkSetGet.h:143
vtkStructuredGridLIC2D::GetLICSuccess
int GetLICSuccess()
Definition: vtkStructuredGridLIC2D.h:103
vtkStructuredGridLIC2D::GetFBOSuccess
int GetFBOSuccess()
Definition: vtkStructuredGridLIC2D.h:100
vtkStructuredGridLIC2D
Definition: vtkStructuredGridLIC2D.h:53
vtkStructuredGridLIC2D::New
static vtkStructuredGridLIC2D * New()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkStructuredGridLIC2D::FillOutputPortInformation
virtual int FillOutputPortInformation(int port, vtkInformation *info)
vtkStructuredGridLIC2D::GetContext
vtkRenderWindow * GetContext()
vtkStructuredGridLIC2D::FBOSuccess
int FBOSuccess
Definition: vtkStructuredGridLIC2D.h:162
vtkStructuredGridLIC2D::OwnWindow
bool OwnWindow
Definition: vtkStructuredGridLIC2D.h:161
vtkWeakPointer.h
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
VTKRENDERINGLIC_EXPORT
#define VTKRENDERINGLIC_EXPORT
Definition: vtkRenderingLICModule.h:15
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkStructuredGridLIC2D::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkStructuredGridLIC2D::NoiseSource
vtkImageNoiseSource * NoiseSource
Definition: vtkStructuredGridLIC2D.h:160
vtkRenderWindow
create a window for renderers to draw into
Definition: vtkRenderWindow.h:89
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkStructuredGridLIC2D::SetContext
int SetContext(vtkRenderWindow *context)
vtkStructuredGridLIC2D::~vtkStructuredGridLIC2D
~vtkStructuredGridLIC2D()
vtkWeakPointer< vtkRenderWindow >
vtkStructuredGridLIC2D::Context
vtkWeakPointer< vtkRenderWindow > Context
Definition: vtkStructuredGridLIC2D.h:158