Commit b11028c6 by Mathias Goldau

[DOC]

parent 4068e8d7
......@@ -78,6 +78,11 @@ public:
// TODO(schurade): pure virtual? Are WDataSet instances useful?
virtual bool isTexture() const;
/**
* Checks if this dataset is a vector dataset.
*
* \return Returns a nonempty shared_ptr to it if it is a vector dataset, otherwise the pointer is empty!
*/
virtual boost::shared_ptr< WDataSetVector > isVectorDataSet();
/**
......
......@@ -81,6 +81,11 @@ public:
*/
wmath::WVector3D getVectorAt( size_t index ) const;
/**
* Overwrites the isVectorDataSet check.
*
* \return Non empty reference to the dataset if it is a vector dataset, empty if not.
*/
boost::shared_ptr< WDataSetVector > isVectorDataSet();
protected:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment