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