25 #ifndef WDATACREATORFIBERSPIRAL_H
26 #define WDATACREATORFIBERSPIRAL_H
31 #include "WDataSetFibersCreatorInterface.h"
32 #include "core/common/WObjectNDIP.h"
43 typedef std::shared_ptr< WDataCreatorFiberSpiral >
SPtr;
48 typedef std::shared_ptr< const WDataCreatorFiberSpiral >
ConstSPtr;
80 size_t numVertsPerFiber,
WPropDouble m_tubeRadius
The radius of a tube (consisting of multiple fibers.
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.
std::shared_ptr< const WDataCreatorFiberSpiral > ConstSPtr
Abbreviate const shared_ptr.
WDataCreatorFiberSpiral()
Default constructor.
std::shared_ptr< WDataCreatorFiberSpiral > SPtr
Abbreviate shared_ptr.
virtual ~WDataCreatorFiberSpiral()
Destructor.
WPropInt m_numRotations
Number of rotations to do.
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.