VTK
|
Create image data from a QImage. More...
#include <vtkQImageToImageSource.h>
Public Types | |
typedef vtkImageAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkQImageToImageSource * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetQImage (QImage *image) |
const QImage * | GetQImage () |
Static Public Member Functions | |
static vtkQImageToImageSource * | New () |
static int | IsTypeOf (const char *type) |
static vtkQImageToImageSource * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkQImageToImageSource () | |
~vtkQImageToImageSource () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | RequestInformation (vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *outputVector) |
Protected Attributes | |
const QImage * | QtImage |
int | DataExtent [6] |
Create image data from a QImage.
vtkQImageToImageSource produces image data from a QImage.
Definition at line 34 of file vtkQImageToImageSource.h.
Reimplemented from vtkImageAlgorithm.
Definition at line 38 of file vtkQImageToImageSource.h.
vtkQImageToImageSource::vtkQImageToImageSource | ( | ) | [protected] |
vtkQImageToImageSource::~vtkQImageToImageSource | ( | ) | [inline, protected] |
Definition at line 50 of file vtkQImageToImageSource.h.
static vtkQImageToImageSource* vtkQImageToImageSource::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
static int vtkQImageToImageSource::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkImageAlgorithm.
virtual int vtkQImageToImageSource::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkImageAlgorithm.
static vtkQImageToImageSource* vtkQImageToImageSource::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkImageAlgorithm.
virtual vtkObjectBase* vtkQImageToImageSource::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkImageAlgorithm.
Reimplemented from vtkImageAlgorithm.
void vtkQImageToImageSource::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkImageAlgorithm.
void vtkQImageToImageSource::SetQImage | ( | QImage * | image | ) | [inline] |
Set/Get QImage surface to be used.
Definition at line 43 of file vtkQImageToImageSource.h.
const QImage* vtkQImageToImageSource::GetQImage | ( | ) | [inline] |
Set/Get QImage surface to be used.
Definition at line 45 of file vtkQImageToImageSource.h.
virtual int vtkQImageToImageSource::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called in response to a REQUEST_DATA request from the executive. Subclasses should override either this method or the ExecuteDataWithInformation method in order to generate data for their outputs. For images, the output arrays will already be allocated, so all that is necessary is to fill in the voxel values.
Reimplemented from vtkImageAlgorithm.
int vtkQImageToImageSource::RequestInformation | ( | vtkInformation * | vtkNotUsedrequest, |
vtkInformationVector ** | vtkNotUsedinputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected] |
const QImage* vtkQImageToImageSource::QtImage [protected] |
Definition at line 52 of file vtkQImageToImageSource.h.
int vtkQImageToImageSource::DataExtent[6] [protected] |
Definition at line 53 of file vtkQImageToImageSource.h.