VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkQImageToImageSource Class Reference

Create image data from a QImage. More...

#include <vtkQImageToImageSource.h>

Inheritance diagram for vtkQImageToImageSource:
Inheritance graph
[legend]
Collaboration diagram for vtkQImageToImageSource:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkQImageToImageSourceNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void SetQImage (QImage *image)
const QImage * GetQImage ()

Static Public Member Functions

static vtkQImageToImageSourceNew ()
static int IsTypeOf (const char *type)
static vtkQImageToImageSourceSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () 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]

Detailed Description

Create image data from a QImage.

vtkQImageToImageSource produces image data from a QImage.

Tests:
vtkQImageToImageSource (Tests)

Definition at line 34 of file vtkQImageToImageSource.h.


Member Typedef Documentation

Reimplemented from vtkImageAlgorithm.

Definition at line 38 of file vtkQImageToImageSource.h.


Constructor & Destructor Documentation

Definition at line 50 of file vtkQImageToImageSource.h.


Member Function Documentation

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.

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]

Member Data Documentation

const QImage* vtkQImageToImageSource::QtImage [protected]

Definition at line 50 of file vtkQImageToImageSource.h.

Definition at line 53 of file vtkQImageToImageSource.h.


The documentation for this class was generated from the following file: