VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkPNGReader Class Reference

read PNG files More...

#include <vtkPNGReader.h>

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

List of all members.

Public Types

typedef vtkImageReader2 Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPNGReaderNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual int CanReadFile (const char *fname)
virtual const char * GetFileExtensions ()
virtual const char * GetDescriptiveName ()

Static Public Member Functions

static vtkPNGReaderNew ()
static int IsTypeOf (const char *type)
static vtkPNGReaderSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPNGReader ()
 ~vtkPNGReader ()
virtual void ExecuteInformation ()
virtual void ExecuteDataWithInformation (vtkDataObject *out, vtkInformation *outInfo)

Detailed Description

read PNG files

vtkPNGReader is a source object that reads PNG files. It should be able to read most any PNG file

See also:
vtkPNGWriter
Examples:
vtkPNGReader (Examples)
Tests:
vtkPNGReader (Tests)

Definition at line 37 of file vtkPNGReader.h.


Member Typedef Documentation

Reimplemented from vtkImageReader2.

Definition at line 41 of file vtkPNGReader.h.


Constructor & Destructor Documentation

vtkPNGReader::vtkPNGReader ( ) [inline, protected]

Definition at line 66 of file vtkPNGReader.h.

vtkPNGReader::~vtkPNGReader ( ) [inline, protected]

Definition at line 67 of file vtkPNGReader.h.


Member Function Documentation

static vtkPNGReader* vtkPNGReader::New ( ) [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkImageReader2.

static int vtkPNGReader::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 vtkImageReader2.

virtual int vtkPNGReader::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 vtkImageReader2.

Reimplemented from vtkImageReader2.

virtual vtkObjectBase* vtkPNGReader::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkImageReader2.

Reimplemented from vtkImageReader2.

virtual void vtkPNGReader::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 vtkImageReader2.

virtual int vtkPNGReader::CanReadFile ( const char *  fname) [virtual]

Is the given file a PNG file?

virtual const char* vtkPNGReader::GetFileExtensions ( ) [inline, virtual]

Get the file extensions for this format. Returns a string with a space separated list of extensions in the format .extension

Reimplemented from vtkImageReader2.

Definition at line 50 of file vtkPNGReader.h.

virtual const char* vtkPNGReader::GetDescriptiveName ( ) [inline, virtual]

Return a descriptive name for the file format that might be useful in a GUI.

Reimplemented from vtkImageReader2.

Definition at line 59 of file vtkPNGReader.h.

virtual void vtkPNGReader::ExecuteInformation ( ) [protected, virtual]

Reimplemented from vtkImageReader2.

virtual void vtkPNGReader::ExecuteDataWithInformation ( vtkDataObject output,
vtkInformation outInfo 
) [protected, virtual]

This is a convenience method that is implemented in many subclasses instead of RequestData. It is called by RequestData.

Reimplemented from vtkImageReader2.


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