VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
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 "
vtkImageAlgorithm.h
"
28
29
//BTX
30
class
QImage;
31
//ETX
32
33
class
VTK_RENDERING_EXPORT
vtkQImageToImageSource
:
public
vtkImageAlgorithm
34
{
35
public
:
36
static
vtkQImageToImageSource
*
New
();
37
vtkTypeMacro(
vtkQImageToImageSource
,
vtkImageAlgorithm
);
38
void
PrintSelf
(ostream& os,
vtkIndent
indent);
39
41
42
void
SetQImage( QImage*
image
)
43
{this->QtImage =
image
; this->
Modified
();}
44
const
QImage*
GetQImage
(){
return
QtImage;}
46
47
protected
:
48
vtkQImageToImageSource
();
49
~vtkQImageToImageSource
() {};
50
51
const
QImage* QtImage;
52
int
DataExtent[6];
53
54
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
55
int
RequestInformation
(
vtkInformation
* vtkNotUsed(request),
56
vtkInformationVector
** vtkNotUsed( inputVector ),
57
vtkInformationVector
*outputVector);
58
private
:
59
vtkQImageToImageSource
(
const
vtkQImageToImageSource
&);
// Not implemented.
60
void
operator=(
const
vtkQImageToImageSource
&);
// Not implemented.
61
};
62
63
64
#endif
Generated on Thu Mar 13 2014 08:10:34 for VTK by
1.8.1.2