View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
vistle::ParameterVector< S > Class Template Reference

#include <core/paramvector.h>

Public Types

typedef S Scalar
 
typedef Scalar value_type
 
typedef size_t size_type
 
typedef size_t index_type
 
typedef ssize_t difference_type
 
typedef std::vector< S >::iterator iterator
 
typedef std::vector< S >::const_iterator const_iterator
 

Public Member Functions

 ParameterVector (const int dim, const S values[])
 
template<int Dim>
 ParameterVector (const ScalarVector< Dim > &v)
 
 ParameterVector (const S x, const S y, const S z, const S w)
 
 ParameterVector (const S x, const S y, const S z)
 
 ParameterVector (const S x, const S y)
 
 ParameterVector (const S x)
 
 ParameterVector ()
 
 ParameterVector (const ParameterVector &other)
 
ParameterVectoroperator= (const ParameterVector &rhs)
 
S * data ()
 
const S * data () const
 
S & operator[] (int i)
 
const S & operator[] (int i) const
 
 operator S* ()
 
 operator const S * () const
 
 operator S& ()
 
 operator S () const
 
 operator Vector1 () const
 
 operator Vector2 () const
 
 operator Vector3 () const
 
 operator Vector4 () const
 
std::string str () const
 
bool empty () const
 
void clear () const
 
size_t size () const
 
void erase (iterator s)
 
void erase (iterator s, iterator e)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
void insert (iterator pos, const S &value)
 
template<class InputIt >
void insert (iterator pos, InputIt first, InputIt last)
 
 ParameterVector (iterator begin, iterator end)
 
void push_back (const S &value)
 
Scalarback ()
 
const Scalarback () const
 
void pop_back ()
 
void reserve (size_t dim)
 
void shrink_to_fit ()
 
template<typename S >
 ParameterVector (typename ParameterVector< S >::iterator from, typename ParameterVector< S >::iterator to)
 

Static Public Member Functions

static ParameterVector min (int dim=MaxDimension)
 
static ParameterVector max (int dim=MaxDimension)
 

Public Attributes

int dim
 
std::vector< S > v
 
std::vector< S > m_min
 
std::vector< S > m_max
 
S & x
 
S & y
 
S & z
 
S & w
 

Static Public Attributes

static const int MaxDimension = vistle::MaxDimension
 

Member Typedef Documentation

◆ const_iterator

template<typename S >
typedef std::vector<S>::const_iterator vistle::ParameterVector< S >::const_iterator

◆ difference_type

template<typename S >
typedef ssize_t vistle::ParameterVector< S >::difference_type

◆ index_type

template<typename S >
typedef size_t vistle::ParameterVector< S >::index_type

◆ iterator

template<typename S >
typedef std::vector<S>::iterator vistle::ParameterVector< S >::iterator

◆ Scalar

template<typename S >
typedef S vistle::ParameterVector< S >::Scalar

◆ size_type

template<typename S >
typedef size_t vistle::ParameterVector< S >::size_type

◆ value_type

template<typename S >
typedef Scalar vistle::ParameterVector< S >::value_type

Constructor & Destructor Documentation

◆ ParameterVector() [1/10]

template<typename S >
vistle::ParameterVector< S >::ParameterVector ( const int  dim,
const S  values[] 
)

◆ ParameterVector() [2/10]

template<typename S >
template<int Dim>
vistle::ParameterVector< S >::ParameterVector ( const ScalarVector< Dim > &  v)

◆ ParameterVector() [3/10]

template<typename S >
vistle::ParameterVector< S >::ParameterVector ( const S  x,
const S  y,
const S  z,
const S  w 
)

◆ ParameterVector() [4/10]

template<typename S >
vistle::ParameterVector< S >::ParameterVector ( const S  x,
const S  y,
const S  z 
)

◆ ParameterVector() [5/10]

template<typename S >
vistle::ParameterVector< S >::ParameterVector ( const S  x,
const S  y 
)

◆ ParameterVector() [6/10]

template<typename S >
vistle::ParameterVector< S >::ParameterVector ( const S  x)

◆ ParameterVector() [7/10]

template<typename S >
vistle::ParameterVector< S >::ParameterVector

◆ ParameterVector() [8/10]

template<typename S >
vistle::ParameterVector< S >::ParameterVector ( const ParameterVector< S > &  other)

◆ ParameterVector() [9/10]

template<typename S >
vistle::ParameterVector< S >::ParameterVector ( iterator  begin,
iterator  end 
)

◆ ParameterVector() [10/10]

template<typename S >
template<typename S >
vistle::ParameterVector< S >::ParameterVector ( typename ParameterVector< S >::iterator  from,
typename ParameterVector< S >::iterator  to 
)

Member Function Documentation

◆ back() [1/2]

