MbScalarSetI< _T > Class Template Reference
[Data]

MeshViz Defines a set of scalars. More...

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

Inheritance diagram for MbScalarSetI< _T >:
MiDataSetI< double > MbDataSet MiBoundedDataSet< double > MiDataSet MiDataSet

List of all members.

Public Member Functions

 MbScalarSetI ()
template<typename _TIter >
 MbScalarSetI (_TIter begin, _TIter end)
template<typename _TIter >
 MbScalarSetI (_TIter begin, _TIter end, const std::string &name, DataBinding binding=PER_NODE)
 MbScalarSetI (const MiScalardSetI &scalarset, size_t numData)
 MbScalarSetI (const MeXScalardSetI &scalarset)
template<typename _TIter >
void assign (_TIter begin, _TIter end)
virtual double get (size_t i) const
virtual size_t getSize () const
virtual double getMin () const
virtual double getMax () const

Detailed Description

template<typename _T = double>
class MbScalarSetI< _T >

MeshViz Defines a set of scalars.

See related examples:

Turbine


Constructor & Destructor Documentation

template<typename _T >
MbScalarSetI< _T >::MbScalarSetI (  )  [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 _T >
template<typename _TIter >
MbScalarSetI< _T >::MbScalarSetI ( _TIter  begin,
_TIter  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 _T >
template<typename _TIter >
MbScalarSetI< _T >::MbScalarSetI ( _TIter  begin,
_TIter  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 _T >
MbScalarSetI< _T >::MbScalarSetI ( const MiScalardSetI scalarset,
size_t  numData 
) [inline]

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

Parameters:
scalarset scalar set to copy from.
numData number of data to copy.
template<typename _T >
MbScalarSetI< _T >::MbScalarSetI ( const MeXScalardSetI scalarset  )  [inline]

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

Parameters:
scalarset scalar set to copy from.

Member Function Documentation

template<typename _T >
template<typename _TIter >
void MbScalarSetI< _T >::assign ( _TIter  begin,
_TIter  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 _T >
double MbScalarSetI< _T >::get ( size_t  i  )  const [inline, virtual]

Returns the i-th value of this set.

Implements MiDataSetI< double >.

template<typename _T >
double MbScalarSetI< _T >::getMax (  )  const [inline, virtual]

Returns the max of this set.

Reimplemented from MiBoundedDataSet< double >.

template<typename _T >
double MbScalarSetI< _T >::getMin (  )  const [inline, virtual]

Returns the min of this set.

Reimplemented from MiBoundedDataSet< double >.

template<typename _T >
size_t MbScalarSetI< _T >::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 by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/