144#ifndef vtkImageReader2Factory_h
145#define vtkImageReader2Factory_h
147#include "vtkIOImageModule.h"
152class vtkImageReader2FactoryCleanup;
208 friend class vtkImageReader2FactoryCleanup;
maintain a list of image readers
Superclass of binary file readers.
static bool CheckExtensionIsInExtensions(const char *extension, const char *extensions)
static void InitializeReaders()
static void GetRegisteredReaders(vtkImageReader2Collection *)
The caller must allocate the vtkImageReader2Collection and pass in the pointer to this method.
vtkImageReader2Factory()=default
~vtkImageReader2Factory() override=default
static void RegisterReader(vtkImageReader2 *r)
registered readers will be queried in CreateImageReader2 to see if they can load a given file.
static vtkImageReader2 * CreateImageReader2FromExtension(const char *extension)
Create a vtkImageReader2 from a (dotted or not) file extension.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkImageReader2Factory * New()
static vtkImageReader2 * CreateImageReader2(const char *path)
open the image file, it is the callers responsibility to call Delete on the returned object.
Superclass of binary file readers.
a simple class to control print indentation
abstract base class for most VTK objects