25 #ifndef WDATACREATORFIBERSTAR_H
26 #define WDATACREATORFIBERSTAR_H
28 #include "WDataSetFibersCreatorInterface.h"
29 #include "core/common/WObjectNDIP.h"
40 typedef std::shared_ptr< WDataCreatorFiberStar >
SPtr;
45 typedef std::shared_ptr< const WDataCreatorFiberStar >
ConstSPtr;
77 size_t numVertsPerFiber,
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)
Create the dataset.
WDataCreatorFiberStar()
Default constructor.
std::shared_ptr< const WDataCreatorFiberStar > ConstSPtr
Abbreviate const shared_ptr.
virtual ~WDataCreatorFiberStar()
Destructor.
std::shared_ptr< WDataCreatorFiberStar > SPtr
Abbreviate shared_ptr.
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 is a base class for everything which has a Name,Description,Icon and Properties (=NDIP).
This only is a 3d double vector.
std::shared_ptr< WProgress > SPtr
Shared pointer on a WProgress.