ANIMA
4.0
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