1#ifndef CONSTELLATION_SELECTBUNDLESFROMNAMES_H
2#define CONSTELLATION_SELECTBUNDLESFROMNAMES_H
4#include <aims/fibers/bundles.h>
17 typedef std::vector< aims::FiberPoint >
Fiber;
25 bool verbose =
true,
bool as_regex=
false,
26 bool use_fiber_names =
false);
std::set< std::string > _select_bundles_name
virtual void noMoreBundle(const aims::BundleProducer &)
virtual void fiberStarted(const aims::BundleProducer &, const aims::BundleInfo &, const aims::FiberInfo &)
virtual ~SelectBundlesFromNames()
virtual void bundleStarted(const aims::BundleProducer &, const aims::BundleInfo &bundleInfo)
std::vector< aims::FiberPoint > Fiber
virtual void bundleTerminated(const aims::BundleProducer &, const aims::BundleInfo &bundleInfo)
virtual void newFiberPoint(const aims::BundleProducer &, const aims::BundleInfo &, const aims::FiberInfo &, const aims::FiberPoint &)
std::set< regex_t * > _regex
SelectBundlesFromNames(std::vector< std::string > &select_bundles_name, bool verbose=true, bool as_regex=false, bool use_fiber_names=false)
If use_fiber_names is not set, filtering is performed (as normal) using BundleInfo names,...
virtual void fiberTerminated(const aims::BundleProducer &, const aims::BundleInfo &bundleInfo, const aims::FiberInfo &fiberInfo)
aims::Polyline::Point_t FiberPoint