Commit b11028c6 authored by Mathias Goldau's avatar Mathias Goldau
Browse files

[DOC]

parent 4068e8d7
...@@ -78,6 +78,11 @@ public: ...@@ -78,6 +78,11 @@ public:
// TODO(schurade): pure virtual? Are WDataSet instances useful? // TODO(schurade): pure virtual? Are WDataSet instances useful?
virtual bool isTexture() const; 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(); virtual boost::shared_ptr< WDataSetVector > isVectorDataSet();
/** /**
......
...@@ -81,6 +81,11 @@ public: ...@@ -81,6 +81,11 @@ public:
*/ */
wmath::WVector3D getVectorAt( size_t index ) const; 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(); boost::shared_ptr< WDataSetVector > isVectorDataSet();
protected: 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