25 #ifndef WDATACREATORFIBERPARALLEL_H
26 #define WDATACREATORFIBERPARALLEL_H
28 #include "WDataSetFibersCreatorInterface.h"
29 #include "core/common/WObjectNDIP.h"
40 typedef std::shared_ptr< WDataCreatorFiberParallel >
SPtr;
45 typedef std::shared_ptr< const WDataCreatorFiberParallel >
ConstSPtr;
77 size_t numVertsPerFiber,
WPropPosition m_direction
The direction of the parallel lines.
std::shared_ptr< const WDataCreatorFiberParallel > ConstSPtr
Abbreviate const shared_ptr.
std::shared_ptr< WDataCreatorFiberParallel > SPtr
Abbreviate shared_ptr.
WDataCreatorFiberParallel()
Default constructor.
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.
virtual ~WDataCreatorFiberParallel()
Destructor.
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.