cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
nmrIsOrthonormalFixedSizeData< _elementType, _rows > Class Template Reference

Data for nmrIsOrthonormal (Fixed size). More...

#include <nmrIsOrthonormal.h>

Classes

class  Friend
 

Public Types

enum  { SIZE = _rows * _rows }
 
typedef vctFixedSizeVector
< _elementType, SIZE
VectorTypeWorkspace
 

Public Member Functions

 nmrIsOrthonormalFixedSizeData ()
 

Protected Attributes

VectorTypeWorkspace WorkspaceMember
 

Friends

class Friend
 

Detailed Description

template<class _elementType, vct::size_type _rows>
class nmrIsOrthonormalFixedSizeData< _elementType, _rows >

Data for nmrIsOrthonormal (Fixed size).

This class is similar to nmrIsOrthonormalDynamicData except that it is dedicated to fixed size containers. While nmrIsOrthonormalDynamicData is designed to be modified dynamically, nmrIsOrthonormalFixedSizeData is fully defined at compilation time using template parameters. The required parameter is the dimension of the input matrix:

Note
An object of type nmrIsOrthonormalFixedSizeData contains the memory required for the output and the workspace, i.e. its actual size will be equal to the memory required to store the workspace.
There is no dynamic memory allocation (no new) and the memory can not be used by reference. To use memory by reference, one must use nmrIsOrthonormalDynamicData with vctDynamicMatrixRef and vctDynamicVectorRef (these dynamic references can actually be used to overlay a fixed size container).
See Also
nmrIsOrthonormal

Member Typedef Documentation

template<class _elementType, vct::size_type _rows>
typedef vctFixedSizeVector<_elementType, SIZE> nmrIsOrthonormalFixedSizeData< _elementType, _rows >::VectorTypeWorkspace

Type of the workspace vector (size and storage order computed from the data object template parameters).

Member Enumeration Documentation

template<class _elementType, vct::size_type _rows>
anonymous enum
Enumerator
SIZE 

Constructor & Destructor Documentation

template<class _elementType, vct::size_type _rows>
nmrIsOrthonormalFixedSizeData< _elementType, _rows >::nmrIsOrthonormalFixedSizeData ( )
inline

Default constructor. Does nothing since the allocation is performed on the stack.

Friends And Related Function Documentation

template<class _elementType, vct::size_type _rows>
friend class Friend
friend

Member Data Documentation

template<class _elementType, vct::size_type _rows>
VectorTypeWorkspace nmrIsOrthonormalFixedSizeData< _elementType, _rows >::WorkspaceMember
protected

Data member used to store the workspace vector.


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