25 #ifndef WDATASETFIBERSCREATORINTERFACE_H
26 #define WDATASETFIBERSCREATORINTERFACE_H
28 #include <core/common/WProgress.h>
29 #include <core/common/math/linearAlgebra/WMatrixFixed.h>
30 #include <core/dataHandler/WDataSetFibers.h>
61 size_t numVertsPerFiber,
Define the interface which is injected into an WObjectNDIP.
virtual ~WDataSetFibersCreatorInterface()
Destructor.
virtual void operator()(int seed, WProgress::SPtr progress, const WColor &color, size_t numFibers, size_t numVertsPerFiber, const WPosition &origin, const WPosition &size, WDataSetFibers::VertexArray vertices, WDataSetFibers::IndexArray fibIdx, WDataSetFibers::LengthArray lengths, WDataSetFibers::IndexArray fibIdxVertexMap, WDataSetFibers::ColorArray colors)=0
Create the dataset.
std::shared_ptr< std::vector< size_t > > IndexArray
Index list indexing fibers in VertexArray in terms of vertex numbers.
std::shared_ptr< std::vector< float > > ColorArray
Colors for each vertex in VertexArray.
std::shared_ptr< std::vector< size_t > > LengthArray
Lengths of fibers in terms of vertices.
std::shared_ptr< std::vector< float > > VertexArray
List of vertex coordinates in term of components of vertices.
This only is a 3d double vector.
std::shared_ptr< WProgress > SPtr
Shared pointer on a WProgress.