135#ifndef vtkImageReader2Factory_h
136#define vtkImageReader2Factory_h
138#include "vtkIOImageModule.h"
141VTK_ABI_NAMESPACE_BEGIN
144class vtkImageReader2FactoryCleanup;
200 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