Slicer
5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Toggle main menu visibility
Main Page
Related Pages
Classes
Class Index
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
Enumerations
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Related Symbols
a
e
f
i
m
o
p
r
s
w
Namespaces
Namespace List
Namespace Members
All
_
a
c
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
v
Functions
Variables
a
c
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
v
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
c
e
i
l
n
p
q
r
s
t
v
Variables
Typedefs
a
d
g
i
l
m
n
p
q
r
s
t
v
Enumerations
Enumerator
Macros
b
c
d
e
f
g
i
m
o
p
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
Libs
MRML
Core
vtkDataFileFormatHelper.h
Go to the documentation of this file.
1
#ifndef __vtkDataFileFormatHelper_h
2
#define __vtkDataFileFormatHelper_h
3
4
// MRML includes
5
#include "
vtkMRML.h
"
6
7
// VTK includes
8
#include <vtkObject.h>
9
class
vtkStringArray;
10
11
struct
ITKImageFileFormatStruct
12
{
13
const
char
*
ClassName
;
14
const
char
*
Description
;
15
const
char
*
GenericName
;
16
const
char
*
Extension
;
17
};
11
struct
ITKImageFileFormatStruct
{
…
};
18
using
ITKImageFileFormat
=
struct
ITKImageFileFormatStruct
;
19
20
class
VTK_MRML_EXPORT
vtkDataFileFormatHelper
:
public
vtkObject
21
{
22
public
:
23
25
static
vtkDataFileFormatHelper
*
New
();
26
vtkTypeMacro(
vtkDataFileFormatHelper
, vtkObject);
27
void
PrintSelf
(ostream& os, vtkIndent indent)
override
;
28
29
static
std::string
GetFileExtensionFromFormatString
(
30
const
char
* fileformat);
31
const
char
*
GetClassNameFromFormatString
(
32
const
char
* fileformat);
33
36
//vtkGetObjectMacro ( ITKSupportedWriteFileFormats, vtkStringArray);
37
virtual
vtkStringArray*
GetITKSupportedWriteFileFormats
();
38
virtual
vtkStringArray*
GetITKSupportedReadFileFormats
()
39
{
40
return
nullptr
;
41
}
38
virtual
vtkStringArray*
GetITKSupportedReadFileFormats
() {
…
}
42
virtual
vtkStringArray*
GetITKSupportedWriteFileExtensions
();
43
virtual
const
char
*
GetITKSupportedExtensionGenericNameByIndex
(
int
idx);
44
virtual
const
char
*
GetITKSupportedExtensionClassNameByIndex
(
int
idx);
45
46
protected
:
47
vtkDataFileFormatHelper
();
48
~vtkDataFileFormatHelper
()
override
;
49
50
vtkStringArray*
SupportedWriteFileExtensions
;
51
vtkStringArray*
SupportedWriteFileGenericNames
;
52
vtkStringArray*
SupportedWriteFileClassNames
;
53
vtkStringArray*
ITKSupportedWriteFileFormats
;
54
56
virtual
void
InitializeITKSupportedFileFormats
();
57
virtual
void
PopulateITKSupportedWriteFileTypes
();
58
virtual
void
AddSupportedWriterFileFormat
(
59
ITKImageFileFormat
& structFileFormat);
60
61
private
:
62
vtkDataFileFormatHelper
(
const
vtkDataFileFormatHelper
&) =
delete
;
63
void
operator=(
const
vtkDataFileFormatHelper
&) =
delete
;
64
};
20
class
VTK_MRML_EXPORT
vtkDataFileFormatHelper
:
public
vtkObject {
…
};
65
66
#endif
vtkDataFileFormatHelper::GetITKSupportedWriteFileExtensions
virtual vtkStringArray * GetITKSupportedWriteFileExtensions()
vtkDataFileFormatHelper::New
static vtkDataFileFormatHelper * New()
The Usual vtk class functions.
vtkDataFileFormatHelper::ITKSupportedWriteFileFormats
vtkStringArray * ITKSupportedWriteFileFormats
Definition
vtkDataFileFormatHelper.h:53
vtkDataFileFormatHelper::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkDataFileFormatHelper::vtkDataFileFormatHelper
vtkDataFileFormatHelper()
vtkDataFileFormatHelper::~vtkDataFileFormatHelper
~vtkDataFileFormatHelper() override
vtkDataFileFormatHelper::GetITKSupportedWriteFileFormats
virtual vtkStringArray * GetITKSupportedWriteFileFormats()
Get the itkImageIO supported file formats.
vtkDataFileFormatHelper::InitializeITKSupportedFileFormats
virtual void InitializeITKSupportedFileFormats()
This will initialize the supported file formats.
vtkDataFileFormatHelper::GetITKSupportedReadFileFormats
virtual vtkStringArray * GetITKSupportedReadFileFormats()
Definition
vtkDataFileFormatHelper.h:38
vtkDataFileFormatHelper::GetITKSupportedExtensionGenericNameByIndex
virtual const char * GetITKSupportedExtensionGenericNameByIndex(int idx)
vtkDataFileFormatHelper::GetITKSupportedExtensionClassNameByIndex
virtual const char * GetITKSupportedExtensionClassNameByIndex(int idx)
vtkDataFileFormatHelper::SupportedWriteFileExtensions
vtkStringArray * SupportedWriteFileExtensions
Definition
vtkDataFileFormatHelper.h:50
vtkDataFileFormatHelper::SupportedWriteFileGenericNames
vtkStringArray * SupportedWriteFileGenericNames
Definition
vtkDataFileFormatHelper.h:51
vtkDataFileFormatHelper::GetClassNameFromFormatString
const char * GetClassNameFromFormatString(const char *fileformat)
vtkDataFileFormatHelper::PopulateITKSupportedWriteFileTypes
virtual void PopulateITKSupportedWriteFileTypes()
vtkDataFileFormatHelper::GetFileExtensionFromFormatString
static std::string GetFileExtensionFromFormatString(const char *fileformat)
vtkDataFileFormatHelper::AddSupportedWriterFileFormat
virtual void AddSupportedWriterFileFormat(ITKImageFileFormat &structFileFormat)
vtkDataFileFormatHelper::SupportedWriteFileClassNames
vtkStringArray * SupportedWriteFileClassNames
Definition
vtkDataFileFormatHelper.h:52
ITKImageFileFormatStruct
Definition
vtkDataFileFormatHelper.h:12
ITKImageFileFormatStruct::GenericName
const char * GenericName
Definition
vtkDataFileFormatHelper.h:15
ITKImageFileFormatStruct::Description
const char * Description
Definition
vtkDataFileFormatHelper.h:14
ITKImageFileFormatStruct::Extension
const char * Extension
Definition
vtkDataFileFormatHelper.h:16
ITKImageFileFormatStruct::ClassName
const char * ClassName
Definition
vtkDataFileFormatHelper.h:13
ITKImageFileFormat
struct ITKImageFileFormatStruct ITKImageFileFormat
Definition
vtkDataFileFormatHelper.h:18
vtkMRML.h
Generated on Mon Mar 17 2025 12:53:59 for Slicer by
1.13.0