Defines a set of 3D vectors.
More...
#include <MeshVizXLM/mesh/data/MbVec3SetI.h>
Public Member Functions | |
MbVec3SetI () | |
template<typename _Vec3Iter > | |
MbVec3SetI (_Vec3Iter begin, _Vec3Iter end) | |
template<typename _Vec3Iter > | |
MbVec3SetI (_Vec3Iter begin, _Vec3Iter end, const std::string &name, DataBinding binding=PER_NODE) | |
MbVec3SetI (const MeXVec3dSetI &vec3set) | |
template<typename _Vec3Iter > | |
void | assign (_Vec3Iter begin, _Vec3Iter end) |
virtual MbVec3d | get (size_t i) const |
virtual size_t | getSize () const |
virtual MbVec3d | getMin () const |
virtual MbVec3d | getMax () const |
MbVec3SetI< _Vec3T >::MbVec3SetI | ( | ) | [inline] |
Constructor for an empty default dataset.
This dataset has a default name depending on the number of instances created. Its binding is set to PER_NODE by default.
MbVec3SetI< _Vec3T >::MbVec3SetI | ( | _Vec3Iter | begin, | |
_Vec3Iter | end | |||
) | [inline] |
Defines a new dataset by copying the given data from the interval [begin,end[.
This dataset has a default name depending on the number of instances created. Its binding is set to PER_NODE by default.
begin | start iterator. | |
end | end iterator. |
MbVec3SetI< _Vec3T >::MbVec3SetI | ( | _Vec3Iter | begin, | |
_Vec3Iter | end, | |||
const std::string & | name, | |||
DataBinding | binding = PER_NODE | |||
) | [inline] |
Defines a new dataset by copying the given data from the interval [begin,end[.
Its binding is set to PER_NODE by default.
begin | start iterator. | |
end | end iterator. | |
name | the name of this dataset. | |
binding | the binding of this dataset. |
MbVec3SetI< _Vec3T >::MbVec3SetI | ( | const MeXVec3dSetI & | vec3set | ) | [inline] |
Defines a new dataset by copying the data from the given dataset.
vec3set | given dataset. |
void MbVec3SetI< _Vec3T >::assign | ( | _Vec3Iter | begin, | |
_Vec3Iter | end | |||
) | [inline] |
Change the content of this dataset.
Clears the current content and copy the data from the interval [begin,end[. The timestamp of this dataset is incremented.
begin | start iterator. | |
end | end iterator. |
MbVec3d MbVec3SetI< _Vec3T >::get | ( | size_t | i | ) | const [inline, virtual] |
Returns the i-th value of this set.
Implements MiDataSetI< MbVec3d >.
MbVec3d MbVec3SetI< _Vec3T >::getMax | ( | ) | const [inline, virtual] |
Returns the max of this set.
Reimplemented from MiBoundedDataSet< MbVec3d >.
MbVec3d MbVec3SetI< _Vec3T >::getMin | ( | ) | const [inline, virtual] |
Returns the min of this set.
Reimplemented from MiBoundedDataSet< MbVec3d >.
size_t MbVec3SetI< _Vec3T >::getSize | ( | void | ) | const [inline, virtual] |
Returns the number of values in this set.