OpenWalnut
1.5.0dev
|
Create a fiber spiral. More...
#include <WDataCreatorPointsRandom.h>
Public Types | |
typedef std::shared_ptr< WDataCreatorPointsRandom > | SPtr |
Abbreviate shared_ptr. More... | |
typedef std::shared_ptr< const WDataCreatorPointsRandom > | ConstSPtr |
Abbreviate const shared_ptr. More... | |
Public Types inherited from WObjectNDIP< WDataSetPointsCreatorInterface > | |
typedef std::shared_ptr< WObjectNDIP > | SPtr |
Shared ptr to an instance. More... | |
typedef std::shared_ptr< const WObjectNDIP > | ConstSPtr |
Shared ptr to a const instance. More... | |
Public Member Functions | |
WDataCreatorPointsRandom () | |
Default constructor. More... | |
virtual | ~WDataCreatorPointsRandom () |
Destructor. More... | |
virtual void | operator() (int seed, WProgress::SPtr progress, const WColor &color, size_t numPoints, const WPosition &origin, const WPosition &size, WDataSetPoints::VertexArray vertices, WDataSetPoints::ColorArray colors) |
Create the dataset. More... | |
Public Member Functions inherited from WObjectNDIP< WDataSetPointsCreatorInterface > | |
virtual | ~WObjectNDIP () |
Destructor. More... | |
virtual std::string | getName () const |
The name of the object. More... | |
virtual std::string | getDescription () const |
The description of this object. More... | |
virtual const char ** | getIcon () const |
The icon of this object. More... | |
virtual WProperties::SPtr | getProperties () |
Return the property group of this object. More... | |
Public Member Functions inherited from WDataSetPointsCreatorInterface | |
virtual | ~WDataSetPointsCreatorInterface () |
Destructor. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from WObjectNDIP< WDataSetPointsCreatorInterface > | |
WObjectNDIP (std::string name, std::string description, const char **icon=NULL) | |
Construct a NDIP'ed object. More... | |
Protected Attributes inherited from WObjectNDIP< WDataSetPointsCreatorInterface > | |
WProperties::SPtr | m_properties |
the properties of the object. More... | |
Create a fiber spiral.
Definition at line 34 of file WDataCreatorPointsRandom.h.
typedef std::shared_ptr< const WDataCreatorPointsRandom > WDataCreatorPointsRandom::ConstSPtr |
Abbreviate const shared_ptr.
Definition at line 45 of file WDataCreatorPointsRandom.h.
typedef std::shared_ptr< WDataCreatorPointsRandom > WDataCreatorPointsRandom::SPtr |
Abbreviate shared_ptr.
Definition at line 40 of file WDataCreatorPointsRandom.h.
WDataCreatorPointsRandom::WDataCreatorPointsRandom | ( | ) |
Default constructor.
Definition at line 29 of file WDataCreatorPointsRandom.cpp.
|
virtual |
Destructor.
Definition at line 34 of file WDataCreatorPointsRandom.cpp.
|
virtual |
Create the dataset.
This needs to be implemented by all the creators you write.
seed | the seed for the random values. |
progress | progress indicator |
color | color of all points |
numPoints | number of points |
origin | origin of the bbox |
size | size of the bounding box |
vertices | the vertex array. Fill this. |
colors | the color array. Fill this. |
Implements WDataSetPointsCreatorInterface.
Definition at line 39 of file WDataCreatorPointsRandom.cpp.