![]() |
aimsdata
4.7.0
Neuroimaging data handling
|
Reads a bundles file, and emits events while walking through its data. More...
#include <aims/fibers/bundles.h>
Public Member Functions | |
BundleReader (const std::string &fileName) | |
virtual | ~BundleReader () |
void | read () |
read() is the entry point to fibers processing, and triggers the producer machinery. More... | |
virtual carto::Object | readHeader () |
![]() | |
void | addBundleListener (BundleListener &) |
![]() | |
virtual | ~BundleListener () |
Protected Member Functions | |
virtual void | bundleStarted (const BundleProducer &, const BundleInfo &) |
virtual void | bundleTerminated (const BundleProducer &, const BundleInfo &) |
virtual void | fiberStarted (const BundleProducer &, const BundleInfo &, const FiberInfo &) |
virtual void | fiberTerminated (const BundleProducer &, const BundleInfo &, const FiberInfo &) |
virtual void | newFiberPoint (const BundleProducer &, const BundleInfo &, const FiberInfo &, const FiberPoint &) |
virtual void | noMoreBundle (const BundleProducer &) |
![]() | |
void | startBundle (const BundleInfo &) |
void | terminateBundle (const BundleInfo &) |
void | startFiber (const BundleInfo &, const FiberInfo &) |
void | terminateFiber (const BundleInfo &, const FiberInfo &) |
void | addFiberPoint (const BundleInfo &, const FiberInfo &, const FiberPoint &) |
void | noMoreBundle () |
Reads a bundles file, and emits events while walking through its data.
BundleReader is a BundleProducer, so can be listened by any BundleListener. It may read several bundles/fibers formats, using a lower-level BundleProducer dedicated to a specific format.
Currently .bundles (AIMS/Connectomist) and .trk (Trackvis) formats are supported.
aims::BundleReader::BundleReader | ( | const std::string & | fileName | ) |
|
virtual |
|
protectedvirtual |
Reimplemented from aims::BundleListener.
|
protectedvirtual |
Reimplemented from aims::BundleListener.
|
protectedvirtual |
Reimplemented from aims::BundleListener.
|
protectedvirtual |
Reimplemented from aims::BundleListener.
|
protectedvirtual |
Reimplemented from aims::BundleListener.
|
protectedvirtual |
Reimplemented from aims::BundleListener.
void aims::BundleReader::read | ( | ) |
read() is the entry point to fibers processing, and triggers the producer machinery.
|
virtual |