 |
VTK
9.0.1
|
Go to the documentation of this file.
26 #ifndef vtkPNGReader_h
27 #define vtkPNGReader_h
29 #include "vtkIOImageModule.h"
84 vtkSetMacro(ReadSpacingFromFile,
bool);
85 vtkGetMacro(ReadSpacingFromFile,
bool);
86 vtkBooleanMacro(ReadSpacingFromFile,
bool);
104 vtkInternals* Internals;
105 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?