VTK
vtkQImageToImageSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkQImageToImageSource.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 =========================================================================*/
24 #ifndef vtkQImageToImageSource_h
25 #define vtkQImageToImageSource_h
26 
27 #include "vtkRenderingQtModule.h" // For export macro
28 #include "vtkImageAlgorithm.h"
29 
30 //BTX
31 class QImage;
32 //ETX
33 
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
43  void SetQImage( QImage* image )
44  {this->QtImage = image; this->Modified();}
45  const QImage* GetQImage(){return QtImage;}
47 
48 protected:
51 
52  const QImage* QtImage;
53  int DataExtent[6];
54 
57  vtkInformationVector ** vtkNotUsed( inputVector ),
58  vtkInformationVector *outputVector);
59 private:
60  vtkQImageToImageSource(const vtkQImageToImageSource&); // Not implemented.
61  void operator=(const vtkQImageToImageSource&); // Not implemented.
62 };
63 
64 
65 #endif
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkQImageToImageSource::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkObject::Modified
virtual void Modified()
vtkImageAlgorithm.h
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:40
VTKRENDERINGQT_EXPORT
#define VTKRENDERINGQT_EXPORT
Definition: vtkRenderingQtModule.h:15
vtkQImageToImageSource::GetQImage
const QImage * GetQImage()
Definition: vtkQImageToImageSource.h:45
vtkQImageToImageSource::~vtkQImageToImageSource
~vtkQImageToImageSource()
Definition: vtkQImageToImageSource.h:50
vtkNotUsed
#define vtkNotUsed(x)
Definition: vtkSetGet.h:557
vtkQImageToImageSource
Create image data from a QImage.
Definition: vtkQImageToImageSource.h:35
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkQImageToImageSource::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkQImageToImageSource::QtImage
const QImage * QtImage
Definition: vtkQImageToImageSource.h:52
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkQImageToImageSource::vtkQImageToImageSource
vtkQImageToImageSource()
vtkQImageToImageSource::RequestInformation
int RequestInformation(vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *outputVector)
vtkQImageToImageSource::New
static vtkQImageToImageSource * New()
vtkRenderingQtModule.h
vtkgl::image
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: vtkgl.h:11341
vtkQImageToImageSource::SetQImage
void SetQImage(QImage *image)
Definition: vtkQImageToImageSource.h:43