32 #ifndef vtkPNGReader_h
33 #define vtkPNGReader_h
35 #include "vtkIOImageModule.h"
67 void GetTextChunks(
const char*
key,
int beginEndIndex[2]);
71 const char* GetTextKey(
int index);
77 const char* GetTextValue(
int index);
82 size_t GetNumberOfTextChunks();
90 vtkSetMacro(ReadSpacingFromFile,
bool);
91 vtkGetMacro(ReadSpacingFromFile,
bool);
92 vtkBooleanMacro(ReadSpacingFromFile,
bool);
103 void vtkPNGReaderUpdate2(
OT* outPtr,
int* outExt,
vtkIdType* outInc,
long pixSize);
110 vtkInternals* Internals;
111 bool ReadSpacingFromFile;
static vtkImageReader2 * New()
virtual int CanReadFile(VTK_FILEPATH const char *vtkNotUsed(fname))
Return non zero if the reader can read the given file name.
const char * GetFileExtensions() override
Get the file extensions for this format.
void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
a simple class to control print indentation
topologically and geometrically regular array of data
virtual void ExecuteInformation()
const char * GetDescriptiveName() override
Return a descriptive name for the file format that might be useful in a GUI.
Superclass of binary file readers.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
general representation of visualization data
Set of utilities for OpenTURNS<->VTK conversions.