25 #ifndef WDATASETVECTOR_H
26 #define WDATASETVECTOR_H
28 #include "WDataSetSingle.h"
41 typedef boost::shared_ptr< WDataSetVector >
SPtr;
46 typedef boost::shared_ptr< const WDataSetVector >
ConstSPtr;
55 boost::shared_ptr< WGrid > newGrid );
158 return boost::static_pointer_cast<
WDataSetVector >( shared_from_this() );
161 #endif // WDATASETVECTOR_H
virtual ~WDataSetVector()
Destroys this DataSet instance.
This data set type contains vectors as values.
WVector3d interpolate(const WPosition &pos, bool *success) const
Interpolates the vector field at the given position.
WVector3d getVectorAt(size_t index) const
Get the vector on the given position in value set.
WDataSetVector()
Construct an empty and unusable instance.
This only is a 3d double vector.
boost::shared_ptr< WDataSetVector > isVectorDataSet()
Overwrites the isVectorDataSet check.
virtual bool isTexture() const
Determines whether this dataset can be used as a texture.
A data set consisting of a set of values based on a grid.
WVector3d eigenVectorInterpolate(const WPosition &pos, bool *success) const
Interpolates the very same way as interpolate but it assures that all vecs are aligned to point into ...
static boost::shared_ptr< WPrototyped > getPrototype()
Returns a prototype instantiated with the true type of the deriving class.
boost::shared_ptr< const WDataSetVector > ConstSPtr
const shared_ptr abbreviation
boost::shared_ptr< WDataSetSingle > SPtr
Convenience typedef for a boost::shared_ptr.
boost::shared_ptr< WDataSetVector > SPtr
shared_ptr abbreviation
static boost::shared_ptr< WPrototyped > m_prototype
The prototype as singleton.
virtual WDataSetSingle::SPtr clone() const
Creates a copy (clone) of this instance.