ERC CISST - cisst software

Vectors


Detailed Description

Vectors and matrices, including all the tools for simple 3D computations. The main features of cisstVector are:

Note:
All the classes and global functions of cisstVector start with the prefix vct. To use cisstVector, you can either include a specific file with:
  #include <cisstVector/vctXyz.h>
or include all the files with:
  #include <cisstVector.h>

Files

Classes

Functions


Function Documentation

CISST_EXPORT void vctRandom ( vctAngleRotation2 angleRotation  ) 

Define the global function vctRandom to initialize different types of transformation with a random value.

Note:
The function uses the global instance of cmnRandomSequence to extract random values. As we have a vague plan to allow for multiple random sequence objects to coexist, these interfaces may need to be changed.

template<class _containerType>
CISST_EXPORT void vctRandom ( vctMatrixRotation2Base< _containerType > &  matrixRotation  ) 

Define the global function vctRandom to initialize different types of transformation with a random value.

Note:
The function uses the global instance of cmnRandomSequence to extract random values. As we have a vague plan to allow for multiple random sequence objects to coexist, these interfaces may need to be changed.

template<class _containerType>
CISST_EXPORT void vctRandom ( vctRodriguezRotation3Base< _containerType > &  rodriguezRotation  ) 

Define the global function vctRandom to initialize different types of transformation with a random value.

Note:
The function uses the global instance of cmnRandomSequence to extract random values. As we have a vague plan to allow for multiple random sequence objects to coexist, these interfaces may need to be changed.

template<class _elementType>
CISST_EXPORT void vctRandom ( vctAxisAngleRotation3< _elementType > &  axisAngleRotation  ) 

Define the global function vctRandom to initialize different types of transformation with a random value.

Note:
The function uses the global instance of cmnRandomSequence to extract random values. As we have a vague plan to allow for multiple random sequence objects to coexist, these interfaces may need to be changed.

template<class _containerType>
CISST_EXPORT void vctRandom ( vctQuaternionRotation3Base< _containerType > &  quaternionRotation  ) 

Define the global function vctRandom to initialize different types of transformation with a random value.

Note:
The function uses the global instance of cmnRandomSequence to extract random values. As we have a vague plan to allow for multiple random sequence objects to coexist, these interfaces may need to be changed.

template<class _containerType>
void vctRandom ( vctMatrixRotation3Base< _containerType > &  matrixRotation  ) 

Define the global function vctRandom to initialize different types of transformation with a random value.

Note:
The function uses the global instance of cmnRandomSequence to extract random values. As we have a vague plan to allow for multiple random sequence objects to coexist, these interfaces may need to be changed.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
void vctRandom ( vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType > &  vector,
const _elementType  min,
const _elementType  max 
)

Define the global function vctRandom to initialize a fixed size vector with random elements. The function takes a range from which to choose random elements.

Note:
The function uses the global instance of cmnRandomSequence to extract random values. As we have a vague plan to allow for multiple random sequence objects to coexist, these interfaces may need to be changed.

Definition at line 50 of file vctRandomFixedSizeVector.h.

References cmnRandomSequence::ExtractRandomValue(), cmnRandomSequence::GetInstance(), and vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::size().

template<vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride, class _elementType, class _dataPtrType>
void vctRandom ( vctFixedSizeMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType > &  matrix,
const _elementType  min,
const _elementType  max 
)

Define the global function vctRandom to initialize a fixed size matrix with random elements. The function takes a range from which to choose random elements.

Note:
The function uses the global instance of cmnRandomSequence to extract random values. As we have a vague plan to allow for multiple random sequence objects to coexist, these interfaces may need to be changed.

Definition at line 52 of file vctRandomFixedSizeMatrix.h.

References cmnRandomSequence::ExtractRandomValue(), and cmnRandomSequence::GetInstance().

template<class _vectorOwnerType, typename _elementType>
void vctRandom ( vctDynamicVectorBase< _vectorOwnerType, _elementType > &  vector,
const typename vctDynamicVectorBase< _vectorOwnerType, _elementType >::value_type  min,
const typename vctDynamicVectorBase< _vectorOwnerType, _elementType >::value_type  max 
)

Define the global function vctRandom to initialize a dynamic vector with random elements. The function takes a range from which to choose random elements.

Note:
The function uses the global instance of cmnRandomSequence to extract random values. As we have a vague plan to allow for multiple random sequence objects to coexist, these interfaces may need to be changed.

Definition at line 50 of file vctRandomDynamicVector.h.

References cmnRandomSequence::ExtractRandomValue(), cmnRandomSequence::GetInstance(), and vctDynamicConstVectorBase< _vectorOwnerType, _elementType >::size().

template<class _nArrayOwnerType, typename _elementType, vct::size_type _dimension>
void vctRandom ( vctDynamicNArrayBase< _nArrayOwnerType, _elementType, _dimension > &  nArray,
const typename vctDynamicNArrayBase< _nArrayOwnerType, _elementType, _dimension >::value_type  min,
const typename vctDynamicNArrayBase< _nArrayOwnerType, _elementType, _dimension >::value_type  max 
)

Define the global function vctRandom to initialize a dynamic nArray with random elements. The function takes a range from which to choose random elements.

Note:
The function uses the global instance of cmnRandomSequence to extract random values. As we have a vague plan to allow for multiple random sequence objects to coexist, these interfaces may need to be changed.

Definition at line 51 of file vctRandomDynamicNArray.h.

References vctDynamicNArrayBase< _nArrayOwnerType, _elementType, _dimension >::begin(), vctDynamicNArrayBase< _nArrayOwnerType, _elementType, _dimension >::end(), cmnRandomSequence::ExtractRandomValue(), and cmnRandomSequence::GetInstance().

template<class _matrixOwnerType, typename _elementType>
void vctRandom ( vctDynamicMatrixBase< _matrixOwnerType, _elementType > &  matrix,
const typename vctDynamicMatrixBase< _matrixOwnerType, _elementType >::value_type  min,
const typename vctDynamicMatrixBase< _matrixOwnerType, _elementType >::value_type  max 
)

Define the global function vctRandom to initialize a dynamic matrix with random elements. The function takes a range from which to choose random elements.

Note:
The function uses the global instance of cmnRandomSequence to extract random values. As we have a vague plan to allow for multiple random sequence objects to coexist, these interfaces may need to be changed.

Definition at line 50 of file vctRandomDynamicMatrix.h.

References vctDynamicConstMatrixBase< _matrixOwnerType, _elementType >::cols(), vctDynamicMatrixBase< _matrixOwnerType, _elementType >::Element(), cmnRandomSequence::ExtractRandomValue(), cmnRandomSequence::GetInstance(), and vctDynamicConstMatrixBase< _matrixOwnerType, _elementType >::rows().


erc-cisst-devel<at>lists.johnshopkins.edu