Go to the documentation of this file.
32 #ifndef vtkPNGReader_h
33 #define vtkPNGReader_h
35 #include "vtkIOImageModule.h"
96 vtkSetMacro(ReadSpacingFromFile,
bool);
97 vtkGetMacro(ReadSpacingFromFile,
bool);
98 vtkBooleanMacro(ReadSpacingFromFile,
bool);
110 OT *outPtr,
int *outExt,
vtkIdType *outInc,
long pixSize);
118 vtkInternals* Internals;
119 bool ReadSpacingFromFile;
size_t GetNumberOfTextChunks()
Return the number of text chunks in the PNG file.
void ExecuteDataWithInformation(vtkDataObject *out, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
const char * GetFileExtensions() override
Get the file extensions for this format.
void vtkPNGReaderUpdate(vtkImageData *data, OT *outPtr)
Set of utilities for OpenTURNS<->VTK conversions.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
const char * GetTextValue(int index)
Returns the text value stored at 'index'.
const char * GetTextKey(int index)
Returns the text key stored at 'index'.
static vtkPNGReader * New()
topologically and geometrically regular array of data
a simple class to control print indentation
Superclass of binary file readers.
void ExecuteInformation() override
const char * GetDescriptiveName() override
Return a descriptive name for the file format that might be useful in a GUI.
void vtkPNGReaderUpdate2(OT *outPtr, int *outExt, vtkIdType *outInc, long pixSize)
void GetTextChunks(const char *key, int beginEndIndex[2])
Given a 'key' for the text chunks, fills in 'beginEndIndex' with the begin and end indexes.
general representation of visualization data
int CanReadFile(const char *fname) override
Is the given file a PNG file?