VTK
dox
IO
Image
vtkImageReader2Factory.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageReader2Factory.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
38
#ifndef vtkImageReader2Factory_h
39
#define vtkImageReader2Factory_h
40
41
42
#include "vtkIOImageModule.h"
// For export macro
43
#include "
vtkObject.h
"
44
45
class
vtkImageReader2
;
46
class
vtkImageReader2Collection
;
47
class
vtkImageReader2FactoryCleanup;
48
49
class
VTKIOIMAGE_EXPORT
vtkImageReader2Factory
:
public
vtkObject
50
{
51
public
:
52
static
vtkImageReader2Factory
*
New
();
53
vtkTypeMacro(
vtkImageReader2Factory
,
vtkObject
);
54
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
55
60
static
void
RegisterReader(
vtkImageReader2
* r);
61
67
VTK_NEWINSTANCE
68
static
vtkImageReader2
* CreateImageReader2(
const
char
* path);
69
74
static
void
GetRegisteredReaders(
vtkImageReader2Collection
* );
75
76
protected
:
77
vtkImageReader2Factory
();
78
~
vtkImageReader2Factory
()
override
;
79
80
static
void
InitializeReaders();
81
82
private
:
83
static
vtkImageReader2Collection
* AvailableReaders;
84
vtkImageReader2Factory
(
const
vtkImageReader2Factory
&) =
delete
;
85
void
operator=(
const
vtkImageReader2Factory
&) =
delete
;
86
87
friend
class
vtkImageReader2FactoryCleanup;
88
89
};
90
91
#endif
vtkImageReader2Collection
maintain a list of image readers
Definition:
vtkImageReader2Collection.h:33
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
vtkImageReader2Factory
Superclass of binary file readers.
Definition:
vtkImageReader2Factory.h:49
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkImageReader2
Superclass of binary file readers.
Definition:
vtkImageReader2.h:58
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject.h
VTK_NEWINSTANCE
#define VTK_NEWINSTANCE
Definition:
vtkWrappingHints.h:39
Generated by
1.8.16