Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkTrackvis.h>
Public Member Functions | |
short | create (string m_Filename, const mitk::FiberBundle *fib) |
short | open (string m_Filename) |
short | read (mitk::FiberBundle *fib) |
short | append (const mitk::FiberBundle *fib) |
void | writeHdr () |
void | updateTotal (int totFibers) |
void | close () |
bool | IsTransformValid () |
TrackVisFiberReader () | |
~TrackVisFiberReader () | |
Public Attributes | |
TrackVis_header | m_Header |
Definition at line 60 of file mitkTrackvis.h.
TrackVisFiberReader::TrackVisFiberReader | ( | ) |
Definition at line 4 of file mitkTrackvis.cpp.
TrackVisFiberReader::~TrackVisFiberReader | ( | ) |
Definition at line 6 of file mitkTrackvis.cpp.
short TrackVisFiberReader::append | ( | const mitk::FiberBundle * | fib | ) |
Definition at line 89 of file mitkTrackvis.cpp.
References mitk::FiberBundle::GetFiberPolyData(), and mitk::FiberBundle::GetNumFibers().
Referenced by mitk::FiberBundleTrackVisWriter::Write().
void TrackVisFiberReader::close | ( | ) |
Definition at line 226 of file mitkTrackvis.cpp.
short TrackVisFiberReader::create | ( | string | m_Filename, |
const mitk::FiberBundle * | fib | ||
) |
Definition at line 11 of file mitkTrackvis.cpp.
References TrackVis_header::dim, filename, mitk::BaseGeometry::GetExtent(), mitk::BaseData::GetGeometry(), mitk::BaseGeometry::GetOrigin(), mitk::FiberBundle::GetReferenceGeometry(), mitk::BaseGeometry::GetSpacing(), TrackVis_header::hdr_size, TrackVis_header::id_string, TrackVis_header::image_orientation_patient, TrackVis_header::invert_x, TrackVis_header::invert_y, TrackVis_header::invert_z, m_Header, MITK_ERROR, TrackVis_header::n_count, TrackVis_header::n_properties, TrackVis_header::n_scalars, TrackVis_header::origin, TrackVis_header::pad1, TrackVis_header::pad2, TrackVis_header::swap_xy, TrackVis_header::swap_yz, TrackVis_header::swap_zx, TrackVis_header::version, TrackVis_header::voxel_order, and TrackVis_header::voxel_size.
Referenced by mitk::FiberBundleTrackVisWriter::Write().
bool TrackVisFiberReader::IsTransformValid | ( | ) |
Definition at line 232 of file mitkTrackvis.cpp.
References TrackVis_header::image_orientation_patient, and m_Header.
short TrackVisFiberReader::open | ( | string | m_Filename | ) |
Definition at line 72 of file mitkTrackvis.cpp.
References filename, and m_Header.
Referenced by mitk::FiberBundleTrackVisReader::Read().
short TrackVisFiberReader::read | ( | mitk::FiberBundle * | fib | ) |
Definition at line 131 of file mitkTrackvis.cpp.
References TrackVis_header::dim, m_Header, MITK_ERROR, MITK_INFO, mitk::New(), mitk::Geometry3D::New(), TrackVis_header::origin, mitk::FiberBundle::SetFiberPolyData(), mitk::FiberBundle::SetReferenceGeometry(), TrackVis_header::voxel_order, and TrackVis_header::voxel_size.
Referenced by mitk::FiberBundleTrackVisReader::Read().
void TrackVisFiberReader::updateTotal | ( | int | totFibers | ) |
Definition at line 208 of file mitkTrackvis.cpp.
References MITK_ERROR.
void TrackVisFiberReader::writeHdr | ( | ) |
Definition at line 216 of file mitkTrackvis.cpp.
References m_Header, and MITK_ERROR.
Referenced by mitk::FiberBundleTrackVisWriter::Write().
TrackVis_header TrackVisFiberReader::m_Header |
Definition at line 67 of file mitkTrackvis.h.
Referenced by create(), IsTransformValid(), open(), read(), and writeHdr().