25 #ifndef WDATASETVECTOR_H
26 #define WDATASETVECTOR_H
30 #include "WDataSetSingle.h"
43 typedef std::shared_ptr< WDataSetVector >
SPtr;
48 typedef std::shared_ptr< const WDataSetVector >
ConstSPtr;
57 std::shared_ptr< WGrid > newGrid );
78 virtual WDataSetSingle::SPtr clone( std::shared_ptr< WValueSetBase > newValueSet, std::shared_ptr< WGrid > newGrid )
const;
171 return std::static_pointer_cast< WDataSetVector >( shared_from_this() );
A data set consisting of a set of values based on a grid.
std::shared_ptr< WDataSetSingle > SPtr
Convenience typedef for a std::shared_ptr.
This data set type contains vectors as values.
std::shared_ptr< const WDataSetVector > ConstSPtr
const shared_ptr abbreviation
static std::shared_ptr< WPrototyped > m_prototype
The prototype as singleton.
virtual bool isTexture() const
Determines whether this dataset can be used as a texture.
virtual WDataSetSingle::SPtr clone() const
Creates a copy (clone) of this instance.
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 std::shared_ptr< WPrototyped > getPrototype()
Returns a prototype instantiated with the true type of the deriving class.
virtual ~WDataSetVector()
Destroys this DataSet instance.
WDataSetVector()
Construct an empty and unusable instance.
WVector3d getVectorAt(size_t index) const
Get the vector on the given position in value set.
std::shared_ptr< WDataSetVector > isVectorDataSet()
Overwrites the isVectorDataSet check.
WVector3d interpolate(const WPosition &pos, bool *success) const
Interpolates the vector field at the given position.
std::shared_ptr< WDataSetVector > SPtr
shared_ptr abbreviation
This only is a 3d double vector.