MbVec3SetI< _Vec3T > Class Template Reference
[Data]

MeshViz Defines a set of 3D vectors. More...

#include <MeshVizXLM/mesh/data/MbVec3SetI.h>

Inheritance diagram for MbVec3SetI< _Vec3T >:
MiDataSetI< MbVec3d > MbDataSet< MbVec3d > MiTypedDataSet< _T > MbTypedDataSet< MbVec3d > MiDataSet MiTypedDataSet< MbVec3d > MiDataSet

List of all members.

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

Detailed Description

template<typename _Vec3T = MbVec3d>
class MbVec3SetI< _Vec3T >

MeshViz Defines a set of 3D vectors.

See related examples:

Turbine, Turbine


Constructor & Destructor Documentation

template<typename _Vec3T >
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.

template<typename _Vec3T >
template<typename _Vec3Iter >
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.

Parameters:
begin start iterator.
end end iterator.
template<typename _Vec3T >
template<typename _Vec3Iter >
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.

Parameters:
begin start iterator.
end end iterator.
name the name of this dataset.
binding the binding of this dataset.
template<typename _Vec3T >
MbVec3SetI< _Vec3T >::MbVec3SetI ( const MeXVec3dSetI vec3set  )  [inline]

Defines a new dataset by copying the data from the given dataset.

Parameters:
vec3set dataset to copy data from

Member Function Documentation

template<typename _Vec3T >
template<typename _Vec3Iter >
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.

Parameters:
begin start iterator.
end end iterator.
template<typename _Vec3T >
MbVec3d MbVec3SetI< _Vec3T >::get ( size_t  i  )  const [inline, virtual]

Returns the i-th value of this set.

Implements MiDataSetI< MbVec3d >.

template<typename _Vec3T >
MbVec3d MbVec3SetI< _Vec3T >::getMax (  )  const [inline, virtual]

Returns the max of this set.

Reimplemented from MbDataSet< MbVec3d >.

template<typename _Vec3T >
MbVec3d MbVec3SetI< _Vec3T >::getMin (  )  const [inline, virtual]

Returns the min of this set.

Reimplemented from MbDataSet< MbVec3d >.

template<typename _Vec3T >
size_t MbVec3SetI< _Vec3T >::getSize ( void   )  const [inline, virtual]

Returns the number of values in this set.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 28 Oct 2019
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/