ANIMA
4.0
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
a
b
c
e
g
i
j
k
l
n
o
p
q
r
s
t
u
v
w
x
Variables
Enumerations
Enumerator
+
Classes
Class List
Class Index
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
r
s
t
u
v
w
z
~
+
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
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
e
f
i
m
o
s
t
w
+
Enumerator
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
+
Functions
a
c
e
f
m
p
r
s
t
v
Variables
Enumerations
+
Enumerator
a
b
c
d
e
f
g
h
k
m
n
p
r
s
t
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
src
Anima
math-tools
data_io
animaShapesReader.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <vtkSmartPointer.h>
4
#include <vtkPolyData.h>
5
#include <string>
6
7
#include "AnimaDataIOExport.h"
8
9
namespace
anima
{
10
11
class
ANIMADATAIO_EXPORT
ShapesReader
12
{
13
public
:
14
ShapesReader
()
15
{
16
m_FileName =
""
;
17
m_OutputData = 0;
18
}
19
20
~ShapesReader
() {}
21
22
void
SetFileName
(std::string &name) {m_FileName = name;}
23
void
Update();
24
25
vtkPolyData *
GetOutput
() {
return
m_OutputData;}
26
27
protected
:
28
void
ReadFileAsVTKAscii();
29
void
ReadFileAsVTKXML();
30
void
ReadFileAsMedinriaFibers();
31
void
ReadFileAsCSV();
32
33
private
:
34
vtkSmartPointer <vtkPolyData> m_OutputData;
35
std::string m_FileName;
36
};
37
38
}
// end namespace anima
anima::ShapesReader
Definition:
animaShapesReader.h:11
anima::ShapesReader::SetFileName
void SetFileName(std::string &name)
Definition:
animaShapesReader.h:22
anima::ShapesReader::ShapesReader
ShapesReader()
Definition:
animaShapesReader.h:14
anima::ShapesReader::~ShapesReader
~ShapesReader()
Definition:
animaShapesReader.h:20
anima
Definition:
animaDTIEstimationImageFilter.h:7
anima::ShapesReader::GetOutput
vtkPolyData * GetOutput()
Definition:
animaShapesReader.h:25
Generated by
1.8.13