template<typename S >
Scalar & vistle::ParameterVector< S >::back ( )
inline

◆ back() [2/2]

template<typename S >
const Scalar & vistle::ParameterVector< S >::back ( ) const
inline

◆ begin() [1/2]

template<typename S >
iterator vistle::ParameterVector< S >::begin ( )
inline

◆ begin() [2/2]

template<typename S >
const_iterator vistle::ParameterVector< S >::begin ( ) const
inline

◆ clear()

template<typename S >
void vistle::ParameterVector< S >::clear ( ) const
inline

◆ data() [1/2]

template<typename S >
S * vistle::ParameterVector< S >::data ( )
inline

◆ data() [2/2]

template<typename S >
const S * vistle::ParameterVector< S >::data ( ) const
inline

◆ empty()

template<typename S >
bool vistle::ParameterVector< S >::empty ( ) const
inline

◆ end() [1/2]

template<typename S >
iterator vistle::ParameterVector< S >::end ( )
inline

◆ end() [2/2]

template<typename S >
const_iterator vistle::ParameterVector< S >::end ( ) const
inline

◆ erase() [1/2]

template<typename S >
void vistle::ParameterVector< S >::erase ( iterator  s)
inline

◆ erase() [2/2]

template<typename S >
void vistle::ParameterVector< S >::erase ( iterator  s,
iterator  e 
)
inline

◆ insert() [1/2]

template<typename S >
void vistle::ParameterVector< S >::insert ( iterator  pos,
const S &  value 
)
inline

◆ insert() [2/2]

template<typename S >
template<class InputIt >
void vistle::ParameterVector< S >::insert ( iterator  pos,
InputIt  first,
InputIt  last 
)
inline

◆ max()

template<typename S >
ParameterVector< S > vistle::ParameterVector< S >::max ( int  dim = MaxDimension)
static

◆ min()

template<typename S >
ParameterVector< S > vistle::ParameterVector< S >::min ( int  dim = MaxDimension)
static

◆ operator const S *()

template<typename S >
vistle::ParameterVector< S >::operator const S * ( ) const
inline

◆ operator S()

template<typename S >
vistle::ParameterVector< S >::operator S ( ) const
inline

◆ operator S&()

template<typename S >
vistle::ParameterVector< S >::operator S& ( )
inline

◆ operator S*()

template<typename S >
vistle::ParameterVector< S >::operator S* ( )
inline

◆ operator Vector1()

template<typename S >
vistle::ParameterVector< S >::operator Vector1 ( ) const
inline

◆ operator Vector2()

template<typename S >
vistle::ParameterVector< S >::operator Vector2 ( ) const
inline

◆ operator Vector3()

template<typename S >
vistle::ParameterVector< S >::operator Vector3 ( ) const
inline

◆ operator Vector4()

template<typename S >
vistle::ParameterVector< S >::operator Vector4 ( ) const
inline

◆ operator=()

template<typename S >
ParameterVector< S > & vistle::ParameterVector< S >::operator= ( const ParameterVector< S > &  rhs)

◆ operator[]() [1/2]

template<typename S >
S & vistle::ParameterVector< S >::operator[] ( int  i)
inline

◆ operator[]() [2/2]

template<typename S >
const S & vistle::ParameterVector< S >::operator[] ( int  i) const
inline

◆ pop_back()

template<typename S >
void vistle::ParameterVector< S >::pop_back ( )
inline

◆ push_back()

template<typename S >
void vistle::ParameterVector< S >::push_back ( const S &  value)
inline

◆ reserve()

template<typename S >
void vistle::ParameterVector< S >::reserve ( size_t  dim)
inline

◆ shrink_to_fit()

template<typename S >
void vistle::ParameterVector< S >::shrink_to_fit ( )
inline

◆ size()

template<typename S >
size_t vistle::ParameterVector< S >::size ( ) const
inline

◆ str()

template<typename S >
std::string vistle::ParameterVector< S >::str

Member Data Documentation

◆ dim

template<typename S >
int vistle::ParameterVector< S >::dim

◆ m_max

template<typename S >
std::vector<S> vistle::ParameterVector< S >::m_max

◆ m_min

template<typename S >
std::vector<S> vistle::ParameterVector< S >::m_min

◆ MaxDimension

template<typename S >
const int vistle::ParameterVector< S >::MaxDimension = vistle::MaxDimension
static

◆ v

template<typename S >
std::vector<S> vistle::ParameterVector< S >::v

◆ w

template<typename S >
S & vistle::ParameterVector< S >::w

◆ x

template<typename S >
S& vistle::ParameterVector< S >::x

◆ y

template<typename S >
S & vistle::ParameterVector< S >::y

◆ z

template<typename S >
S & vistle::ParameterVector< S >::z

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